2

Let's think we have a website with a URL like http://www.domain.com/webdesign/ that rewrites http://www.domain.com/?article=1.

now when i search my keyword in Google, it will show up http://www.domain.com/?article=1 in search results, while there is no link to that in any page and all menus are linked to http://www.domain.com/webdesign/ and i want that to be index.

Is there anyway to solve this?

1 Answer 1

4

Use canonical URLs or 301 redirects.

Canonical URL:

<link rel="canonical" href="http://www.domain.com/webdesign/" />

That will tell Google to use that URL in its search results.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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