How do you manage Wordpress URL hierarchy with permalinks?
-
I have quite a few website in Wordpress but I continuously run into the same issue.
With permalinks it is not recommended to use /%category%/%post_name%/ because it puts an undue load on your bandwidth, server and makes the crawler crawl a ton of duplicate content pages. On one site changing to that hierarchy even crashed some of the pages (probably a permissions error).
I would like a correct information hierarchy, but this doesn't seem like correct play.
What do you use as your URL hierarchy?
Do you have any plugins or fixes for this issue?Thanks
-
That certainly works from a functional perspective.
Based on the original question and the avoidance of any numbers in the current URL, it seems that would be quite undesirable.
Many people want to avoid all numbers in URLs as it looks quite ugly. Including the post id allows a balance between minimizing numerical use, and functionality.
-
- another advantage of this structure is the flexibility to change post titles without breaking links.
Well, I think that changing your title would break links and leads to another indexation. /12345.oldtitle/ is a different URL then /12345.newtitle/ or isn't it?
-
I would use the following
/%year%-%monthnum%-%day%-%postname%-%post_id/
/2010-08-04-titleofthepost-276762Reasons:
Date for visitors, usually visitors need a clue whether your content is recent or not.
Postname for obvious reason
and ID for internal tracking and analysisFurthermore using this structure makes it easy to analyse a site later in excel by text to column functions etc.
Plugins: I reccomend All in one SEO pack
-
I am in the process of setting up my first wordpress site now. I have given a lot of thought to the URL structure. I decided upon the following structure:
/%post_id%.%postname%/
My reasoning is as follows:
-
including the post id offers the advantage of proper scaling as the site grows. As you mentioned, there are issues when not using a unique numeric identifier, especially when performing searches. These issues will impact your entire site with slow performance.
-
another advantage of this structure is the flexibility to change post titles without breaking links. Consider the case where you create an article called "Google social service goes live" then later determine your article will do better in search engines with a title of "Google Facebook service goes live". If you change the title with your current structure you will break links and have to 301 the pages. If you include the post id in the URL, you can pull articles solely off the post id and all old links would work without the use of 301s.
-
I was debating whether to use categories or not. Categories do provide clear structures, but categories can change over time and many articles could be included in multiple categories. What led me to my final decision of not including categories is wikipedia's model. Wikipedia's flat structure works on a very large scale without categories.
You are welcome to consider any or all of the above reasoning. I hope it helps your decision-making process.
-
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
URL gets cut off in Google
Hi everybody, I got a question concerning my website URLs. It's a large WordPress website and we've got a lot of categorised pages ('parent' / 'child'). Now when I search for a specific page I only get to see the 'parent' name in the URL. The page which I am looking for isn't visible. Only a small arrow which shows me 2 options (in cache and compare). The URLs are not too long. Does anybody know why this happens, and how I can solve it? I added a image for reference. (Where /partners/ is the parent page and /partners/aruba/ isn't visible) Thank you very much. LSsT1Ua
Technical SEO | | SecureLink0 -
Wordpress Woocomerce Recommended SEO URL structure
Hi Mozzers ! Thanks for looking. I have a new shop in development (http://www.vintageheirloom.biz), I'm now using WordPress & Woocommerce. I've asked Woocommerce whether it is possible to remove the 'shop' and 'product-category' categories. They say it is, but it isn't recommended, it can slow site speed & create possible duplicate pages. I'm wondering what seasoned SEO experts opinions are on my particular structure? I've heard that a flat structure is recommended, but ecommerce shops as I understand pose their own issues, so any feedback would be appreciated.. Here's some URL examples: http://vintageheirloom.biz/shop/bags/ - this for the category bags http://vintageheirloom.biz/product-category/bags/shoulder-bags/ - this for shoulder bags a child of bags category http://vintageheirloom.biz/shop/2-55-bags/vintage-chanel-caviar-skin-2-55-bag/ - a product The last URL contains the category 2-55 bags. The products name also includes the phrases 2-55 bag. Should this level of repetition be avoided or is it best to keep the whole phrase 'vintage-chanel-caviar-skin-2-55-bag/' for SEO purposes? Thanks for any help you can give me around this issue! Kevin
Technical SEO | | well-its-1-louder0 -
Should the date be included in news URLs
My website is not a news or magazine site, but we do have a news section updated 2-3 times a week with industry related news. We are working on a new structure for the URLs.
Technical SEO | | theLotter
Should the date be included in the URL? From this article from Google I understand that as long as we submit a news sitemap it doesnt matter whether or not numbers are included in the URL, correct? https://support.google.com/news/publisher/answer/68323?topic=116650 -
Affiliate urls and duplicate content
Hi, What is the best way to get around having an affiliate program, and the affiliate links on your site showing as duplicate content?
Technical SEO | | Memoz0 -
Basic URL Structure Question
Hi, Putting together a URL for a product we are selling. We sell IT Training courses and the structure is normally Top Folder=Main Courses section Sub Folder=Vendor Page Specific=Course Name + Term An example is courses/microsoft/mcse-training However I have a product where the vendor and course name are the same. How should I best organise the URL - double mention or single mention So a) courses/togaf/togaf-foundation-training or b) courses/togaf/foundation-training
Technical SEO | | RobertChapman0 -
Exclude Child URLs from XML Sitemap Generator (Wordpress)
Hi all, I was recommended the XML Sitemap Generator for Wordpress by the very helpful Keith Bloemendaal and John Pring - however I can't seem to exclude child URLs. There is a section Exclude items and a subsection Exclude posts. I have tried inputting the URLs for the pages I don't want in the sitemap, however that didn't work. So I read that you have to include a list of "IDs" - not sure where on earth to find that info, tried the page name and the post= number from the URL, however neither worked. I hope somebody can point me in the right direction - and apologies, I am a Wordpress novice, and I got no answers from the Wordpress forums so turned right back to SEOmoz! Cheers.
Technical SEO | | markadoi840 -
Ignore Urls with pattern.
I have 7000 warnings of urls because of a 302 redirect. http://imageshack.us/photo/my-images/215/44060409.png/ I want to get rid of those, is it possible to get rid of the Urls with robots.txt. For example that it does not crawl anything that has /product_compare/ in its url? Thank you
Technical SEO | | levalencia10