homepage Welcome to WebmasterWorld Guest from 54.166.62.226
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Using htaccess for temporary down time maintenance
nmjudy

10+ Year Member



 
Msg#: 4213473 posted 10:07 pm on Oct 7, 2010 (gmt 0)

I need to remove an old postnuke installation that keeps getting hacked into that resides in a folder called "articlebase". I plan on installing the newest version of Wordpress to display the articles in a different folder. Is there a way I can let Google know that the "articlebase" folder is under maintenance (while it appears broken)? I want to remove the Postnuke software asap, but have too many internal links pointing to the articles.

After the Wordpress installation is updated with all the articles, I plan and doing a 301 redirect from the old postnuke site page to the Wordpress version of the page.

 

g1smd

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



 
Msg#: 4213473 posted 10:46 pm on Oct 7, 2010 (gmt 0)

You could serve "503 Unavailable".

That's usually a safe bet.

nmjudy

10+ Year Member



 
Msg#: 4213473 posted 11:24 pm on Oct 7, 2010 (gmt 0)

Thanks for the quick response. :-)

If I wanted to serve a 503 unavailable in the "articlebase" folder, how would I write the .htaccess ? (I don't want to mess with my root .htaccess file) Or is there an easier way to do this?

nmjudy

10+ Year Member



 
Msg#: 4213473 posted 12:34 am on Oct 8, 2010 (gmt 0)

I think I found an answer by Googling "holding page and the 503 status code". There is a good tutorial there.

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