i need to update url for larval website where i do try htaccess but not working

51 Views Asked by At

my current website is https://example.com/kelimebulucu?harfler=&baslayan=ar&iceren=rt&biten=ma&uzunluk=7 and i need to make it liek

https://example.com/kelimebulucu/{baslayan dynamic part}-ile-baslayan-icinde-{iceren dynamic part}-olan-{biten dynamic part}-ile-biten-{uzunluk dynamic part}-harfli-kelimeler

i tried with htaccess with tis code

RewriteRule ^kelimebulucu/([^-]+)-ile-baslayan-icinde-([^-]+)-olan-([^-]+)-ile-biten-([0-9]+)-harfli-kelimeler$ index.php?baslayan=$1&iceren=$2&biten=$3&uzunluk=$4 [NC,L,QSA]

it's not really work return 404 page. what's the currect way to fix this issue?

this htaccess code i do try but not working

RewriteRule ^kelimebulucu/([^-]+)-ile-baslayan-icinde-([^-]+)-olan-([^-]+)-ile-biten-([0-9]+)-harfli-kelimeler$ index.php?baslayan=$1&iceren=$2&biten=$3&uzunluk=$4 [NC,L,QSA]

0

There are 0 best solutions below