How can I show my user a maintenance page when I am working on the site? How could the .htaccess look like? ..what's the best way?
k but this line would show me the maintenance site too... I would like to access page and only show the maintenance to others... Iam sure it has to be done with IP checking!
Can you specicify what kind of site you are running if you are running wordpress than there is plugin maintainance mode after implementing that you can serve the maintainance page to other. If you are running some thing else like php CMS are something else please specify so I will suggest you accordingly
Something like this RewriteCond %{REMOTE_ADDR} !^your.ip.address.goes.here$ RewriteRule ^/?.* /maintenance-page.html [R=302] Code (markup):