Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Two URL's for the same page
-
Hi, on our site we have two separate URL's for a page that has the same content. So, for example - 'www.domain.co.uk/stuff' and 'www.domain.co.uk/things/stuff' both have the same content on the page.
We currently rank high in search for 'www.domain.co.uk/things/stuff' for our targeted keyword, but there are numerous links on the site to www.domain.co.uk/stuff and also potentially inbound links to this page. Ideally we want just the www.domain.co.uk/things/stuff URL to be present on the site, what would be the best course of action to take?
Would a simple Canonical tag from the '/stuff' URL which points to the '/things/stuff' page be wise? If we were to scrap the '/stuff' URL totally and redirect it to the 'things/stuff' URL and change all our on site links, would this be beneficial and not harm our current ranking for '/things/stuff'?
We only want 1 URL for this page for numerous reasons (i.e, easier to track in Analytics), but I'm a bit cautious that changing the page that doesn't rank may have an affect on the page that does rank!
Thanks.
-
Hello Julian,
If you follow my advice above you should be fine.
-
Thank you for the long and detailed answer, theres some great advice there.
Basically both URL's have the right keywords in, it's just the URL was changed a while back so both still remain on the site. The newer URL is the one that ranks high on Google, the old one doesn't appear at all. There is no need for the old one, it serves no purpose that the new one doesn't. So surely getting rid of the old one won't affect the new ones ranking?
I see you put I should have full rankings back within 3-6 weeks, but there would be no reason why the URL that currently ranks high would lose any ranking surely?
Thanks again.
-
I'm going to weigh in here with a slightly different opinion. I wouldn't just go with whichever one ranks best because I think he can do this without long-term damage to rankings and it would be best to go with whichever one he wants from a usability/branding perspective barring any major technological issues/costs.
Though he didn't say why, he did say "Ideally we want just the www.domain.co.uk/things/stuff URL to be present on the site..." and I'm going to assume they have reasons for this.
In that case, I'd follow this course of action:
#1 Apply a rel = "canonical" tag to both pages and reference the /things/stuff URL as canonical. Make this an absolute path (i.e. include http://www.domain.com)
#2 While waiting for search engines to see this tag go ahead and begin updating all internal links to /stuff/* and point them to /things/stuff* instead. You may need to do some mod URL rewrites to change the URLs used within the system. The point here is to change everything you can instead of relying on the redirects as a band-aid for a problem you can mostly fix.
#2.5 Do not change the links in the XML sitemap yet. You want search engines to have a crawl-path to the old URLs for awhile longer so they can find their way back to the page and see the redirect faster than they would by relying on their database of URLs to randomly crawl.
#3 Because there may be external links you do not have the ability to update, apply the 301 redirect from /stuff/* URLs to the counterpart /things/stuff* URLs.
#3.5 Resubmit the old XML sitemap. Google may reject it because of the redirects, but it does usually spark a fresh crawl of the site.
#4 Update the XML sitemap and submit with the new URLs.
#5 Monitor closely. Keep an eye on new 404 errors, as you may have to add additional redirects that fell through the cracks. Crawl the site with Screaming Frog, looking for redirect loops, redirect chains, 301s that could be updated to link directly to the destination, 404 errors, 500 errors, non-canonical URLs... Keep an eye on rankings and traffic from search. If all went well you should have full rankings back within 3-6 weeks. If you do not have it back by 6 weeks you may have a technical issue to deal with that is out of the norm, in my experience. At that point I'd start taking a close look at log files with Splunk.
Note: In this case I would NOT use Google's "URL Removal Tool" as it could possibly cause some of the external links from the URL you're removing to move over via the redirect to the new URL. The 301 and the fact that you are updating all internal links (and external links you have direct control of) to the new URL should get the old one out of the index in due time.
Note: This advice is for moving from one directory to another with the exact same page and structure on the same domain. There are important differences between that and moving to a new domain, or redirecting to content that isn't an exact replica of that on the original URL.
-
Since you have links pointing at them both, I would just redirect the lower ranking one to the higher ranking one. 301
The one that ranks better woud be the one I would keep. Sometimes redirects and url changes can take a while for search engines to find, even if you fetch as Google.
-
Hi,
it wouldn't harm the page no, having said that for site navigation purposes it might be a bit confusing having 301 redirects all over the place instead of the tag. It may help but there is never a guarantee essentially the canonical tag works the same as a 301 for link juice so you can always give that a go first and if nothing happens then 301 it but its up to you.
It comes down the the user would it benefit the user 301 or would it add to page load times or get confusing? If its a permanent site resign go for it though.
it is just telling search engines "this (the page) is the new home/location of the page you're looking for" then they will update their records to reflect it - a bit like when you move house and tell the postman you moved.
Good luck!
-
Thanks for your reply Chris. The thing is I don't need / want the page that isn't ranking in Google anymore, it serves no purpose other than to confuse things when looking at the Analytics! If I were to do a redirect from the page that doesn't rank to the page that does, that wouldn't harm the page that does rank would it?
The page that doesn't rank is linked to from the main navigation, but the page that does rank isn't! Would I be right in thinking a redirect may actually help the page that does rank, even more?
Thanks again.
-
Hi there,
the canonical sounds perfect! Personally I tend to put it on the link closer to the homepage but its preference really logically make the page that's stronger to start with the "original". No need to scrap, the tag will let you keep your layout but give the SEO benefit to just one page.
in short canonical is the perfect match for your needs!
More info - https://support.google.com/webmasters/answer/139066?hl=en
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
-
Duplicate URL's in Sitemap? Is that a problem?
I submitted a sitemap to on Search Console - but noticed that there are duplicate URLs, is that a problem for Google?
On-Page Optimization | | Luciana_BAH0 -
Should I optimize my home-page or a sub-page for my most important keyword
Quick question: When choosing the most important keyword set that I would like to rank for, would I be better off optimizing my homepage, or a sub page for this keyword. My thinking goes as follows: The homepage (IE www.mysite.com) naturally has more backlinks and thus a better Google Page Rank. However, there are certain things I could do to a subpage (IE www.mysite.com/green-widgets-los-angeles ) that I wouldn't want to do to the homepage, which might be more "optimal" overall. Option C, I suppose, would be to optimize both the homepage, and a single sub-page, which is seeming like a pretty good solution, but I have been told that having multiple pages optimized for the same keywords might "confuse" search engines. Would love any insight on this!
On-Page Optimization | | Jacob_A2 -
Hiding body copy with a 'read more' drop down option
Hi I just want to confirm how potentially damaging using java script to hide lots of on page body copy with a 'read more' button is ? As per other moz Q&A threads i was told that best not to use Javascript to do this & instead "if you accomplish this with CSS and collapsible/expandable <DIV> tags it's totally fine" so thats what i advised my clients dev. However i recently noticed a big drop in rankings aprox 1 weeks after dev changing the body copy format (hiding alot of it behind a 'read more' button) so i asked them to confirm how they did implement it and they said: "done in javascript but on page load the text is defaulting to show" (which is contrary to my instructions) So how likely is it that this is causing problems ? since coincides with ranking drop OR if text is defaulting to show it should be ok/not cause probs ? And should i request that they redo as originally instructed (css & collapsible divs) asap ? All Best Dan
On-Page Optimization | | Dan-Lawrence0 -
Noindex child pages (whose content is included on parent pages)?
I'm sorry if there have been questions close to this before... I've using WordPress less like a blogging platform and more like a CMS for years now... For content management purposes we organize a lot of content around Parent/Child page (and custom-post-type) relationships; the Child pages are included as tabbed content on the Parent page. Should I be noindexing these child pages, since their content is already on the site, in full, on their Parent pages (ie. duplicate content)? Or does it not matter, since the crawlers may not go to all of the tabbed content? None of the pages have shown up in Moz's "High Priority Issues" as duplicate content but it still seems like I'm making the Parent pages suffer needlessly... Anything obvious I'm not taking into consideration? By the by, this is my first post here @ Moz, which I'm loving; this site and the forums are such a great resource! Anyways, thanks in advance!
On-Page Optimization | | rsigg0 -
Will "internal 301s" have any effect on page rank or the way in which an SE see's our site interlinking?
We've been forced (for scalability) to completely restructure our website in terms of setting out a hierarchy. For example - the old structure : country / city / city area Where we had about 3500 nicely interlinked pages for relevant things like taxis, hotels, apartments etc in that city : We needed to change the structure to be : country / region / area / city / cityarea So as patr of the change we put in place lots of 301s for the permanent movement of pages to the new structure and then we tried to actually change the physical on-page links too. Unfortunately we have left a good 600 or 700 links that point to the old pages, but are picked up by the 301 redirect on page, so we're slowly going through them to ensure the links go to the new location directly (not via the 301). So my question is (sorry for long waffle) : Whilst it must surely be "best practice" for all on-page links to go directly to the 'right' page, are we harming our own interlinking and even 'page rank' by being tardy in working through them manually? Thanks for any help anyone can give.
On-Page Optimization | | TinkyWinky0 -
Does 'XXX' in Domain get filtered by Google
I have a friend that has xxx in there domain and they are a religious based sex/porn addiction company but they don't show up for the queries that they are optimized against. They have a 12+ year old domain, all good health signs in quality links and press from trusted companies. Google sends them adult traffic, mostly 'trolls' and not the users they are looking for. Has anyone experienced domain word filtering and have a work around or solution? I posted in the Google Webmaster help forums and that community seems a little 'high on their horses' and are trying to hard to be cool. I am not too religious and don't necessarily support the views of the website but just trying to help a friend of a friend with a topic that I have never encountered. here is the url: xxxchurch.com Thanks, Brian
On-Page Optimization | | Add3.com0 -
Does a page's url have any weight in Google rankings?
I'm sure this question must have been asked before but I can't find it. I'm assuming that the title tag is far more important than the page's url. Is that correct? Does the url have any relevance to Google?
On-Page Optimization | | rdreich490 -
Avoiding "Duplicate Page Title" and "Duplicate Page Content" - Best Practices?
We have a website with a searchable database of recipes. You can search the database using an online form with dropdown options for: Course (starter, main, salad, etc)
On-Page Optimization | | smaavie
Cooking Method (fry, bake, boil, steam, etc)
Preparation Time (Under 30 min, 30min to 1 hour, Over 1 hour) Here are some examples of how URLs may look when searching for a recipe: find-a-recipe.php?course=starter
find-a-recipe.php?course=main&preperation-time=30min+to+1+hour
find-a-recipe.php?cooking-method=fry&preperation-time=over+1+hour There is also pagination of search results, so the URL could also have the variable "start", e.g. find-a-recipe.php?course=salad&start=30 There can be any combination of these variables, meaning there are hundreds of possible search results URL variations. This all works well on the site, however it gives multiple "Duplicate Page Title" and "Duplicate Page Content" errors when crawled by SEOmoz. I've seached online and found several possible solutions for this, such as: Setting canonical tag Adding these URL variables to Google Webmasters to tell Google to ignore them Change the Title tag in the head dynamically based on what URL variables are present However I am not sure which of these would be best. As far as I can tell the canonical tag should be used when you have the same page available at two seperate URLs, but this isn't the case here as the search results are always different. Adding these URL variables to Google webmasters won't fix the problem in other search engines, and will presumably continue to get these errors in our SEOmoz crawl reports. Changing the title tag each time can lead to very long title tags, and it doesn't address the problem of duplicate page content. I had hoped there would be a standard solution for problems like this, as I imagine others will have come across this before, but I cannot find the ideal solution. Any help would be much appreciated. Kind Regards5