Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
    
What if you use the default .htaccess and go editing it bit by bit? –  brasofilo Feb 23 '13 at 7:13
add comment

1 Answer

For 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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.