homepage Welcome to WebmasterWorld Guest from 67.202.56.112
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Index.asp showing for homepage
jkdt0077




msg:4445106
 9:10 am on Apr 25, 2012 (gmt 0)

Sorry if this question has been posted before but I couldn't see an answer using search.

A search for my website name brings back the result domainname.co.uk/index.asp

I don't link to that file name anywhere on the site so I'm not sure how Google got hold of it but my question is what is the best way to tell Google that my homepage should just be: domainname.co.uk/ ?

Do I just add index.asp as an exclude to robots? I don't want to do anything that will have unexpected results!

Thanks

 

deadsea




msg:4445344
 3:19 pm on Apr 25, 2012 (gmt 0)

Easiest way would be to put a canonical tag on your home page: [googlewebmastercentral.blogspot.com...]

I would NOT put index.asp in robots.txt, that will NOT cause google to stop indexing it.

Alternatively you could make index.asp redirect to the proper url of the home page. Takes a bit of server configuration to do it though.

lucy24




msg:4445638
 9:38 pm on Apr 25, 2012 (gmt 0)

Definitely include a redirect, but also fine-tooth-comb your site to make sure no "index.xtn" has sneaked in anywhere. (Been there. Done that. Why the bleep bleep does g### keep asking for onespecificdirectory/index.html? Oh. Because I have a link to it.)

This type of Redirect is two lines in the config file or htaccess:

RewriteCond %{THE_REQUEST} index\.asp
RewriteRule (([^/]+/)*)index\.asp$ http://www.example.com/$1 [R=301,L]

Well, plus one line if you haven't already got the RewriteEngine on ;) The accompanying Condition is to prevent infinite Redirects if mod_dir has already done its stuff with correctly named files. If you are on shared hosting you can't make assumptions about what order the mods will execute in.

enigma1




msg:4446509
 1:09 pm on Apr 27, 2012 (gmt 0)

If your pages have links somewhere to the /index.asp you need to find them and remove them otherwise you're only masking the problem.

jkdt0077




msg:4447571
 4:36 pm on Apr 30, 2012 (gmt 0)

Thanks for the replies. I've done a 301 redirect and added a canonical tag for good measure. I honestly can't find anywhere that links to "index.asp" so I don't know where it got hold of it. Hopefully the redirect will sort it out.

bhartzer




msg:4447584
 5:05 pm on Apr 30, 2012 (gmt 0)

Do you currently have your index.asp file set as the home page of your site (on the server)? If not, and you're using another file, then setting up a 301 redirect from index.asp to your home page (www.domain.cm) should help.

There are, though, links out there pointing to your index.asp URL.

Try searching for that url using quotes in Google to see where it's mentioned. I would also try to analyze the backlinks, using Open Site Explorer or Majestic SEO (preferred).

jkdt0077




msg:4448989
 5:02 pm on May 3, 2012 (gmt 0)

The index.asp is the homepage of the site but the redirect to "/" seems to have worked. I did a search in Google for "domain.co.uk/index.asp" and it said no results found. Really not sure where Google got it from, nothing is showing up in OSE or Majestic either.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved