Page 1 of 1

url rewriting

Posted: Thu Sep 16, 2004 4:53 am
by arvind_baghel
sir i am try to running your script and it will be ready for work but there is some problem create. I have a main file example.php it's so so many categories just like computer,arts,sports....i give these category a particular id suppose computer=c=1
sports=c=2
arts=c=3 so many id 4,5,6....
when we click any hyperlink(categories)it shows url http://localhost/url1/hn_urlrewrite_exa ... e1.php?c=1
it open all link
but i want hyperlink like this
http://localhost/url1/hn_urlrewrite_example/example1/1/ this hyper link already i have showed but when open next page shows 404 error found or it shows whole hyperlink and remote address not show content of all page
so please help me immediately
i have found many solutions releted to it.
but its all not works
plz proper code with .htaccess and request URI and Path_info and how to pass values for multiple links
thanks and Regards
@rvind baghel

Posted: Thu Sep 16, 2004 6:16 am
by John Cartwright
you should look into mod_rewrite

Posted: Thu Sep 16, 2004 8:00 am
by m3mn0n
[big_search]mod_rewrite[/big_search]