Jump to content
jurky

Prestashop 1.6 Multistore domena s www a bez www

Recommended Posts

Ahoj, vedel by mi niekto poradiť s mojim problemom?

Potrebujem pouzivať domenu v multistore s www aj bez www, ale neviem si s tým poradiť.

Ide mi to buď bez www alebo s.

Prosím pomôžte. Ďakujem

Share this post


Link to post
Share on other sites

Nestačilo by používat pouze doménu s www, a doménu bez www automaticky přesměrovávat, papř pomocí wwwizeru?

Share this post


Link to post
Share on other sites

Asi by stacilo aj presmerovanie, len mam obavu ze v MULTISTORE to nebude tak jednoducho fungovat, pouzivam v multistore 2 samostatne domeny a 1 subdomenu ako napr. xxx.sk , xxx.sk/yyy a yyy.sk a hladam nejake elegantne riesenie ktore by zabezpecilo ze je jedno ci navstevnik zada www.xxx.sk alebo iba xxx.sk.

Share this post


Link to post
Share on other sites

Vlož si do .htaccess toto:

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

 

Mám to na multishope a presmeruje všetko na www vrátane https

Edited by WEBDVL (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More