Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - LightMart (SKU# FLEX-00012)

TOPIC: The cart does not add any items in browser when th

The cart does not add any items in browser when th 10 years 1 week ago #9067

The cart does not add any items in browser when the url has www
The administrator has disabled public write access.

The cart does not add any items in browser when th 10 years 1 week ago #9071

Open this PHP file:

yourdomain.com/configuration.php

and make sure this field is blank:
	public $live_site = '';

So, your Joomla will decide its live_site by itself.

If this line is already blank, then there is one thing left:

Make that line as this:
	public $live_site = 'www.yourdomain.com';

and re-direct non-www to www by adding the below lines to .htaccess
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

So,
1- http:// yourdomain.com will be redirected to http:// www.yourdomain.com
2- https:// yourdomain.com will be redirected to https:// www.yourdomain.com

(we are using the same .htaccess lines in flexiblewebdesign.com as well, try to access flexiblewebdesign.com and you will be redirected to www.flexiblewebdesign.com)

Alternative ways: stackoverflow.com/questions/1157255/how-to-redirect-non-www-to-www-urls-using-htaccess

Regards,
Support
Last Edit: 10 years 5 days ago by Support.
The administrator has disabled public write access.
Time to create page: 0.160 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo