homepage Welcome to WebmasterWorld Guest from 54.161.202.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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

    
Temporary URL indexed in Google
virtualreality




msg:4650768
 5:47 pm on Mar 3, 2014 (gmt 0)

Hello, after I changed my host I saw my temporal URL that looks like this IP/~username is indexed for some pages. What can I do to immediately fix this so it does not cause any SEO problems?

 

phranque




msg:4650818
 11:08 pm on Mar 3, 2014 (gmt 0)

you need to add a hostname canonicalization redirect to your configuration.

if your canonical hostname is http://www.example.com then any requests for a non-canonical hostname (including IP addresses or example.com or foo.example.com or example.yourwebhost.com or https:, etc) must be redirected with a 301 status code to http://www.example.com

what type of server are you using?

lucy24




msg:4650836
 12:46 am on Mar 4, 2014 (gmt 0)

This doesn't sound like a hostname. Or rather, not hostname alone.

IP/~username is indexed for some pages


Do you mean:
IP/~username/pagename.html
IP/~username/otherpage.html
IP/~username/thirdpage.html
?

Yuk. Can you still reach the pages that way? If so, you'll need a global redirect, something like (assuming Apache)
RewriteRule ^~username/(.*) http://www.example.com/$1 [R=301,L]

If the IP/~username form no longer works, you may prefer to let the server hand out a 404 and let everything die a natural death.

:: thinking that "temporal" is pretty funny, but the thread title should probably say "temporary" ::

phranque




msg:4650849
 1:42 am on Mar 4, 2014 (gmt 0)

Or rather, not hostname alone.

IP/~username is indexed for some pages

oops - i missed that part...

JD_Toims




msg:4650873
 3:21 am on Mar 4, 2014 (gmt 0)

It's cool phranque, I thought you had the right answer too when I read your post, but Lucy24's got it -- Of course [guessing much like yours] my temporal lobe could be about ready to shut down right now, so I can barely even type, never-mind being able to talk [lol]

Robert Charlton




msg:4650876
 4:08 am on Mar 4, 2014 (gmt 0)

Mod's note: In deference to long term memory, I've changed the thread title from "Temporal URL indexed in Google" to "Temporary URL indexed in Google".

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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved