M
M
Maxi Zaj2021-02-13 20:13:03
htaccess
Maxi Zaj, 2021-02-13 20:13:03

Redirect to htacess not working, what's the problem?

I have two files, I want to redirect

RewriteEngine On
RewriteBase /
Redirect /index.html /test.html

and it does nothing, if I write "kalyaka malyak" it gives an error, if I try to reindex from the index to the test, then everything is OK, I work with the open server , tell me where to dig httpd.conf I have already been pasted this from the Internet


Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all


help me, sos)))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Just Me, 2021-02-13
@Just__Den

RewriteEngine On
RewriteBase /
RewriteRule ^/?(.*) test.html [R,L]
testing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question