I made a thread about an issue I am having I will post it here as well as I believe this is the mod that caused the issue any help would be apreciated!
Thanks :)
original thread is here
http://www.zen-cart.com/showthread.p...than-1-product
I have been doing some site maintenance recently, 3 things as a matter of fact. The first thing I have done is add the google page speed module (all files were loaded above the root direcotry on my server and then this code was entered into the .htaccess to make it work.
Code:
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters add_head,combine_css,convert_meta_tags,convert_png_to_jpeg,extend_cache,fallback_rewrite_css_urls,flatten_css_imports,inline_css,inline_import_to_link,inline_javascript,rewrite_css,rewrite_images,rewrite_javascript,rewrite_style_attributes_with_url,combine_javascript
</IfModule>
Everything was working great and my pages were responding/rendering a lot faster than what they were.
second thing I did was rewrite my urls with "-" instead of "_" as recommended by google this code was added and all was working great except when trying to load .php pages in admin
Code:
RewriteRule !\.(html | php)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
so I changed
Code:
RewriteRule !\.(html | php)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
to this and all is working great I am excited!
Code:
RewriteRule !\.(html)$ - [S=6]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6-$7 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5-$6 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4-$5 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_([^_]*)_(.*)$ $1-$2-$3-$4 [E=underscores:Yes]
RewriteRule ^([^_]*)_([^_]*)_(.*)$ $1-$2-$3 [E=underscores:Yes]
RewriteRule ^([^_]*)_(.*)$ $1-$2 [E=underscores:Yes]
RewriteCond %{ENV:underscores} ^Yes$
RewriteRule (.*) http://www.bullysperformance.com/$1 [R=301,L]
no I decide ok so far so good lets try to install an image handler to help the site load even faster and reduce the amount of resources used by my server so I install Image Handler 4 and that is when everything goes down hill, it apears to be working good however when clicking on a category with more than 1 product in it, or sorting by manufacturer the page does not load, I have uninstalled Image Handler 4 however this did not fix it please help!
Here is my site with a category with just 1 product in it
http://bullysperformance.com/air-fil...1/3-5l-v6-426/ you'll notice it redirects to the product page since there is only 1 product
and here is a link to a category with multiple products
http://bullysperformance.com/manufacturers/aem-5/ none of the products load, nor does the footer?
can anyone please help it would be much apreciated!
Thanks
J
Bookmarks