Hey
Just wondering if i need to change a setting in apache to make URLS that look like this www.url.com/djdaz really point to www.url.com/user.php=djdaz
Kinda like Myspace does.
Hopefully this can be achived with a bit of code...
Thanks
mod_rewrite
had a feeling it would be the mod_rewrite.
Is this the only way to do it? i don't have access to the servers apache config stuff.
Try activating mod_rewrite by placing it in an .htaccess file in your public_html folder.
yeah i will do.
thanks peeps 🙂
In the .htaccess file you should have something like:
RewriteEngine On RewriteRule ^(.*)$ /user.php?user=$1
This should send: http://www.domain.com/username - to - http://www.domain.com/user.php?user=username Although the url will still read: http://www.domain.com/username