hoho Posted March 24, 2013 Report Posted March 24, 2013 Sveiki! Nevaru atrast skriptu mod rewrite lai atvērot http://site.com/dir/ būtu redirekts 301 permanently moved redirect uz http://www.site.com/dir/. RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] strāda tikai ja nav apakšdirektoriju. Quote
hoho Posted March 24, 2013 Author Report Posted March 24, 2013 un vēl vien jautājums par mod rewrite ... vajadzētu uztaisīt redirektus 301, ņemot nost parametrus, piem. www.site.lv/?aaa=ssss ==> www.site.lv www.site.lv/dir/?aaa=ssss ==> www.site.lv/dir/ bet tā, lai varētu norādīt vienu izņemumu, ja GET parametrs ir "language", tad to vajag atļaut. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.