I’m trying to create some nifty blogging software with some clean and tidy URLS
I want to make it so if someone types in:
subdomain.domain.com, it will be received as domain.com/index.php?k=subdomain.
I have read many guides, but I can’t seem to get this to work and I know the rewrite module is on as I can make simple ones work.
Do I need to have access to the httpd.conf to make this happen? A few guides I have read said that I need to create a server alias for *.domain.com to domain.com… I think I might have this set up in cPanel already but I’m not sure and neither is my useless tech support I get for free from them.
Furthermore, eventually I would like to make it so that
subdomain.domain.com/somenumber/sometitle/somedate is received as:
domain.com/index.php?k=subdomain&article=somenumber …
Any help would be greatly appreciated!