Support » Fixing WordPress » .htaccess woes

  • Ok, I’ve tried everything I could find. I had no .htaccess file. Yes, I made sure I viewed invisible files on the server. So, I created the file, uploaded it to my server into the WP root folder (the same one that has wp-admin, wp-content, and wp-includes). I then gave it permissions 666 to make sure I could write to it. Went back into WP tried to save custom permalinks, nothing. I’ve moved the file into wp-admin- didn’t work, I moved it back. I’ve changed the permissions to 777 just to make sure that wasn’t it- didn’t work either. I even went as far as forcing it to understand it was on an Apache server by using the var.php method of commenting out the Apache line and adding the new one. All of this, and I still error out when I try to go to any other page but the front page using “pretty permalinks” structure.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I think if your wordpress is installed in a sub-directory, .htaccesss needs to be in root not the wordpress folder.

    I tried it there as well. My root directory contains folders etc, mail, public_ftp, public_html, tmp, access logs, and www. I installed wordpress in public_html, that’s where I had the file before. I just moved it to root again just to make sure, with no luck. Thanks for your answer. I really appreciate it, but we’re still not up and running.

    Moderator t-p


    I have my .htacces in the WP root (as you described yours in the initial post) and it works fine.

    Have you tried:

    -re-saving your permalink structure at Admin panel>>>Settings>>>Permalinks. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    Review this before using permalinks:



    Try switching to a different (ideally the WordPress default if you’re not using it) and see if you get the same problem.

    t-p: I’ve been going back, testing and attempting to save after each change I make, have done just what you’ve said, and tried to save again. It provides the same directions saying that .htaccess is not editable (which could be a server setting that I don’t have access to) and to manually change it to the structure provided (which it has already been changed to). I had to create the .htaccess file, and I’ve read up on both of those articles you quote. Thank you.

    Charity: Try switching to a different…? Lol. You’re trying to trick me, aren’t you? Like it’s not already confusing enough that my server seems to work differently than everyone else’s. j/k. Thanks.

    I assume he menat ‘Theme’ – may be an issue with the theme that you are using.

    All the above advise looks sound, so it’s unusual that none of this has fixed your problem. Who is hosting your website? My be worth contacting them and ensure that LoadModule rewrite_module modules/ is uncommented in your ‘httpd.conf’ file.

    Also, not sure what you put in your ‘.htaccess’ file, but try creating one and adding just this. It’s the default one WP created for me –

    # 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]
    # END WordPress

    I installed wordpress in public_html, that’s where I had the file before. I just moved it to root again just to make sure, with no luck.

    You said that you installed your wordpress in public_html that is root so all your wordpress files and folders need to be in public_html.

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