Create .htaccess file

Use like this:

Options +FollowSymlinks
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Get username urls
RewriteRule ^(.*)/?$ redirector.php?path=$1 [L]

In the redirector.php file, do a $path=$_GET["path"];
then,  work with it from that.





On Sunday, 13 May 2012 15:01:45 UTC+12, hrecter wrote:
>
> Hi All 
>
> Would there be anyone in the Auckland area that would be willing and 
> able to show/teach/help me with url rewriting and the best way to do 
> it. 
>
> I have tried on my own with Google searches etc but I can not work it 
> out. 
>
> Any help would be appreciated. 
>
> Hans Recter

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to