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/p...kirts-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.
Re: Ultimate SEO .htaccess problem and broken Admin interface
Try changing your rewrite base to this, since your zencart does not appear to be in a subfolder:
RewriteBase /
This rewriter mod has been upgraded by someone for 1.5, but can be tricky at first. See threads:
http://www.zen-cart.com/showthread.p...imate-seo-urls
http://www.zen-cart.com/showthread.p...Ultimate-URL-s
There may be more links.
sph
prommart com
promdressesforless us
PS: If you want to use the www version for your site url, you might add something like this at the end of your htaccess (after setting it up in your configuration.php files)
RewriteCond %{HTTP_HOST} ^promdressesforless.us$ [NC]
RewriteRule ^(.*)$ http://www.promdressesforless.us/$1 [R=301,L]
Re: Ultimate SEO .htaccess problem and broken Admin interface
Quote:
Originally Posted by
SPH
Try changing your rewrite base to this, since your zencart does not appear to be in a subfolder:
RewriteBase /
This rewriter mod has been upgraded by someone for 1.5, but can be tricky at first. See threads:
http://www.zen-cart.com/showthread.p...imate-seo-urls
http://www.zen-cart.com/showthread.p...Ultimate-URL-s
There may be more links.
sph
prommart com
promdressesforless us
PS: If you want to use the www version for your site url, you might add something like this at the end of your htaccess (after setting it up in your configuration.php files)
RewriteCond %{HTTP_HOST} ^promdressesforless.us$ [NC]
RewriteRule ^(.*)$ http://www.promdressesforless.us/$1 [R=301,L]
Thanks! I figured that out and it seems to be working, however my admin panel is still not working (I get to the login page) but after typing user name and password I just get a blank white page. Any ideas on why this isn't working and how I can fix it?
Re: Ultimate SEO .htaccess problem and broken Admin interface
Does your admin url change from the login to the next, blank page? Without revealing your re-named admin folder, can you give an idea of any change?
Also, what is your main url: www or non-www?
How about your configuration.php files in admin includes and includes? Are they set up correctly?
admin/includes/configure.php example:
define('HTTP_SERVER', 'http://www.yourdomain.com');
define('HTTPS_SERVER', 'https://www.yourdomain.com');
define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.yourdomain.com');
includes/configure.php example:
define('HTTP_SERVER', 'http://www.yourdomain.com');
define('HTTPS_SERVER', 'https://www.yourdomain.com');
Once you get in to your admin, looks like you still have to re-set the layout boxes controller to get your columns.
sph
prommart com
Re: Ultimate SEO .htaccess problem and broken Admin interface
That link is an SEO re-writer for Wordpress. Is it also supposed to work with zencart?
The zencart mod Ultimate SEO URL works with zencart 1.3.9h and 1.5. I don't know that it is the cause of the problem in this thread.
sph
prommart com
Re: Ultimate SEO .htaccess problem and broken Admin interface
Im havning a server error for some issue after install this great plugin..
Its says:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
I would like to fix this ASAP!!
Re: Ultimate SEO .htaccess problem and broken Admin interface
You're not likely to get much help ASAP without a link or non-linked text address to your site so people can take a look at what's going on.
Also, the most recent main thread for Ultimate SEO URL seems to be here:
http://www.zen-cart.com/showthread.p...imate-SEO-URLs
But the zencart moderators don't like duplicate posts much, so I don't know how they'd feel about re-posting there. Maybe they'll move this thread there.
Re: Ultimate SEO .htaccess problem and broken Admin interface
I have checked everything out multiple times and don't see much of any issues or missed files. I install the new_files_150_English first then the new_files_150. After I placed the .htacess in the root and changed the /shop/ to /websitename.com/. I thought it was going to be easy but became a headache. The only Thing I get confused on is, do I install both new_files_150 & new_files_150_english folders or do I only install the new_files_150. I notices in both folders they have a admin/includes/language/English/extra_definitions SEO.php file. Whys that???
I don't have a link because I installed the plugin. If you would like I'll install first thing in the morning and post the link up..
Re: Ultimate SEO .htaccess problem and broken Admin interface
Re: Ultimate SEO .htaccess problem and broken Admin interface
Quote:
Originally Posted by
selcyis
I have checked everything out multiple times and don't see much of any issues or missed files. I install the new_files_150_English first then the new_files_150. After I placed the .htacess in the root and changed the /shop/ to /websitename.com/. I thought it was going to be easy but became a headache. The only Thing I get confused on is, do I install both new_files_150 & new_files_150_english folders or do I only install the new_files_150. I notices in both folders they have a admin/includes/language/English/extra_definitions SEO.php file. Whys that???
I don't have a link because I installed the plugin. If you would like I'll install first thing in the morning and post the link up..
Here's the link, it's not installed yet but will be tomorrow morning. Dowelldentalproducts(dot)com/1index.php. The site is hidden for now. When you go on each page just place a 1 infront of the index.