N
N
Ninazu2015-11-20 10:07:17
htaccess
Ninazu, 2015-11-20 10:07:17

How to trim REQUEST_URI via .htaccess ending with =?

How to truncate a URI like this
localhost/about/?= to localhost/about That's a specific case. When uri ends with ?= So that the condition for: localhost/about/? localhost/about/= localhost/about/?asd= localhost/about/?=asd localhost/about/?asd=fsd Should have worked in theory






RewriteCond %{REQUEST_URI} ?=$

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ShamblerR, 2015-11-21
@ShamblerR

get parameter is not part of the url
RewriteCond %{QUERY_STRING}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question