Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have 3 urls leading to same page

// as most pages are in google, my previous website's version

http://mysite.com/1234.aspx

// shortcut

http://mysite.com/1234

// SEO url

http://mysite.com/1234/state/city/company-name

Should i put a permanent redirect in the first two urls so google considers it one page and not as 3 different pages?

Any tips welcome.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

If you want to be extra certain they treat them all as one page, use canonical URLs. Just put this at the top of the page:

<link rel="canonical" href="http://mysite.com/1234/state/city/company-name">
share|improve this answer
    
In combination with the redirect? And also, which url to i send to google? (the name of the company could change, changing the url, but the one with just the id wouldnt). –  Jeroen Jul 13 '11 at 16:35
1  
If you're doing redirects you shouldn't need to use canonical URLs. But it doesn't hurt to do it as you never know when a redirect might fail or be ignored. If the odds of the company name changing are small use that one as it has good keywords it in. Then if it does change then just do a 301 redirect to the new URL and update the canonical URL. If they will change frequently then using the URL with just the ID might be the best way to go as it would simplify things tremendously. –  John Conde Jul 13 '11 at 16:41
1  
The preferred method is server side redirect. Rel canonical is rather a hint what we might take in consideration, but it's not a guarantee. A 301 is clear signal. –  methode Jul 13 '11 at 19:40

Yes! That should be enough to make sure search engines treat it as one page.

share|improve this answer
    
Actually I have implemented 301 redirects and definetly this was enough. Google has changed the old links to the new ones –  Carlos Muñoz Jul 14 '11 at 2:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.