WordPress.org

Ready to get started?Download WordPress

Forums

htaccess File Problems (9 posts)

  1. kraftomatic
    Member
    Posted 7 years ago #

    Hey Guys,

    I'm having problems with my .htaccess file. Specifically, I don't have one in my root WordPress directory. Why is this? I have the latest version of WordPress and permalinks turned on. I'm trying to get the Static Jack plugin working and can't without modifying my .htaccess file.

    Any help would be greatly appreciated.

    Thanks.

  2. BPartch
    Member
    Posted 7 years ago #

    Hello

    Make sure you have "show hidden files" selected in your FTP program.

    If you do and there is still no .htaccess file there you will need to create it using a text/html editor.

    Visit the wp-admin for your blog and go to the permalinks tab and copy the code in the textarea and past it into the file and save it as .htaccess, then make the other changes you need to to get this plug in working and then upload it to the root of your wp install.

  3. cldeans
    Member
    Posted 7 years ago #

    Funny, I have had exactly the same problem - and yet, I can only imagine I *did* have an htaccess file, and it has now disappeared. Why? Becs I managed to change my URLs to permalinks - it was only when I decided to change them to something else, that I started to get the "file is not accessible" message.

    Any suggestions? If someone could just give me the htaccess code for the default settings (as they are not generated in the text box) I would be grateful.

    Thanks in advance,
    Cate

  4. Reaper-X
    Member
    Posted 7 years ago #

    here's the default that came with wp (if you put wp in root directory of your web server)

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

  5. fireworkszone
    Member
    Posted 7 years ago #

    My htaccess file is in the root directory of my web server and if I place the code given above:

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

    I get a 500 Internal Server Error

    Any idea what's wrong and do I have to opt for another news publishing system?

  6. cldeans
    Member
    Posted 7 years ago #

    Thanks for posting Reaper-X. Unfortunately it doesn't seem to have solved my problem.

    It is as if WordPress just isn't seeing the .htaccess file. It is there, and I have made it fully writeable, but it keeps saying "if this file was writeable..."

    Is there a way of resetting things, without losing my content?

    Regards
    Cate

  7. whooami
    Member
    Posted 7 years ago #

    fireworkszone,

    I cant see why that would cause an error like that, for starters:

    enclosing those rules inside <IfModule mod_rewrite.c> and </IfModule> tells apache NOT to complain if, for some reason, mod_rewrite is not available.

    second, I tested exactly that on my own server and got no error back.

    -------------------------

    youre an old b2evolution user, and you left your phpinfo file up from some posts over on those forums. I took a look.

    Despite the fact thats a NIX box, the web server doesnt appear to be Apache. Thats the source of the problme with the code above.

    http://www.google.com/search?hl=en&lr=&q=CGI%2FProXad+api&btnG=Search

    Theres some other people with very similar problems.

  8. cldeans
    Member
    Posted 7 years ago #

    dum de dum dum dumb!

    I had put in alternative site address for my blog that didn't exist. *duh*!

  9. fireworkszone
    Member
    Posted 7 years ago #

    Thanks whooami for letting me know

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.