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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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