I want to do...
the news.com can be any domain, I just want the url variable in the second url to be the same name as the domain with the .com chopped off.
www.domain.com/news.com to www.domain.com/index.php?url=news
and
www.domain.com/www.news.com to www.domain.com/index.php?url=news
Can anyone help?
Thanks.