admin管理员组文章数量:1122846
I'm using a subdomain multisite and I receive a 404 when trying to visit posts. The main domain works, but the permalinks aren't working. When I use the default permalinks, they work, but when I use the custom ones like this /base/%category%/%postname%/
it's not working.
I'm wondering if it has to do with my .htaccess, since I've been editing that quite a bit.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?nofillers$
RewriteCond %{REQUEST_URI} !^/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /$1
RewriteCond %{HTTP_HOST} ^(www.)?nofillers$
RewriteRule ^(/)?$ /index.php [L]
I'm using a subdomain multisite and I receive a 404 when trying to visit posts. The main domain works, but the permalinks aren't working. When I use the default permalinks, they work, but when I use the custom ones like this /base/%category%/%postname%/
it's not working.
I'm wondering if it has to do with my .htaccess, since I've been editing that quite a bit.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?nofillers.com$
RewriteCond %{REQUEST_URI} !^/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /$1
RewriteCond %{HTTP_HOST} ^(www.)?nofillers.com$
RewriteRule ^(/)?$ /index.php [L]
Share
Improve this question
asked Feb 23, 2013 at 3:54
user25480user25480
1
|
1 Answer
Reset to default 0For permalinks you may have to include index.php before the custom permalink structure within the permalinks settings option panel:
/index.php/%postname%/
Just a guess but thats what I had to do on a couple of my sites. Let me know if that does not work and then we can look at your .htaccess file.
本文标签: Permalinks in Multisite not working
版权声明:本文标题:Permalinks in Multisite not working 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736295324a1929545.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
.htaccess
and go editing it bit by bit? – brasofilo Commented Feb 23, 2013 at 7:13