Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Site keeps redirecting


Guest

Recommended Posts

I have built a site for one of my clients. We started out with one domain name and then they wanted the site moved to another domain. I moved it for them and I had the server techs install an SSL certificate on the domain. The problem we have now is that the site keeps redirecting to the old domain and puts up the product not found page. I have cleared all the cache on the site. I cleared all the sessions from the database. For the life of me I can't get it to stop redirecting. I had Ultimate SEO URLs installed but I removed it thinking this was causing it. I have removed kiss_metatags and reinstalled it but it still redirects. What else can I do?

 

This is the current domain:

 

http://johnnysrv.com

 

Almost very time I open the site, it redirects to this url:

 

http://johnnys-rv-sales.com/product_info.php?cPath=29&products_id=62

 

This domain is parked on top of the current domain.

 

Please help

Link to comment
Share on other sites

@@dumdum

 

Check the two configure.php files to ensure the new path is correct. Also check the .htaccess file to ensure the path is correct. I know you said you removed SEO URL's, but ensure it is also removed from the .htaccess file.

 

 

 

Chris

Link to comment
Share on other sites

Worked OK for me (stays on johnnysrv.com without redirecting). Firefox 12. I did notice two things:

  1. You have 4 blank lines before the <!DOCTYPE> tag. That may be causing various browsers to drop into "quirks" mode and not render the site as intended.
  2. You have your https form for the base link, canonical tag, and some other places. Is there a purpose for that? Normally the whole site is kept in http except for certain pages with sensitive information, which are automatically put into https mode.

Link to comment
Share on other sites

Worked OK for me (stays on johnnysrv.com without redirecting). Firefox 12. I did notice two things:

  1. You have 4 blank lines before the <!DOCTYPE> tag. That may be causing various browsers to drop into "quirks" mode and not render the site as intended.
  2. You have your https form for the base link, canonical tag, and some other places. Is there a purpose for that? Normally the whole site is kept in http except for certain pages with sensitive information, which are automatically put into https mode.

I found the problem, I simply copied the entire site from the old domain and uploaded it to the current domain. While the site was on the old domain, I had put in a Google script. That was causing the redirect. As far as the 4 blank lines before the <!DOCTYPE> tag, I have searched the application_top.php and the template_top.php and the header.php and I still can't find whats causing it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...