please help me !!

Discuss practical ways rearrange URLs using mod_rewrite.

please help me !!

Postby gencbilim » Tue Sep 30, 2008 11:55 pm

hi ;

i want domain.com/pfo.php?a=15478&b=galatasaray&c=3 changed with

domain.com/15478-galatasaray-3.html


please help me and i am sorry because my english speak is not good.i hope right wrote my problem.thanks.
gencbilim
 
Posts: 2
Joined: Tue Sep 30, 2008 11:49 pm

Postby richardk » Wed Oct 01, 2008 11:16 am

Try
Code: Select all
Options +FollowSymLinks

RewriteEngine On

RewriteRule ^([0-9]+)-([^/-]+)-([0-9]+)\.html$ /pfo.php?a=$1&b=$2&c=$3 [QSA,L]
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby gencbilim » Thu Oct 02, 2008 6:37 am

richardk wrote:Try
Code: Select all
Options +FollowSymLinks

RewriteEngine On

RewriteRule ^([0-9]+)-([^/-]+)-([0-9]+)\.html$ /pfo.php?a=$1&b=$2&c=$3 [QSA,L]



very very thanks richardk
gencbilim
 
Posts: 2
Joined: Tue Sep 30, 2008 11:49 pm


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron