• 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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    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

    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>

    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?

    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

    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.

    dum de dum dum dumb!

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

    Thanks whooami for letting me know

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