基本上我即将开始在网站上工作,我想要一些我可以添加到我的.htaccess文件(或其他地方)的东西,它将像这个伪代码一样工作:(我的ip将取代127.0.0.1 )
if (visitors_ip <> 127.0.0.1) redirectmatch ^(.*)$ http://www.example.com/under-construction.html
希望这是有道理的......
.htaccess http-status-code-302
.htaccess ×1
http-status-code-302 ×1