N
N
Nikolai2021-07-31 15:25:09
htaccess
Nikolai, 2021-07-31 15:25:09

How to make a .htaccess rule correctly?

All the best.

Can't do a redirect.

Need to redirect

from: https://domain.com/adm?q=text
To: https://domain.com/adm/text

This is a bit tricky for me.

UPD: c /#/ to / I will try to do it on the nginx side

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2021-08-02
@ADMiNZ

redirects with get parameters are done a little differently than regular redirects
https://donatstudios.com/RewriteRule_Generator
Thanks cap that's cool! Here you are marked as solved

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question