url rewriting

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
arvind_baghel
Forum Newbie
Posts: 1
Joined: Sun Sep 12, 2004 5:46 am
Location: india
Contact:

url rewriting

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

you should look into mod_rewrite
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

[big_search]mod_rewrite[/big_search]
Post Reply