开发者

permanent redirect on wordpress site

I've got a web site based on wordpress, I need to temporarily hide the web site. I thought about using a PHP 301 redirect. I tried to开发者_如何学编程 put at the begining of index.php and xmlrpc.php without success. How does wordpress file-structure works?

Tnx

Giuseppe


I've used this for redirects in the same purpose: http://wordpress.org/extend/plugins/redirection/

I put the temporary html-file that I wanted to display in a folder which was placed in the same place as the main index.php file.


If you really need to hide a website under development, block search engines in Dashboard/Settings/Privacy and use something like WordPress › Absolute Privacy « WordPress Plugins to disable RSS feeds and redirect to a static page you choose.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜