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] 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] 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
Archived
This topic is now archived and is closed to further replies.