New Zenner
- Join Date:
- May 2012
- Posts:
- 3
- Plugin Contributions:
- 0
Ultimate SEO .htaccess problem and broken Admin interface
I recently installed zen-cart on a new url and then added Ultimate SEO urls mod. http://imagenationclothing.com/
The mod seemed to be working correctly and changing the urls to seo urls when I clicked on the category pages, however now I can't log into my admin panel. Also, I started getting the 404 error: http://www.imagenationclothing.com/photo-skirts-c-1.html whenever I go so something other than the homepage. After looking around for support and answers, it seems like it could be a problem with the .htaccess file that was added as part of the mod.
The .htaccess code is as follows:
NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /imagenationclothing/
From Ultimate SEO URLs
RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-ezp-([0-9]+).html$ index.php?main_page=page&id=$2&%{QUERY_STRING} [L]
All other pages
Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-dT
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]
Any help is greatly appreciated - I'm confused as to why it would break the admin panel when it was working before.