• Resolved pigmoose

    (@pigmoose)


    Hi I have been trying sort this out for 3 days, have read stacks of posts but I am still no getting permalinks working.

    1. I have checked that the host has the mod_rewrite module
    2. I have installed a .htacess file in the root directory where WP is installed
    3. I have given the .htaccess life up to 777 permissions
    4. I have given wp-content, themes, and the actual theme folder up to 777 permissions
    5. I have recieved the advice in the dashboard that permalinks have been updated i.e. no code to paste into .htaccess
    6. I haven’t got a clue why it is not working

    The .htacceess file is as blank as whem I installed it
    The pages respond to the old default permalinks howevver from the dashboard (which obviously directs us to the new permalinks) I get a page not found error message.

    The site is https://www.skinrevision.net.au

    Anyone got a hint?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would advise against setting permissions to 777 on those files, it’s unnecessary. Chances are that your problem has nothing to do with the Apache_Mod_Rewrite engine, but more to do with the way WP is now handling permalink structure.

    There are a few threads that seem to be coming at this problem from several different directions, but from what I can gather, a lot of people are getting broken permalinks because of something WP is doing in terms of redirects.

    When it comes to the .htaccess file, WP is something of an a******e. If you use the custom permalinks feature, it sets up the .htaccess the way it needs it to function and any tinkering with it is dangerous, often resulting in busted permalinks.

    Try this (But please make backups before you tinker!)

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

    Good luck!

    Thread Starter pigmoose

    (@pigmoose)

    lazygeisha you’re a genius. my permalinks are pretty! thanks very much

    Awww, that’s sweet! You’re welcome! I would CHMOD your .htaccess file back down to 666 which will allow you to use the WP editor to tinker but also keep it protected. 777 permissions just aren’t safe IMHO.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.htaccess not updating’ is closed to new replies.