Page 1 of 1

rewrite URL

Posted: Tue Mar 29, 2005 11:39 pm
by hongco
Hi,

I've read few tutorial on mod rewrite for URL, but still have few questions about it.

Let's suppose i have this link:
http://www.mysite.net/index.php?option= ... &Itemid=45

and want to rewrite it to something link:

http://www.mysite.net/content/view/20/item/45

with the rewritten URL above, would I still be able to use this existing line on the script?

$itemid = intval($_GET['Itemid']);

Thankssss!

Posted: Tue Mar 29, 2005 11:45 pm
by ol4pr0
Looking at your url, i asume you are using mambo ?

i believe mambo has that information for you. Either on there site or in one of there files

Posted: Tue Mar 29, 2005 11:51 pm
by hongco
hello,

Thanks. yes, it is Mambo. I will look for the info. Thanks again.