Welcome to WebmasterWorld Guest from 54.225.31.78

Message Too Old, No Replies

Temporary URL indexed in Google

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

5+ Year Member



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?
11:08 pm on Mar 3, 2014 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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?
12:46 am on Mar 4, 2014 (gmt 0)

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



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" ::
1:42 am on Mar 4, 2014 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Or rather, not hostname alone.

IP/~username is indexed for some pages

oops - i missed that part...
3:21 am on Mar 4, 2014 (gmt 0)

WebmasterWorld Senior Member Top Contributors Of The Month



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]
4:08 am on Mar 4, 2014 (gmt 0)

WebmasterWorld Administrator robert_charlton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



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".
 

Featured Threads

Hot Threads This Week

Hot Threads This Month