Hi to all,
I am sarah. New to this forum & also to .htaccess rules too. I am currently in a development of php website using drupal and it requires a subdomain feature. Please help me how to solve the below issue using the Rewrite rules
My Requirement is:
Consider this url :
http://abc.mydomain.com/index.php?q=home . Using the .htaccess rules i need to redirect the request as :
http://abc.mydomain.com/index.php?q=community/abc/homeHere the string "community" is an static text and the subdomain name "abc" is required to insert in the middle of the two strings (like community/abc/home). Here "q" is an querystring value.
Is it possible to write a rule like this? Or please give me any suggestions how to resolve this issue.
Thanks in advance..
Sarah