0
页
我试图让Apache将重定向subdomain.example.com到subdomain.example.com/home301的.htaccess到
我得到了重定向这个工作:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
RewriteCond %{HTTP_HOST} ^subdomain\.example\.com$
RewriteRule (.*) http://subdomain.example.com/home$1 [R=301,L]
RewriteRule ^$ home [L]
的问题是,如果我去编辑帖子,重写规则的冲突,这是返回。
http://subdomain.example.com/homewp-admin/post.php?post=51&action=edit
没有工作。 ** example.com/homehomehomehome [etc]的重定向循环中的结果** – R0thbardFrohike
立即尝试更新的代码。 – anubhava
同样的问题,它发送一个301代码循环。 – R0thbardFrohike