D
D
Dmitry2019-02-16 20:17:21
htaccess
Dmitry, 2019-02-16 20:17:21

How to do a redirect with htaccess?

I tried different options, including with url encoding (encoded, spaces and a comma), but the result is always wrong, either extra characters get into the text or something else ..

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)$ https://api.whatsapp.com/send?phone=79999074426&text=Покажи, как работает помошник в WhatsApp/$1 [R=301,L]
</IfModule>

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