.htaccess

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
psychotomus
Forum Contributor
Posts: 487
Joined: Fri Jul 11, 2003 1:59 am

.htaccess

Post by psychotomus »

I'm trying to convert the following url http://www.mypage.com/view-poem.php?use ... 20Is%20You

to

http://www.myspace.net/poems/Sim/1/My%20Live%20Is%20You

i am currently using the following mod rewrite and its not working

RewriteRule ^poems/(.*)/(.*)/(.*)/$ /view-poems.php?user=$1&id=$2&title=$3 [NC,L]


any ideas on what i'm doing wrong?
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

Does it work with http://www.myspace.net/poems/Sim/1/My%2 ... 0Is%20You/ ??

If so, add a question mark after the last slash in your rule (or just remove the slash)
Post Reply