• Resolved chalavacs

    (@chalavacs)


    Hi everyone,

    Thanks for taking a look.

    I am attempting to change from the default permalinks to “/post-name” and I receive a “404 URL Not Found”

    Yes, I know, post-name is bad, etc, etc. However, regardless of which type of permalink I choose, the only one that works is default.

    I manually created the .htaccess using the following:

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

    The .htaccess file is placed in the wordpress install directory (where the ‘wp-content’ directory lives), and the permissions are set to 666 (Read/write all the way through). As far as i can tell, WordPress IS able to write to this file since I do not get the usual “if your .htaccess file were writable…” error.

    Yes, I have tried going from post-name to default, and back to post-name with no luck.

    I’m stumped here. I’m guessing it is a problem with mod_rewrite on the apache server but I am willing to investigate any other solutions before I go bothering my DBA.

    Thanks for your help,
    C

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is mod_rewrite installed on your server?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I’m sure that In about 10 seconds Jonathan’s going to add this but just in case:

    Can you also confirm that mod_rewrite is not only active on your server but is permitted for your directory via AllowOverride All?

    <Directory />
        AllowOverride All
    </Directory>

    If you do edit any configuration files please make sure you make a backup copy first.

    Thread Starter chalavacs

    (@chalavacs)

    Jonathon, Jan:

    You guys were correct! Thank you both very much.

    Solved!

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