• I seem to have an issue when setting up a permalinks structure other than default. Whenever I try setting a new structure, all my page, category and individual post links break. At the sugguestion of some previous similar issues, I’ve tried reverting to default, saving, and going back to a different structure. It remains broken. I can see that my .htaccess file is updated whenever I update the structure, so I doubt it’s a problem with writing there… any thoughts?

    Alternatively, is there any way to attach a slug to a page without using permalinks? (why oh why did they remove this feature in 2.5?)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The slug feature is there but it only works when permalinks are turned on.

    Try this: FTP to your server. If there’s an .htaccess file there, CHMOD it to 666. Then go into WP and turn on permalinks. Let WP write to the .htaccess file. Test your page links, they should be pretty permalinks now, without server errors. If that’s the case, GO BACK AND CHMOD the .htacess file to 644.

    Or rename the existing .htaccess file and turn permalinks on and let WP try to create a new .htaccess file.

    BTW, this is my usual .htaccess file contents:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Thread Starter slothboi

    (@slothboi)

    Even after creating a new .htaccess file, permalinks are causing issues. There must be some odd setting server-side.

    I checked the .htaccess file contents after a new one was created, there were differences between yours and mine, on the 4th and 7th lines:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    
    # END WordPress

    That’s because you are running WP in a subdirectory. I just never do that. But that shouldn’t matter. You did CHMOD it and let WP try to write to it, correct? And you know that your web host has Apache mod_rewrite ON, correct?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issues with permalinks’ is closed to new replies.