URL Rewrite, soru?

0
Onaylı Üye
Üye
Katılım
23 Şubat 2005
Mesajlar
2,869
Tepki puanı
18
Konum
Samsun
Merhaba,

url/search/search.php?searchid=5439 bunu url/search.php?searchid=5439 adresine htaccess ile nasil yonleyebiliriz?

.htaccess de koyduğum kural;

RewriteRule ^search.php?searchid=(.*)$ search/search.php?searchid=$1 [NC]

Olmuyor. Cozum oneren?
 
0
Onaylı Üye
Üye
Katılım
19 Temmuz 2005
Mesajlar
2,014
Tepki puanı
1
Konum
about:blank
RewriteRule ^search.php?searchid=(.*)$ search/search.php?searchid=$1 [NC]

bold olan yer yanlış (url).
 
0
Onaylı Üye
Üye
Katılım
10 Kasım 2003
Mesajlar
0
Tepki puanı
3
Konum
istanbul
RewriteRule url/search/search.php?searchid=(.*) bunu url/search.php?searchid=$1 [NC]
 
Geri
Üst