Symfony 1.4和wordpress集成有问题

时间:2014-05-18 06:25:33

标签: php wordpress .htaccess symfony-1.4 integration

我正在按照以下步骤使用symfony 1.4和wordpress 3.8集成新网站:


wordpress安装位于:/ web / blog

每一个似乎都有效,但是当我尝试安装wordpress /blog/wp-admin/install.php时,只显示一个白页,我认为.htaccess可能是一个问题,他不让我执行安装。 php脚本在这里是我的.htaccess

选项+ FollowSymLinks + ExecCGI

<IfModule mod_rewrite.c>
RewriteEngine On

RewriteRule ^blog/(.*)$ blog/$1 [PT]

# uncomment the following line, if you are having trouble
# getting no_script_name to work
#RewriteBase /

# we skip all files with .something
#RewriteCond %{REQUEST_URI} \..+$
#RewriteCond %{REQUEST_URI} !\.html$
#RewriteRule .* - [L]

# we check if the .html version is here (caching)
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f

# no, so we redirect to our front web controller
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

我的项目有什么问题?

0 个答案:

没有答案