homepage Welcome to WebmasterWorld Guest from 54.211.100.183
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Site Retired How To Redirect Users
redirecting users and bots to let them know that site is no longer availabl
noumaan204

5+ Year Member



 
Msg#: 4410039 posted 10:00 pm on Jan 23, 2012 (gmt 0)

I had a website at [site.example.com...]

I have deleted the website. It was on wordpress. Now I want to let Google know that the website is permanently deleted while also informing users that this site is no longer available. The users will obviously continue to come on different links. So I want them to be redirected to a page index.html in the root directory to inform them about unavailability of website.

How do I do that. So that search engines quickly understand and remove the site from results. While people coming from other non-organic links are also redirected properly to a page.

 

lucy24

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



 
Msg#: 4410039 posted 11:55 pm on Jan 23, 2012 (gmt 0)

Hm. Before reading the post I saw the title and thought "That's really two questions: What to do and then how to do it."

So the site is really going bye-bye, not getting redirected to a new location? But you're letting the domain die a natural death, not pulling the DNS plug right away?

If it were me, I would return a blanket 410 to all requests for the site. 410 (Gone) is factually correct, so why not use it. Combine it with a very nice, thoughtfully designed custom 410 page that tells people anything you want to tell them. Like a, well, not like a store going out of business. Think of it more like a professional person retiring. "Thank you for your support over the years, it's been real, here are some other sites you might like."

ErrorDocument 410 byebye.html

RewriteCond %{REQUEST_URI} !byebye
RewriteRule .* - [G]

Do not cut & paste: I'm making this up as I go along. The 410-- here expressed with the [G] flag-- tells both humans and search engines that everything is gone. Humans will get automatically routed to the 410 page; search engines will just note the 410 and gradually slow down their crawling.

tangor

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



 
Msg#: 4410039 posted 12:00 am on Jan 24, 2012 (gmt 0)

If you are deleting a sub-domain and keeping the main site, you'll also need a rewrite (or a redirect) to accomplish same.

g1smd

WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4410039 posted 12:08 am on Jan 24, 2012 (gmt 0)

When a site has gone, you either redirect users to a new site (301) or you return a 410 HTTP status code and human readable error message at the URL the user originally requested.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
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