From ebda1cb7baa52b4d874eea566bb823209aa3be10 Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Thu, 27 Jun 2013 13:14:47 +0300 Subject: [PATCH] .htaccess SEO improvements --- .htaccess | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 753e230..134facd 100644 --- a/.htaccess +++ b/.htaccess @@ -19,8 +19,16 @@ Options -Indexes # Setting rewrite rules. RewriteEngine on + + # Update code bellow for SEO improvements + # RewriteCond %{HTTP_HOST} ^www.example.org [NC] + # RewriteRule ^(.*)$ http://example.org/$1 [R=301,L] + RewriteBase /%siteurlhere%/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L] - \ No newline at end of file + + # Update code bellow for SEO improvements + # Redirect 301 /home http://example.org/ +