htaccess file error
-
Hello everybody!
I rewrited my excisting wordpress .htaccess file for new:
# 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 WordPressRewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]<IfModule mod_rewrite.c>
RewriteEngine OnRewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]RewriteBase /blog/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>and I get this error in logs file:
reinaldudras.ee [Fri Jun 06 13:41:20 2014] [alert] [client 194.150.65.239194.150.65.239] /data02/virt39841/domeenid/www.reinaldudras.ee/htdocs/.htaccess: Invalid command ‘\xef\xbb\xbfRewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration
anyone has ideas how to solve or fix this problem?
- The topic ‘htaccess file error’ is closed to new replies.