What is pretty permalinks? Well for a brief explanation that is not difficult, it is changing the settings in your WordPress URL structure from yoursite.com/?p=2 , title ‘About’ to yoursite.com/about/ ( /%postname%/ ). To use this ‘pretty’ permalink structure and incorporate both pages and posts, you need to remember your hierarchy structure of your site.
For example, if you used (as a generic example) Webmistress, Domain, Contact, Sitemap as your the parent pages, you cannot name a blog post after these as it would interfere. Yes, each post and page is naturally numbered when it is created, but in the pretty permalinks structure, it could interfere with each other. You would be trying to call two pages at once. While I created yoursite.com/?p=2 that was titled ‘About’ and then later on in yoursite.com/?p=48 also blogged in a post with the title ‘About’, the structure would both be yoursite.com/about/
So for short:
Parent Pages MUST be differently titled from your blog posts.
I hope not to boggle anyone, but I am not completely done with this especially if you self host your WordPress blog.
So, now with the scenario of your pages now having the ‘pretty permalinks’, you decided to store images and information into your public html folder (in cPanel, or for Plesk users- your httpdocs folder), and you made a subfolder named ‘about’. The same rules come into play. You cannot make a subfolder OR even a subdomain that is named like your parent pages.
So, as I said, when you are using pretty permalinks, you need to recall the names of your pages hierarchy. Some like this style. I have come to like it for the past year. Some argue that it bloats that database. Others says pretty permalinks are great for search engine optimization. However, I think of it as a personal choice. I kind of like the ability to see the title of my post or page in the URL.
What do you use for your site structure while using WordPress (for those who do use it)? Have you had issues with the pretty permalinks technique? I am including a few articles to help you read more on the issue as I might talk more about pretty permalinks as another topic in the future.
Related/ Recommended Links:
- Efficient permalink strategies for WordPress
- Using Permalinks – WordPress Codex
- Pretty Permalinks and Pagerank by David Bradley
- Pretty Permalinks Can Help You in the Search Engines by Kevin D. Hendricks