Forums

Permalink redirection issues with custom structure (3 posts)

  1. DavisTasar
    Member
    Posted 2 months ago #

    Hey everyone;

    I'm trying to troubleshoot why my site, http://daveplayswith.com , 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/daveplayswith.com/wordpress
            <Directory />
                    Options FollowSymLinks
                    AllowOverride All
            </Directory>

    In the apache2 error log, it just throws an error that "File does not exist: /var/www/daveplayswith.com/wordpress/hork-hork-hork "

    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]
    </IfModule>

    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.

  2. Tacklers
    Member
    Posted 2 months ago #

    /%category%/%postname%.html works for me. Richard

  3. DavisTasar
    Member
    Posted 2 months ago #

    What was the URL you accessed? The current permalink settings set on the site are for the default.

Reply

You must log in to post.

About this Topic