Я разработал приложение с Codeigniter и
Я хочу переписать мою строку запроса GET из этого -
https://www.example.com/search?state=American%20Samoa
в это
https://www.example.com/job-vacancies-in-American-Samoa
Я ок go для любого из решений с маршрутом .htaccess или CI. php
Моя текущая связь .htaccess
RewriteOptions inherit
RewriteEngine on
#Force https:
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#CI index.php removal
RewriteCond $1 !^(index\.php|public|\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1
RewriteRule ^admin/(.*)$ /$1 [L,NC,R]