0

I have been searching the forums and web with no working solutions. I tried almost every solutions found here but so far no luck.... Here is it: I have a website http://example.com/user=me and I want that when the user enter me.example.com he gets the content of http://example.com/user=me . note that I do not have a me.example.com subdomain, how can I achieve this? Maybe relevent if I add that I'm on a shared server. I've seen many .htaccess script, copied and pasted them but so far no luck.

here is my htaccess (for removing the .php)

RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php [QSA,L]
AddHandler application/x-httpd-php55  .php55 .php

any help?

Jayo2k
  • 251
  • 3
  • 14
  • http://stackoverflow.com/questions/586129/create-subdomains-on-the-fly-with-htaccess-php – Olaitan Mayowa Jun 28 '15 at 22:12
  • thanks but I visited this question and it did not do the trick – Jayo2k Jun 28 '15 at 22:21
  • did you follow every step? its not just a.htacess file you need to edit –  Jun 28 '15 at 22:23
  • well, one was wildcart on private server and for the other, they said just modify .htaccess ... Could you explain the whole process for .htaccess? – Jayo2k Jun 28 '15 at 22:28
  • 1
    the whole process could not be any clear than what is set out on that post. if you feel this is is not a duplicated post again with details of what you have done and where exactly you are stuck –  Jun 28 '15 at 22:43

0 Answers0