Quantcast
Viewing all articles
Browse latest Browse all 2443

SpyrosM91 on "Permalinks and .htaccess Error"

hi guys!

i'm a bit rookie, and i have been making a website for a relative of mine. So, before putting it online, i have made a local server (with xammp) and i run it from there....

in that server i have placed and other local websites and they work fine...

now, for this specific website, i have installed the latest worpress version, and i have added a theme... i've also made a few pages, and it all works fine... BUT, when i go to the tab to choose to get pretty permalinks, then worpress imediately creates the .htaccess file (which it didn't exist before...) and it blocks my server (error 500... Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19)

the htaccess that gets created appear like this:

# 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]
</IfModule>

# END WordPress

which seems fine... i guess...

and also i have checked with the server that in the "apache/conf/httpd.conf" the overwrite module is not commented out...

what should i do?? do you have any ideas?
thanks in advance!

PS: if i delete the .htaccess, the home page works fine, BUT the other pages that now have a pretty permalink (eg. website.com/getting-started/), give me a 404 error...


Viewing all articles
Browse latest Browse all 2443

Trending Articles