Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9104779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:56:37+00:00 2026-06-17T01:56:37+00:00

I used the following code in the htaccess to put my site under maintenance

  • 0

I used the following code in the htaccess to put my site under maintenance and show the visitors maintenance.html.

#Options +FollowSymlinks
#RewriteEngine on
#RewriteCond %{REQUEST_URI} !/maintenance.html$
#RewriteRule $ /maintenance.html [R=302,L]

My site is now back online but now I see that all those browsers that tried to go on my site during the maintenance, they are still getting the maintenance.html.

It works if I clear the browser cache and I sort of understand why it is happening. I think the browser caches the redirect and is still doing it.

How can I clear this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T01:56:38+00:00Added an answer on June 17, 2026 at 1:56 am

    You should be able to use mod_header to tell browsers not to cache your maintenance page.

    Header merge Cache-Control no-cache
    Header merge Cache-Control no-store
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have used the following code in .htaccess Options +FollowSymlinks RewriteEngine On RewriteBase /
I used the following htaccess code to rewrite url to index.php It works good
I have the following code in ://localhost/.htaccess... AddType application/x-httpd-php5 .css .js RewriteEngine on RewriteRule
i have used following code in my c# application string verification_url = @http://site.com/posttest.php?; string
I have an .htaccess file with the following contents: Options +FollowSymLinks +ExecCGI <IfModule mod_rewrite.c>
i have used following code to animate a form while form show bottom to
I have used following Jquery to show div on button click, with following code.
For a multi-langue site I have used the following code to automatically redirect people
I used following code, but it displays only 2 digit of ISO country name.
I have used following code to convert string to json and parse it. String

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.