0
我想建立一個wordpress(3.4.2)多站點。目前網站上已經應用了以下阿帕奇規則,我沒有權限編輯WordPress的多站點與子域漂亮的永久鏈接
<VirtualHost xx.xx.xx.xxx:80>
ServerName foo.example.nl
ServerAlias www.foo.example.nl
DocumentRoot /web/sites/example.nl/foo/www
RewriteEngine On
<Location />
Allow from all
</Location>
</VirtualHost>
這工作但罰款我發現,試圖建立與固定鏈接「後名」選項總是給我404重定向。 http://foo.example.nl/post1 = 404未找到
此刻我有未安裝多點只是爲了嘗試並獲得與子域工作的漂亮網址,但想很多我的.htaccess但沒有什麼不同的變化之後,似乎是工作。這裏是當前的.htaccess 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>