• Hello, I need a good .htaccess file for WordPress, but find it difficult to find one, especially since I dont know much about PHP. Does anybody know a good base-file from where to start from? Many thanks in forward.

Viewing 5 replies - 1 through 5 (of 5 total)
  • ummm…not sure what you mean
    you can generate one easily enough
    admin – settings – permalinks

    Thomas19007,

    .htaccess isn’t a PHP file. It is a file used by the Apache web server. Maybe that is why you can’t find the information you need. I’m not sure what a ‘good’ .htaccess would be, though, since they aren’t always necessary. You might not need one at all. And, as samboll mentioned, WP will make one if it needs it.

    You might look into the Apache docs for the .htaccess file and get a feel for it.

    Thread Starter thomas19007

    (@thomas19007)

    Always get an error when I want to change the permalinks that says that they cant create one automaticly and that I have to create one myself.

    Always get an error when I want to change the permalinks that says that they cant create one automaticly and that I have to create one myself.

    Yeah, that means your .htaccess file, if it exists at all, is not writable. Look into your WordPress root directly and see if you can find a file named .htaccess. If you find it, make it writable (by changing the permissions to 666).

    If you can’t find a .htaccess file, just create one yourself. Create a blank file, give it the name .htaccess, and remember to make it writable as above. On most servers, this will work.

    After this, go back to WordPress and update your Permalinks.

    ===
    [please no sigs per forum rules]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Where can I find a good .htaccess base-file?’ is closed to new replies.