What is the best URL structure for categories?
-
A client's site currently uses the URL structure:
www.website.com/�tegory%/%postname%
Which I think is optimised fairly well, as the categories are keywords being targeted. However, as they are using a category hierarchy, often times the URL looks like this:
Best practise often dictates (such as point 3 in this Moz article) that shorter URLs are better for several reasons.
So I'm left with a few options:
- Remove the category from the URL
- Flatten the category hierarchy
- Shorten post titles two a word or two - which would hurt my long tail search term traffic.
- Leave it as it is
What do we think is the best route to take? Thanks in advance!
-
Or
5. Shorten the keywords in the url post ie
title: Some Post titles are quite long as they are long tail terms
url: /parent-category/child-category/post-titles-long/
-
Thanks Tom, yes it's Wordpress - I do manually edit the slug to take out stop words and irrelevant words but sometimes its just not enough.
If I use digital marketing as an example, I may end up having:
How long is too long? No idea!
I'll just Snapchat Rand and ask him...
p.s. (Sorry if contentwhiz is you!)
-
Hi there,
I'm assuming you're using Wordpress? I think having the categories in the URL is a must if you're trying to rank and the category is one of your keywords for your website.
Personally, if I was having trouble with long URL's for the longer post titles (e.g. How to gain 1000 genuine followers on twitter, quickly and free == domain.com/social-media-tutorials/twitter/How-to-gain-1000-genuine-followers-on-twitter-quickly-and-free") I would probably remove certain generic words from the URL that Google wouldn't even search for anyway, so that my URL structure would become: domain.com/social-media/twitter/how-to/gain-1000-genuine-followers-twitter-free or words to that effect.
You are able to change the URL of the post (within Wordpress) as you Publish your post (under the post title field).
Hope this is of some help!
Tom
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
-
ECommerce SEO for product categories and sub-categories
Hello everyone, We run a Magento store, and I have a general question about SEO-eCommerce. We recently launched a new site where we've modified the menu navigation for product categories. So let's say in the past we had a main category called 'Jackets' in the top navigation bar, and once you were on the jackets page you had a few subcategories to choose from. On the new site, we reworked the navigation bar in order to get our customers there in fewer clicks. So right away in the top bar, the customer can click 'Casual Jackets', 'Leather Jackets' and 'Winter Jackets'. We no longer have an internal link to the parent category 'Jackets'. Now here's the question:
Intermediate & Advanced SEO | | yacpro13
-Do I 301 redirect 'jackets' to one of the sub-categories of my choosing?
or
-Do I keep the main category 'jackets' even though we don't actually link to it internally? I see pros and cons for both, and I'd like to proceed in the way that will be most beneficial from a rnakings point of view for all jackets categories. Thanks!0 -
Category VS Post
I use my website for providing an international service, I made my URL structure website https://example.com/destinations/africa/country destinations is a category and Africa is a sub-category I made an article for every continent and inserted all the continent's country manually, the page url structure is https://example.com/destinations/africa/ and the continent category URL is https://example.com/category/destinations/africa/ I'm thinking about removing the continent article and strip the category Word from URL, So i will use the subcategories directly on the same link https://example.com/destinations/africa/ what's your advice about removing the continent article and using the sub categories instead? is it a good idea to use the child category as a reference for the internal links? what do you think about keeping both of them (child category and the Article)? in case you suggest to use the child category , Is removing Category word may hurt my SEO?
Intermediate & Advanced SEO | | batot_mahmoud0 -
Advice for structuring hotel website
Hey guys, I am currently setting up a hotel booking website and I'm not so sure how to structure it. I have landing pages for: 1. Cities
Intermediate & Advanced SEO | | baresound
2. Sights
3. States The main keywords are mainly "Hotels in Cityname" or "Hotels near Sightname". What would be the best SEO friendly way of structuring the url? https://hotels-example.com/hotels/cities/cityname
https://hotels-example.com/hotels/sights/sightname
https://hotels-example.com/hotels/states/statename or https://hotels-example.com/hotels/cityname
https://hotels-example.com/hotels/sightname
https://hotels-example.com/hotels/statename or https://hotels-example.com/hotels-in-cityname
https://hotels-example.com/hotels-in-sightname
https://hotels-example.com/hotels-in-statename Or are there better ways of structuring it or am I just overthinking it? I would greatly appreciate any advice and suggestions 🙂 Best, Max0 -
Best Practices
Okay this would be a piece of cake for most of you out there.. What are the best practices once you add a page or piece of content on your website with a new keyword that you have never used before but plan to use it with every relevant new page you add. How do you ensure that Google will crawl that page? Secondly, if you add the new keyword in the old pieces of content/ pages you have already published by editing the content to suit that keyword, how would you ensure that it gets crawled my Google. Thanks in advance
Intermediate & Advanced SEO | | LaythDajani0 -
Hash URLs
Hi Mozzers, Happy Friday! I have a client that has created some really nice pages from their old content and we want to redirect the old ones to the new pages. The way the web developers have built these new pages is to use hashbang url's for example www.website.co.uk/product#newpage My question is can I redirect urls to these kind of pages? Would it be using the .htaccess file to do it? Thanks in advance, Karl
Intermediate & Advanced SEO | | KarlBantleman0 -
Does Google index url with hashtags?
We are setting up some Jquery tabs in a page that will produce the same url with hashtags. For example: index.php#aboutus, index.php#ourguarantee, etc. We don't want that content to be crawled as we'd like to prevent duplicate content. Does Google normally crawl such urls or does it just ignore them? Thanks in advance.
Intermediate & Advanced SEO | | seoppc20120 -
Best links to gain?
Hi, Just a quick one to see what peoples thoughts are regarding links. I have just gained a free link on a .gov website in the UK. In one of their offers pages, will this provide any link value or domain trust to me and what can the benefits be SEO wise from having a link on a government domain? The link is just the website url with a a few lines of text detailing our address etc... so its not got any anchor text regarding targetting one of our brands. It is equallly, less or more important to target anchor text links to specific brands or to get good high quality links from trusted sites such as the .gov one I have linking to my root domain? The website is a local council website in the UK. And was listed by a member of their staff, who only list in the offer page if your offering discount to council members etc..., so its not a spammed page or anything like that. What are peoples views on anchor text links vs domain url links? Cheers Will
Intermediate & Advanced SEO | | YNWA0 -
Best SEO Practices for Top-Level Navigation Structure
OK - First of all, thank you to those of you who view and take the time to answer our question. We are currently in the middle of re-designing our golf packages website, and we're trying to decide the best way to structure our Main Navigation for maximum SEO benefit while keeping user experience in mind. The top key phrases we are currently targeting: 1) Myrtle Beach Golf 2) Myrtle Beach Golf Packages You can find the current navigation structure we have come up with here: http://www.myrtlebeachsitemasters.com/index2.html So our question is this: We have subdivisions of: Golf Packages, Accommodations, Golf Courses Is it in our best interest to: A) Get rid of the subdivisions and consolidate them to one page? or B) Simply "NoFollow" the subdivisions within the Main Navigation? We are concerned about the subdivisons for 2 reasons: Too many internal links in Main Navigation The "first link only" rule with Google affecting our additional internal links on existing pages. THANK YOU again to those of you who take the time to answer this question. We really appreciate any clarification on this issue.
Intermediate & Advanced SEO | | JamesO0