Subdomain using .htaccess problem ?

by YongC
5 replies
  • |
Hi i'm trying use htaccess to point any sub domain follow this rule
Ex : to

Here is my htaccess code :

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\
RewriteCond %{HTTP_HOST} ([^.]+)\
RewriteRule ^(.*)$ /index.php?module=%1

It's work other my hosting but when i using on godaddy hosting, it's not work ?

Anyone can help me, Thanks so much !
#htaccess #problem #subdomain

Trending Topics