Welcome to WebmasterWorld Guest from 54.226.41.91

Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Temporary URL indexed in Google

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

Full Member

5+ Year Member

joined:June 26, 2008
posts:264
votes: 5


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)

Administrator

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

joined:Aug 10, 2004
posts:11143
votes: 115


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)

Senior Member from US 

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

joined:Apr 9, 2011
posts:14382
votes: 565


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)

Administrator

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

joined:Aug 10, 2004
posts:11143
votes: 115


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)

Senior Member

WebmasterWorld Senior Member Top Contributors Of The Month

joined:July 19, 2013
posts:1097
votes: 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]
4:08 am on Mar 4, 2014 (gmt 0)

Moderator This Forum from US 

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

joined:Nov 11, 2000
posts:11986
votes: 311


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members