Mobile app version of vmapp.org
Login or Join
Lengel546

: 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

@Lengel546

Posted in: #Google #Indexing #Search #Seo

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

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Lengel546

2 Comments

Sorted by latest first Latest Oldest Best

 

@Welton855

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.

10% popularity Vote Up Vote Down


 

@Lengel546

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme