Redirecting to home page before sale is complete

Started by dbzeroone, October 15, 2009, 02:50:56 AM

Previous topic - Next topic

dbzeroone

I only have the standard Joomla .htaccess file in place. The only thing I've added is this:


RewriteCond %{HTTP_HOST}   !^www\.mpacarts\.org$ [NC]
RewriteRule ^(.*)$         http://www.mpacarts.org/$1 [R=301,L]


Odd thing is, if I disable .htaccess (by changing the name), the checkout link on the cart does nothing. It pauses for a moment while it appears to be trying to load something, but then stays on the same page. With the .htaccess enabled, at least it goes halfway through the checkout process. I do NOT have SEF URLs on.

jenkinhill

The .htaccess would rewrite https requests to http so that could be one issue, and also you may still need to force www.

I'd ask the webhost what the .htaccess should be for your server to allow http and https as well as force www.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


dbzeroone

SUCCESS!!!!

The last 2 posts by Jenkinhill and BanquetTables.pro got me thinking...

The SSL was issued to www...

The hosting company has an option in their control panel, completely independent of the .htaccess file, to add the 'www' before a domain name.

I checked the option to add 'www' if necessary and voilĂ ! Everything works perfectly!

My most sincere thanks go to Scar, Jenkinhill and BanquetTables.pro for sticking with me and working this out!

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
7+4+3:
Shortcuts: ALT+S post or ALT+P preview