Change in url structure - added category page
-
I have recently started an e-commerce website and have now changed the url structure and added another level to my category pages.
So where it before was www.website.com/shirts it is now www.website.com/clothes/shirts. So I added the clothes category (just an example) before the shirt category and am now finding that the old url is still found in the search index and is still live on my site. How could this be?
I use wordpress and simply change the urls in the backend. The products are still under www.website.com/product/blue-shirt-123 so they won't be affected but I suppose it now means I have duplicate category pages?
So my question is: Should I 301 the the old category page (www.website.com/shirts)to the new url (www.website.com/clothes/shirts). And how can the old url still be live on my site?
If this was a bit unclear, please let me know.
Appreciate your replies!
-
Hey There
What Barry says is true - you can throw anything in there and it will load, as long as the category is at the end.
But yes, for certain, in your case I would 301 redirect /shirts to /clothes/shirts (and all other categories). Crawl the site with Screaming Frog and keep an eye on 404 errors in Webmaster Tools for anything you might have missed.
I don't think there's any issue in regards to duplicate content.
-Dan
-
Ok, I see that now, thanks. Does this also mean I do not have a duplicate pages (duplicate content) issue then?
-
You can literally put anything in the category part of the URL and it will resolve.
Try www.website.com/fhqwhgads/shirts and it will still resolve, heck throw another directory in there and it will still work www.website.com/fhqwhgads/zomg/shirts
As for why it does that, I'm probably not the best person to explain, but WP effectively just looks for the end of the URL, which is sometimes why naming pages and posts the same can cause problems.
I'm not sure what would happen if you 301'd /shirts to /clothes/shirts as it may just be looking at the last part anyway (could quickly try).
I'd consider adding a canonical tag instead.
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
-
Canonical urls - do my web pages need them?
Hello, I'm going round in circles with this issue, so hopefully someone can help... The Moz crawl of my website lists a number of pages as "missing canonical url". The pages are all different and do not have similar content. Do I need to add a canonical url to each page? My agency quoted the following (x referencing this page: https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls) list itemYou would use Canonical URLs if: list item"...you have a single page that's accessible by multiple URLs, or different pages with similar content (for example, a page with both a mobile and a desktop version), Google sees these as duplicate versions of the same page." list itemThis is not the case here and so we would not propose to change anything. We could add Canonical URLs if the client feels that it is critical which occurs an additional cost. Any help / advice much appreciated. Thanks
Technical SEO | | rj_dale0 -
International URL Structures
Hi everyone! I've read a bunch of articles on the topic, but I can't seem to be able to figure out a solution that works for the specific case. We are creating a site for a service agency, this agency has offices around the world - the site has a global version (in English/French & Spanish) and some country specific versions. Here is where it gets tricky: in some countries, each office has a different version of the site and since we have Canada for example we have a French and an English version of the site. For cost and maintenance reason, we want to have a single domain : www.example.com We want to be able to indicate via Search Console that each subdomain is attached to a different country, but how should we go about it. I've seen some examples with subfolders like this: Global FR : www.example.com/fr-GL Canada FR: www.example.com/fr-ca France: www.example.com/fr-fr Does this work? It seems to make more sense to use : **Subdirectories with gTLDs, **but I'm not sure how that would work to indicate the difference between my French Global version vs. France site. Global FR : www.example.com/fr France : www.example.com/fr/fr Am I going about this the right way, I feel the more I dig into the issue, the less it seems there is a good solution available to indicate to Google which version of my site is geo-targeted to each country. Thanks in advance!
Technical SEO | | sarahcoutu150 -
Google Indexing Pages with Made Up URL
Hi all, Google is indexing a URL on my site that doesn't exist, and never existed in the past. The URL is completely made up. Anyone know why this is happening and more importantly how to get rid of it. Thanks 🙂
Technical SEO | | brian-madden0 -
Site Category structure detrimental to SEO?
Hi Guys, I am hoping that you may be able to help with an internal debate on whether our currently category structuring could be damaging from an SEO point of view. Our site sells t shirts primarily and as such we have a large product base of around 7000+ products. Our category structure currently works like so: Mens/T-Shirts/Movie&TV/TV/ Which I think is fairly typical, though this where it gets interesting, within this end category of "/TV/" there are around 120 categories that are used from a filtration point of view to contain items for each specific show etc, IE Mens/T-Shirts/Movie&TV/TV/Breaking_Bad, Mens/T-Shirts/Movie&TV/TV/Game_of_Thrones. The vast majority of these categories have between 1 and 3 products within them and the rest higher. Multiply this by the large amount of categories that we have on site and these end level "Band Title" categories amount to around 13,000+ categories in the directory. If at this point we put the filtration element aside, what is the communities opinion of the benefits or drawbacks of having the category structure like this? Thanks in advance for any feedback.
Technical SEO | | timsilver0 -
Change E-commerce Plataform... redirect urls... and images?
we are changing the e-commerce store and usually we do the redirection of all pages URLs... We usually don´t redirect css, js and images files .... Shouldn´t we redirect images as well?
Technical SEO | | SeoMartin10 -
Translating Page Titles & Page Descriptions
I am working on a site that will be published in the original English, with localized versions in French, Spanish, Japanese and Chinese. All the versions will use the English information architecture. As part of the process, we will be translating the page the titles and page descriptions. Translation quality will be outstanding. The client is a translation company. Each version will get at least four pairs of eyes including expert translators, editors, QA experts and proofreaders. My question is what special SEO instructions should be issued to translators re: the page titles and page descriptions. (We have to presume the translators know nothing about SEO.) I was thinking of: stick to the character counts for titles and descriptions make sure the title and description work together avoid over repetition of keywords page titles (over-optimization peril) think of the descriptions as marketing copy try to repeat some title phrases in the description (to get the bolding and promote click though) That's the micro stuff. The macro stuff: We haven't done extensive keyword research for the other languages. Most of the clients are in the US. The other language versions are more a demo of translation ability than looking for clients elsewhere. Are we missing something big here?
Technical SEO | | DanielFreedman0 -
URL structure
Hi, I am in the process of having a site created which will focus on the Xbox 360, PS3, Wii and PS3 Vita. I would appreciate some advice when it comes to the URL structure. Each category mentioned above will have the following subsections News
Technical SEO | | WalesDragon
Reviews
Screenshots
Trailers Would the best url structure be? www.domain.com/xbox-360/news/news-story-headline
www.domain.com/ps3/reviews/ps3-game-name Thanks in advance for your help and suggestions.0 -
Page rank 2 for home page, 3 for service pages
Hey guys, I have noticed with one of our new sites, the home page is showing page rank two, whereas 2 of the internal service pages are showing as 3. I have checked with both open site explorer and yahoo back links and there are by far more links to the home page. All quality and relevant directory submissions and blog comments. The site is only 4 months old, I wonder if anyone can shed any light on the fact 2 of the lesser linked pages are showing higher PR? Thanks 🙂
Technical SEO | | Nextman0