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

Possible Duplicate:
What are the best ways to increase your site's position in Google?

Suppose I have a website, e.g. www.example.com that comes at number 6 on the Google search rankings. But the internal pages of the website i.e. www.example.com/index.php?a=1&b=2 or www.example.com/index.php comes at number 2 of the rankings. How would I make my prime domain name www.example.com to come at the top of the list ? Any guidance would be appreciated.

share|improve this question

marked as duplicate by toomanyairmiles, danlefree Jun 8 '12 at 22:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Suppose if I search "John Conde" for example on Google, I need www.johnconde.com to appear first, and not www.johnconde.com/index.php?a=9 , which at the moment is happening. –  Shahab Jun 8 '12 at 16:45

1 Answer 1

up vote 1 down vote accepted

Google decides what to show 1st based on how its algorithm matches the words that user is currently searching. So if pages www.example.com and www.example.com/index.php?a=1&b=2 show different contents (i.e. the 2nd one shows a 'product X') it might be that Google decided the 2nd one best fit a certain search (i.e. user searched exactly for the words 'product X'), thus it shows the 2nd page prior the home page www.example.com of your site. And there is nothing you could do about this.

But by reading the pages' names, I'm afraid the problem you are facing is that both pages www.example.com and www.example.com/index.php show the same contents. In such a case then you have simply screwed up your site/server settings, and Google gets confused. You need to create a 301 redirect on your server to redirect page www.example.com/index.php to www.example.com and you should be fine (give to Goole the time to reprocess the all thing).

Later on in your site you could also totally replace any link towards www.example.com/index.php, with www.example.com.

share|improve this answer

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