B
B
Bruce Wayne2015-03-14 22:56:49
htaccess
Bruce Wayne, 2015-03-14 22:56:49

.htaccess config doesn't skip the sort url. how to be?

The configuration is like this
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.url\.net$ [NC]
RewriteRule ^(.*)$ url.net/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !- f
RewriteCond %{REQUEST_FILENAME} !-d
# XSS defense
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
#RewriteCond %{QUERY_STRING} GLOBALS(= |\[|\%[0-9A-Z]{0,2}) [OR]
#RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteCond $1 !^(index\.php|i|robots\.txt|css|js|plugins)
RewriteRule ^(.*)$ index.php/$1 [L]
Problem in url catalog/line.html?Good%5Bname %5D=&Good%5Bbrand_id%5D=&Good%5Bmaterial_id%5D=12&Good%5Bdosage_id%5D=&Good%5Bcountry_id%5D=&good_page=1
When sorting is called, I get a redirect. How to treat this matter?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
ShamblerR, 2015-03-16
@ShamblerR

the task is not set correctly.
1. do you need to save get requests when redirecting?
2. you need to add a get request when redirecting.
3. you don't need to redirect for get requests of this sample
. What is it?

B
Bruce Wayne, 2015-03-16
@skravets

Yes, I did not write a little. No need to redirect for get requests of this sample

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question