如何使用.htaccess从magento站点重定向到wordpress博客?
我把Magento作为主站点,WordPress在博客文件夹中 当有人键入时,我想重定向到博客如何使用.htaccess从magento站点重定向到wordpress博客?,.htaccess,mod-rewrite,url-redirection,.htaccess,Mod Rewrite,Url Redirection,我把Magento作为主站点,WordPress在博客文件夹中 当有人键入时,我想重定向到博客 http://www.example.com/blog/ 然而,它不是重定向到博客。我在Magento的.htaccess(root)上试过这个 RewriteEngine On RewriteRule ^blog/(.*)$ http://example.com/blog/$1 [L,R=301] 如果有什么问题,请帮忙。有人能帮忙吗?所以当我输入http://www.example.com/b
http://www.example.com/blog/
然而,它不是重定向到博客。我在Magento的.htaccess(root)
上试过这个
RewriteEngine On
RewriteRule ^blog/(.*)$ http://example.com/blog/$1 [L,R=301]
如果有什么问题,请帮忙。有人能帮忙吗?所以当我输入
http://www.example.com/blog
将我重定向到哪里?