Affiliate Marketing
Forum Search


Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 02-09-05
Affiliate Marketeer
 
Join Date: Aug 2003
Location: Manchester
Posts: 730
Thanks: 7
Thanked 2 Times in 2 Posts
monkeyman is an unknown quantity at this point
  Closing a site temporarliy?

I'd like to shut a site down for essential maintenance and an upgrade.

Usually I do it through the night, when things are quiet.

What I want to be able to do is, when a user comes along (to any page) they get sent to www.mysite.co.uk/down and that will have a nice message on it. I'm assuming .htaccess would do that.

Problem is when I come to test the page, I too get sent to the 'down' page.

Is there anyway, to just let me see the whole site and users not?

Hope that makes sense
__________________
Always do sober what you said you'd do drunk.
That'll teach you to keep your mouth shut.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-09-05
Swiss's Avatar
memoryfinder.co.uk
 
Join Date: Jun 2005
Location: Wiltshire, UK
Posts: 343
Thanks: 0
Thanked 0 Times in 0 Posts
Swiss is an unknown quantity at this point
If your site is coded in PHP, and you have an include on every page, such as a database connection script, you could tag something like this on the end of that included file:
PHP Code:
<?
if(!isset($_REQUEST['test'])) {
    
// Redirect to 'down page'
} else {
   
// Continue to view page
}
?>
To view a page for testing purposes, just tag '?test=1' on the end of your URL.

Or is this a static HTML site?
__________________
Kris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-09-05
Affiliate Marketeer
 
Join Date: Aug 2003
Location: Manchester
Posts: 730
Thanks: 7
Thanked 2 Times in 2 Posts
monkeyman is an unknown quantity at this point
Cheers.

How that would exactly? Where would you specify the urls?

It is mainly for php, although I do have pure html sites which it would be handy for.
__________________
Always do sober what you said you'd do drunk.
That'll teach you to keep your mouth shut.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-09-05
Swiss's Avatar
memoryfinder.co.uk
 
Join Date: Jun 2005
Location: Wiltshire, UK
Posts: 343
Thanks: 0
Thanked 0 Times in 0 Posts
Swiss is an unknown quantity at this point
Quote:
Originally Posted by monkeyman
Cheers.

How that would exactly? Where would you specify the urls?

It is mainly for php, although I do have pure html sites which it would be handy for.
Say you were working on stuff.php, should your visitors have this bookmarked, when they'd view it with the URL mysite.com/stuff.php they'd get forwarded to your 'Site under maintenance' message, should you wish to view any changes you have made to that page, youd just visit mysite.com/stuff.php?test=1 and you could see the page as normal.

Appologies if I am not making much sense, trying to get out of the office and I keep getting distracted haha!
__________________
Kris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #5 (permalink)  
Old 26-09-05
eskimo's Avatar
Registered User
 
Join Date: Aug 2003
Posts: 659
Thanks: 0
Thanked 0 Times in 0 Posts
eskimo is an unknown quantity at this point
You could foward all visitors to www.domain.com to your www.domain.com/downpage.htm by use of the .htaccess file, while allowing access to the site via http://domain.com. it's not pefrect I agree, but it is a potential solution.

Anotherway could be to foward all visitors with an IP which doesn't match yours via Swiss method.

Indeed, if you take a .htaccess route, which means only changing one file as opposed to all your pages, you could set up a rule which does something simlair to Swiss approach.

ie. if the url features the string 'test' goto site, else goto downpage.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Affiliate site not listed on Dmoz.org here is why! supercod Website Promotion 32 14-03-08 12:31 PM
My Keyword Research - Care to contribute to the research? webdesignhq Search Engine Strategies 4 26-03-07 09:52 AM
site valuation article from webmasterworld tezar The Affiliate Marketing Lounge 1 17-03-05 04:34 PM
Rip my Site to Pieces GuitarZan The Affiliate Marketing Lounge 7 29-09-04 02:16 PM
ARELIS 3 Link Popularity Software Qui Gon Jinn Website Promotion 4 05-03-03 07:34 AM


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7