I am running wordpress locally using Xampp.
I have been trying to get permalinks to work on my WordPress site but I keep getting a 404 Error when I set permalinks to anything other then Default. When I set the permalinks to default than all the links work. As soon as I change them to for example Post name I get the 404 error.
Things I’ve tried:
- I have removed the # from
#LoadModule rewrite_module
modules/mod_rewrite.so -
Set
AllowOverride All
in the section bellow# It can be "All", "None", or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride All
-
The .htaccess file is being generated. It contains the following content:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /4.0%20WordPress%20Theme%20Development/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /4.0%20WordPress%20Theme%20Development/index.php [L]
</IfModule> -
I tried deleting the .htaccess file and have WordPress remake it
Any help would be awesome!