• I just recently installed WordPress and I’m trying to change my permalinks, but it’s not working. I have a blank .htaccess file in my main WP directory and it’s set to permissions 644. I read up on permalinks and it said that WP will edit the .htaccess file and if it couldn’t, it’d give me the codes to put in it. Both failed. When I changed my permalink to Date and name based it says that the permalink structure is updated, and well it is, but I don’t like the index.php at the beginning. How do I get rid of index.php? I only want it to be /%year%/%monthnum%/%day%/%postname%/ and not /index.php/%year%/%monthnum%/%day%/%postname%/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Do you have “index.php” in your “WordPress Address” or “Blog Address” fields in the Options > General admin?

    If so, take it out and make it just the directory/

    Thread Starter lethalreality9

    (@lethalreality9)

    No I don’t have “index.php” in my “WordPrss Address” or “Blog Address” fields in the Options > General admin.

    A) Are you positive your host has mod_rewrite on and properly enabled?

    B) You might consider, just for grins, making your .htaccess read-only. Then visit Options -> Permalinks and copy the changes you need to manually add to .htaccess. Change file permissions back to 644 and paste ’em in. See what happens then?

    Out of curiosity, who’s your host? Some are rather notorious for their [lack of] support with mod_rewrite.

    Thread Starter lethalreality9

    (@lethalreality9)

    Yes I am positive that my host has mod_rewrite on and properly enabled.. atleast, I think so! I host on a friend’s site which is hosted on a host and I don’t know of. I’m pretty sure my .htaccess file works though, since I do have something written in it.

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>

    Thread Starter lethalreality9

    (@lethalreality9)

    I think the host is: https://www.dimenoc.com/

    Well, the thing is… what you have in .htaccess right now isn’t using mod_rewrite, so that doesn’t really tell us if it’s enabled.

    Did you try my option B from the earlier response?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress not writing to .htaccess for Permalinks?’ is closed to new replies.