Đang Thực Hiện

Apache mod_rewrite for more thant 10 querystrings URL

In my website I have a form with a lot of different parameters. The form is submitted using GET method. I get following URL (actually there are more than 25 parameters):

[url removed, login to view]

I want to redirect this url to SEF url (or something similar):

http://www.domain.com/makemyday/arg1/arg2/arg3/////not/2012/high//asc/////1

Than i have to get all of the parameters from the last URL to the $_GET or $_REQUEST array in PHP.

I have a code for 2 parameters (.htaccess):

RewriteCond %{QUERY_STRING} ^aq=([^&]*)&sw=([^&]*) [NC]

RewriteRule ^test\.php$ /makemyday/%1/%2? [R=301,L]

RewriteRule ^makemyday/(.*)/(.*)/?$ [url removed, login to view]$1&sw=$2 [L,NC]

But this code is not working with more than 9 querystrings and is also not working if query string is empty.

WORKING: [url removed, login to view]

NOT WORKING: [url removed, login to view]

Kỹ năng: Apache, PHP, SEO

Xem thêm: search string in array, website url rewrite, vf, SW, seo fr, php fr, ki , htaccess apache, apache htaccess working, array form, php seo rewrite, form array, htaccess mod_rewrite, apache rewrite redirect, url 301 url, redirect url code, htaccess redirect query string, apache redirect domain, apache 301, htaccess 301, apache htaccess redirect 301, http redirect code, apache htaccess redirect, url rewrite 301, url 301

Về Bên Thuê:
( 16 nhận xét ) Bogojina, Slovenia

Mã Dự Án: #1616789

Đã trao cho:

Solent

Please see PM

$30 USD trong 1 ngày
(14 Đánh Giá)
3.4

2 freelancer đang chào giá trung bình $30 cho công việc này

yifkdodbndo

Please check the PMB

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0