Support » Networking WordPress » 404 Errors after changing Permalink setting (Multisite)

  • Resolved ivarh

    (@ivarh)


    I am a bit new to wordpress. I am running on Ubuntu 14.04.1 with the latest Apache. My subdomain based sites work fine with the default permalinks structure. When I try to change to something “Pretty” I get 404 Errors at the pages within the sites. I can get to the home pages of the sites.

    I have checked my .htaccess file and it looks correct: (Is there just one of these or 1 for each subdomain?)

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    I checked my Apache2.conf and I think it is correct:

    <Directory /usr/share>
            AllowOverride All
            Require all granted
    </Directory>
    
    <Directory /var/www/>
            Options Indexes FollowSymLinks
            AllowOverride All
            Require all granted
    </Directory>

    Has anyone else seen this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Did pretty permalinks work BEFORE you activated multisite?

    Do they work on any site?

    Does the per-site admin work on your subsites?

    Also try AllowOverride Options All

    Thread Starter ivarh

    (@ivarh)

    Thanks for jumping in.

    It was set up to begin with with Multi-site. So I did not have a chance to see if the perms worked in pretty mode before.

    All sites fail the same.

    The per-site admin was fine because I could get to the home pages and the /wp_admin pages

    I added the “Options” to the Apache2.conf and it fixed everything!! Thank You!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 Errors after changing Permalink setting (Multisite)’ is closed to new replies.