K
K
KraymiKrons2021-06-19 10:45:09
htaccess
KraymiKrons, 2021-06-19 10:45:09

How to remove a symbol? from a specific URL?

Need to remove the symbol? from URL.

http://site/show?
И поменять на /
http://site/show/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2021-06-19
@dodo512

RewriteEngine on

RewriteCond %{THE_REQUEST} " /show\? "
RewriteRule ^ /show/? [R=301,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question