我在我的托管空间的根上安装了Joomla 1.5.26安装。我想在一个子目录中安装一个WordPress站点。Joomla子目录中的WordPress安装
所以我编辑了根.htaccess文件中加入这两行后立即RewriteEngine叙述在:
RewriteCond %{REQUEST_URI} ^/subdirectory/
RewriteRule ^(.*)$ $1 [L]
我还编辑了functions.php文件加入PHP的开始标记后这两条线段(显然是在利用我的域名和子目录名):
update_option('siteurl', 'http://www.example.com/subdirectory');
update_option('home', 'http://www.example.com/subdirectory');
我已经与“http://www.example.com/subdirectory”改变了“家”和“SITEURL”字段值在表wp_options在MySQL数据库中。
当我尝试访问子目录时,出现HTTP 500错误。
这可能会有所帮助 - http://stackoverflow.com/questions/9092124/how-to-redirect-blog-to-blog – Irfan 2013-05-03 11:05:55