View Single Post
  #1 (permalink)  
Old 07-01-09, 11:49 PM
doob doob is offline
Newbie Coder
 
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
mod_rewrite issue

Hi everyone,
Im trying to optimize our webpage and while using firebug, it seems that a lot of pages are being unnecessarily 301 redirected (we have Simple <acronym title="Search Engine Optimization">SEO</acronym> installed for zen cart).

Here is the htaccess file; (I have put modrewrite off clauses in some folder but cant get all files)

Code:
php_value max_execution_time 3600

#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /

# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]

RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU
How can i add a clause to stop redirecting images, css files, etc to avoid problems?

Thanks in advance!
Reply With Quote