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
-
Swapping Homepages in WordPress
Hi, Th situation is: I've cloned my homepage & added new content to the cloned page I've then updated the WordPress settings to make the cloned page the new homepage Will I lose PA as the new cloned page is in effect a new article?
Technical SEO | | jasongmcmahon0 -
How Shold I Structure URLs for a Portfolio?
Hi Moz Community, My web design agency has a lot of different projects we showcase in the portfolio of our site, but I'm having trouble finding information on the best practices for how to structure the URLs for all of those portfolio pages. We have tons of projects that we've done in the same service category and even multiple projects we've done for the same company within that category. For example, right now things look like: www.rootdomain.com/portfolio/web-design/clientname which tends to get long, bulky and awkward, considering we do lots of projects in the web design category and might do a second project for the same company. How should we differentiate the projects from a URL standpoint to avoid having all of the pages compete for the same keyword? Does it even matter, given that these portfolio showcases are primarily image-based anyways?
Technical SEO | | formandfunctionagency0 -
Yoast and wordpress duplicate meta
I'm using the Yoast plugin with wordpress and have noticed in my HTML I have duplicate meta data. For example my header starts with
Technical SEO | | simonatkinsphoto
<title>(title) </title<span><<br /><meta </span><span class="html-attribute-name">property</span><span>="</span><span class="html-attribute-value">og:site_name</span><span>" </span><span class="html-attribute-name">content</span><span>=<br /><span><meta </span><span class="html-attribute-name">property</span><span>="</span><span class="html-attribute-value">og:description</span><span>" </span><span class="html-attribute-name">content</span><span>=<br /><br /></span></span>Then I have the 'This site is optimised by Yoast" tagline followed by the same meta -<br /> <span><meta </span><span class="html-attribute-name">name</span><span>="</span><span class="html-attribute-value">description</span><span>" </span><span class="html-attribute-name">content=<br /><span> <meta </span><span class="html-attribute-name">property</span><span>="</span><span class="html-attribute-value">og:title</span><span>" content=<br /><span> <meta </span><span class="html-attribute-name">property</span><span>="</span><span class="html-attribute-value">og:description</span><span>" </span><span class="html-attribute-name">content=<br /><span> <meta </span><span class="html-attribute-name">property</span><span>="</span><span class="html-attribute-value">og:site_name</span><span>" </span><span class="html-attribute-name">content</span><span>=<br /><br /></span></span></span></span>Is this likely to cause problems with Google and is there a way to stop both wordpress and Yoast adding meta to the header. </p></title>0 -
Wordpress: Should your blog posts be noindex?
Wordpress defaults all blog posts to no index/nofollow Is this how it should be handled? I understand the nofollow from the page.com/blog to the page.com/blog/blogtitle But why noindex? We have Yoast installed and this is the default.
Technical SEO | | cschwartzel0 -
Wordpress duplicate pages
I am using Wordpress and getting duplicate content Crawler error for following two pages http://edustars.yourstory.in/tag/edupristine/ http://edustars.yourstory.in/tag/education-startups/ These two are tags which take you to the same page. All the other tags/categories which take you to the same page or have same title are also throwing errors, how do i fix it?
Technical SEO | | bhanu22170 -
Which Wordpress Framework for Best SEO
Which wordpress framework would you use for SEO. From what I have had a look at: Thesis is good but you cannot use other SEO plugins with it such as yoast SEO as it is not compatible Genesis or woo framework are good and a plugin like yoast SEO works well with them. What are your thoughts?
Technical SEO | | VivaArturo1 -
Hyphen in URL
Hi, I would like to know if the following statement holds true today or it doesn't matter whether we use hyphens or underscore If you have a URL like keyword1_keyword2, Google will only return that page if the user searches for keyword1_keyword2 ( highly unlikely ) . But If you have a URL like keyword1-keyword2, that page can be returned for the searches - keyword1,keyword2 and even “keyword1keyword2” Thanks
Technical SEO | | seoug_20050 -
Why google index my IP URL
hi guys, a question please. if site:112.65.247.14 , you can see google index our website IP address, this could duplicate with our darwinmarketing.com content pages. i am not quite sure why google index my IP pages while index domain pages, i understand this could because of backlink, internal link and etc, but i don't see obvious issues there, also i have submit request to google team to remove ip address index, but seems no luck. Please do you have any other suggestion on this? i was trying to do change of address setting in Google Webmaster Tools, but didn't allow as it said "Restricted to root level domains only", any ideas? Thank you! boson
Technical SEO | | DarwinChinaSEO0