This works however it keeps the subdomain in the url and since it i am using joomla i cannot log into those pages because of the subdomain and the menus on the homepage have the subdomain on them and this cause my HOME link to point to the subdomain link i request. However, there is a solution in joomla to enable login, but what i really want to know is what is better for page ranking. Ive seen some sites with subdomains ranking higher for keyword in url which is optimally what id like if it does work.
For SEO purposes. Should i just create a component and have the subdomain redirect to the php url? Will this get indexed by google?
Or should i use this and hard code my menus and build my links to point to the subdomains on the homepage so that they get indexed instead?