• Resolved maikverge

    (@maikverge)


    So, I did something stupid, I changed my permalinks to get rid of the /index.php before all of my page links, and now everything but my homepage is gone.

    Even the new pages I create cannot be found.

    I’ve checked the usual suspects. My .htaccess file is good

    # BEGIN 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>
    # END WordPress

    My rewrite module is active. I’ve shut everything down, rebooted the server, switched to default to custom and back and rebooted again to no avail.

    I have a sneaking suspicion something in mysql database wasn’t updated correctly, but have no idea what I’m looking for. If anybody has any ideas, I’m all ears.

    Running a Debian 8 server with the most up to date versions of PHP/SQL/WP/Apache

    Thanks guys.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter maikverge

    (@maikverge)

    No custom permalinks work now, but at least the default does.

    Thread Starter maikverge

    (@maikverge)

    Sigh, don’t assume your /etc/apache2/apache2.conf file’s override is set to allow. Even though your brain explicitly remembers setting it, it lies.

    Anyone running into this problem, my particular case was solved by correcting this section of /etc/apache2/apache2.conf

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

    AllowOverride was set to None

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Odd Permalinks 404 error’ is closed to new replies.