how to make a php script which makes automatic subdomain like username.sitename.com to redirect to sitename.com/index.php?username=$username in a unix cpanel 2 server
how to make automatic subdomain script
Started on the old forum in May 2013 · view the original in the archive · old links redirect here
laro696 wrote: I think this is done with wildcard domains and mod_rewrite in .htaccess
i would like to know how to edit .htaccess pleas give me any simple example
Added after 13 minutes:
laro696 wrote: I think this is done with wildcard domains and mod_rewrite in .htaccess
hey thanks bro i have found the answers on google by your tips.
laro696 wrote: I think this is done with wildcard domains and mod_rewrite in .htaccess
Yes this will done with .htaccess i w=done this but i lost the file i do this for a client i will share the code when i found