Mod Rewrite Cloaking

Mod Rewrite Cloaking

Posted by: stevereeno
Posted on: 2007-06-21 07:22:00

Hi, I'm very new to mod rewrite.

I want to cloak my url address like follows:

actual destination:
www.mydomain.com/xyz123abc789/mypage.php

to show like this:
www.mydomain.com/stuff/mypage.php

Is mod rewrite the best way and if so, how?

Cheers

Re: Mod Rewrite Cloaking

Posted by: dinochopins
Posted on: 2007-06-22 02:13:00

In reply to:

Is mod rewrite the best way and if so, how?


I think so. Try :

RewriteRule ^/stuff/(.*)$ /xyz123abc/$1


Tags: mod rewritemydomainmypagecloakurl addresscheers