Searching For A .HTACCESS Gods Wisdom :)
# BEGIN Redirects RedirectMatch 301 ^/blog/2013/02/07/photo-of-the-week-ford-fusion-looks-like-aston-martin/$ /photo-of-the-week-ford-fusion-looks-like-aston-martin/ RedirectMatch 301 ^/blog/2013/02/07/bmw-4219eli-making-a-4-year-olds-dreams-come-true/$ /bmw-4219eli-making-a-4-year-olds-dreams-come-true/ # END Redirects # BEGIN Compress text files <ifModule mod_deflate.c> <filesMatch "\.(css|js|x?html?|php)$"> SetOutputFilter DEFLATE </filesMatch> </ifModule> # END Compress text files # BEGIN Expire headers #<ifModule mod_expires.c> # ExpiresActive On # ExpiresDefault "access plus 1 seconds" # ExpiresByType image/x-icon "access plus 2592000 seconds" # ExpiresByType image/jpeg "access plus 2592000 seconds" # ExpiresByType image/png "access plus 2592000 seconds" # ExpiresByType image/gif "access plus 2592000 seconds" # ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds" # ExpiresByType text/css "access plus 604800 seconds" # ExpiresByType text/javascript "access plus 216000 seconds" # ExpiresByType application/javascript "access plus 216000 seconds" # ExpiresByType application/x-javascript "access plus 216000 seconds" # ExpiresByType text/html "access plus 600 seconds" # ExpiresByType application/xhtml+xml "access plus 600 seconds" #</ifModule> # END Expire headers # BEGIN Cache-Control Headers #<ifModule mod_headers.c> # <filesMatch "\.(ico|jpe?g|png|gif|swf)$"> # Header set Cache-Control "max-age=2592000, public" # </filesMatch> # <filesMatch "\.(css)$"> # Header set Cache-Control "max-age=604800, public" # </filesMatch> # <filesMatch "\.(js)$"> # Header set Cache-Control "max-age=216000, private" # </filesMatch> # <filesMatch "\.(x?html?|php)$"> # Header set Cache-Control "max-age=600, private, must-revalidate" # </filesMatch> #</ifModule> # END Cache-Control Headers # BEGIN Turn ETags Off #<ifModule mod_headers.c> # Header unset ETag #</ifModule> #FileETag None # END Turn ETags Off # BEGIN Remove Last-Modified Header #<ifModule mod_headers.c> # Header unset Last-Modified #</ifModule> # END Remove Last-Modified Header # 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 WordPress
The link takes you to an inventory page and it loads SLOW. I looked at an apache error log and it says there are 10 redirect lol. Our datacenter said that it had to do with the makeup of the HTACCESS file. Anyone have an idea whats causing the redirects in the code above?
Thanks!
We customize your Blog, eBook, Press Release and Sale Copy content with your message.
:)
:)
:)
:)
:)
Grab a LIFETIME Discount off Elegant Themes
Grab a LIFETIME 40% Discount off The Best Spinner
HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu
HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu