Okay, so here is what I've got:
http://internal.vafta.com
When we enter a URL (asifism.com) and press enter, we get
http://internal.vafta.com/index.php?vwe ... sifism.com
Okay, all good. Here is what my .htaccess file has:
RewriteEngine On
RewriteRule ^(.*)-(.*)$ index.php?vwebsite=$1.$2 [L]
So, this basically means that I can type: http://internal.vafta.com/asifism-com in my address bar and that passes asifism.com to my script, thereby executing it propertly.
How can I write the Rewrite Rule so I don't have to use asifism-com in the URL and I can use asifism.com. What do I do to make it accept the . instead of the -
Help will be appreciated.