A
A
Alpha122019-04-26 13:02:54
Web servers
Alpha12, 2019-04-26 13:02:54

How can I make such a redirect?

Good afternoon in the htaccess file I write
RewriteRule ^xmlrpc.php$ site.ru [L]
and

RewriteRule ^xmlrpc.php$  site.ru [L]
Redirect 301 /xmlrpc.php?rsd https://site.ru/
Redirect 301 /xmlrpc.php https://site.ru/

Doesn't work, please help me figure out why

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question