Hi,
I need help. I want to know how to access http://www.example.com/uch3245
uch3245 is a value that is dynamics and keeps changing
Basically I want access http://www.example.com/xyz.php?var=uch3245 as http://www.example.com/uch3245
Please if any one can help me?
how to access http://www.example.com/uch3245 url
Moderator: General Moderators
-
only_anu2005
- Forum Newbie
- Posts: 1
- Joined: Sun Jul 13, 2008 8:32 am
Re: how to access http://www.example.com/uch3245 url
i think this has do do with apache url rewrite. I dont use them , so I cannot give more details
-
deadoralive
- Forum Commoner
- Posts: 28
- Joined: Tue Nov 06, 2007 1:24 pm
Re: how to access http://www.example.com/uch3245 url
Yeah mod_rewrite that one
Try this
This needs to go in a file called .htaccess in your document root folder
Hope this helps
Try this
Code: Select all
RewriteEngine on
RewriteRule ^([A-Za-z0-9]+)/$ /xyz.php?var=$1 [L]
Hope this helps