hi,
can you explain what are supposed to do the folowing lines in .htacess in 1.4.3 :
# Redirection for site updates--remove the comment crosshatches from the following rules
# "closed.html" in the plugins/site_upgrade folder is the target for the rewrites. You can change
# this file to suit your needs.
RewriteRule ^index\.php$ plugins/site_upgrade/closed.html [NC,R=302,L]
RewriteRule ^$ plugins/site_upgrade/closed.html [NC,R=302,L]
I wish to modify .htacess to redirect all access of my site to a specific html page during upgrade of my site.
Comments
thanks for your help. it works fine.
I have a question: only one closed.html file is created? or many files are created to deal with language of the visitors?
I have a suggestion: when you choose to close or open the site, it should be a permanent message which tells the state of the site (opened or closed).
there is a message which indicates the change of the state, but it disapears.
If you look at the buttons, if the site is open then only the close site button is active. If the site is closed the open site button is active. (Of course, your browser may not show this. What I have found is that browsers that do not show buttons as disabled tend to not show the hover hint of the disabled button.)
I think it's a little bit confusing.
Rather than have 2 buttons (with only a active one), i will prefer only one button (close or open site) or a specific message which indicates the state of the site (opened or closed).