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

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Best way to take down my website
kkobashi




msg:3396323
 10:39 pm on Jul 16, 2007 (gmt 0)

No, not in the malicious way.

One of my sites that has been on the net for nearly 5 years is growing old and tired and I want to change its focus. Whats the best way to take down a site gracefully?

When users surf to my pages in the search indexes/bookmarks, what can I do in .htaccess to make them go to my home page and let the search engines/users know the other pages no longer exist?

I tried this but got an internal server error:
RewriteRule (.*) [site.com...] [R=410,L]

 

ogletree




msg:3396362
 11:37 pm on Jul 16, 2007 (gmt 0)

You want to set it up so that all the pages are 301ed to the root not root/index.htm

I'm not sure the code you need for that.

Swanny007




msg:3396372
 11:47 pm on Jul 16, 2007 (gmt 0)

Are you going to redirect the site to a new URL or just the old site's home page? I had a site I took down. I just 301'd it to another site I run. The topic was a bit different but I did it that way so I didn't totally lose the visitors.

kkobashi




msg:3396387
 12:01 am on Jul 17, 2007 (gmt 0)

Hey guys, thanks for the replies.

I want to maintain the existing website domain name. Basically I want Google/Yahoo/etc. to know that all my pages are dead and gone. However, for the pages that are dead, I don't want to lose that visit and send them to my home page.

kkobashi




msg:3396513
 2:21 am on Jul 17, 2007 (gmt 0)

I'm thinking this should work. Anything typed in gets redirected 301 to index.html:

Options +FollowSymLinks
RewriteEngine on

# Set the default handler
DirectoryIndex index.html

# Add the www if missing
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST}!^www\.
RewriteRule ^(.*)$ [%{HTTP_HOST}...] [R=301,L]

RewriteRule ^([a-zA-Z0-9-]+)/?$ [mysite.com...] [R=301,L,NC]

Thoughts appreciated!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
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