jurky Posted December 8, 2017 Share Posted December 8, 2017 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 Link to comment Share on other sites More sharing options...
DataKick Posted December 8, 2017 Share Posted December 8, 2017 Nestačilo by používat pouze doménu s www, a doménu bez www automaticky přesměrovávat, papř pomocí wwwizeru? Link to comment Share on other sites More sharing options...
Caleydon Posted December 8, 2017 Share Posted December 8, 2017 @jurky: zaujima ma, preco potrebujes domenu prevadzkovat v oboch tvaroch? Link to comment Share on other sites More sharing options...
jurky Posted December 8, 2017 Author Share Posted December 8, 2017 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. Link to comment Share on other sites More sharing options...
WEBDVL Posted December 9, 2017 Share Posted December 9, 2017 (edited) 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 December 9, 2017 by WEBDVL (see edit history) Link to comment Share on other sites More sharing options...
jurky Posted December 11, 2017 Author Share Posted December 11, 2017 Dakujem, uz to funguje. Super Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now