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

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?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

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.

share|improve this answer
add comment

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.