Support » Fixing WordPress » Permalink redirection issues with custom structure

  • Hey everyone;

    I’m trying to troubleshoot why my site, , doesn’t properly display posts when I set the permalink settings to have a custom structure of /%category%/%postname%/

    I’ve followed this guide as best as I could, there’s currently a category called ‘test’ and a post in that category named ‘hork-hork-hork’. However, when I set the custom structure to what I mentioned before, it just responds with a 404 error when I click on any link.

    I’ve checked that my virtualhost file:

    DocumentRoot /var/www/
            <Directory />
                    Options FollowSymLinks
                    AllowOverride All

    In the apache2 error log, it just throws an error that “File does not exist: /var/www/ “

    I believe the url rewrite option is available (but I’m not sure where to double check), and the .htaccess files is as such:

    # 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]

    as is documented, and tested as far as having 777 permissions.

    Anyone that could provide some help on troubleshooting or any insight would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalink redirection issues with custom structure’ is closed to new replies.