: Problem showing my website correctly in search engines I have a website which i have indexed on google for example (like 15 days ago). some of my pages pass arguments like: http://www.bla.com/products.php?pro=bla&page=vie
I have a website which i have indexed on google for example (like 15 days ago).
some of my pages pass arguments like:
www.bla.com/products.php?pro=bla&page=view
suddently i saw that passing arguments like this isn't good for SEO purposes and
started using htaccess rewrite.
and changed the arguments to like this:
www.bla.com/products/bla/*view*/
now my site on google still shows as i showed at link number 1
what should i do?
i thought i should wait for the search engine to crawl my site again but nothing happened.
thanks in advanced,
Din
More posts by @Lengel546
2 Comments
Sorted by latest first Latest Oldest Best
The proper way to handle this is to use a canonical link in your header.
The syntax goes like this:
<link rel="canonical" href="http://www.site.com/path-you-want" />
This lets Google know which URL you prefer using for a page.
This particularly useful to de-dupliacte pages as you may have multiple addresses that show the same content. A classic example are listings where one parameter controls the sort order (ex: &sort=price). That way if links to different sort orders exist they still get counted as multiple links to the same page.
Add a redirect in .htaccess for the URL's the Google has. There is no reason for them to get rid of them because they still go to legit pages but with the redirect next time Google crawls it will see that the URL has changed.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.