Request

Discuss practical ways rearrange URLs using mod_rewrite.

Request

Postby moss » Sat Jul 19, 2003 8:11 am

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.
moss
 
Posts: 1
Joined: Sat Jul 19, 2003 8:06 am

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 21 guests

cron