crashmaster Posted July 9, 2009 Share Posted July 9, 2009 Hi there, can anyone explain me, why this code doesn't work?? RewriteCond %{HTTP_HOST} ^dogs\.csfauna\.cz$ [NC] RewriteRule ^(.*)$ /index.php?page=ads¶ms=mammals-dogs [QSA,NC,L] Quote Link to comment https://forums.phpfreaks.com/topic/165370-mod-rewrite-with-sub-domains/ Share on other sites More sharing options...
lifetalk Posted July 26, 2009 Share Posted July 26, 2009 Have you tried this variation? RewriteCond %{HTTP_HOST} ^dogs\.csfauna\.cz$ [NC] RewriteRule ^(.*)$ "http\:\/\/www\.csfauna\.cz\/index\.php?page=ads¶ms=mammals\-dogs" [QSA,NC,L] Quote Link to comment https://forums.phpfreaks.com/topic/165370-mod-rewrite-with-sub-domains/#findComment-883119 Share on other sites More sharing options...
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.