WordPress 3.1 Broke Permalinks
-
My site was working perfect with custom permalinks. Now after upgrading to 3.1 I get a 404 error using custom permalinks.
Normal ugly permalinks work but the custom ones are broken ??
here is my .htaccess please let me know how to fix this.
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L] # deny access to wp-config.php <files wp-config.php> order allow,deny deny from all </files> # deny access to readme.html <files readme.html> order allow,deny deny from all </files> # deny access to .htaccess <files .htaccess> order allow,deny deny from all </files> # prevent folder browsing Options All -Indexes # prevent comment posting to requests with no referer RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*example.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ RewriteRule (.*) ^https://%{REMOTE_ADDR}/$ [R=301,L] # limit size of request body LimitRequestBody 10240000
- The topic ‘WordPress 3.1 Broke Permalinks’ is closed to new replies.