htaccess rewrites causing site to break
-
the installation instructs me to add the following to my htaccess, which then causes the site to not be found in the browser. Any ideas? I am on a temporary url since i’m changing hosts. Could the temporary url location in the db cause this problem?
thanks.
RewriteEngine On
RewriteBase /~gavriels/mind-matrix.com/
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
- The topic ‘htaccess rewrites causing site to break’ is closed to new replies.