A
A
Andrey2018-05-15 12:47:15
htaccess
Andrey, 2018-05-15 12:47:15

How to redirect wordpress from index.html to without?

Good afternoon!
How to redirect from index.html to without.
I found a bunch of different ways for htaccess on the internet, but still, when you enter domain/index.html in the address, it will enter a 404 page

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-05-15
@azerphoenix

Hello! And what software do you have installed on the server - Apache or nginx?
The fact is that for static files you can make a redirect to nginx only through the configuration file, but not through htaccess.
As for redirecting via htaccess, you should pay attention to regex.
Nginx - https://stackoverflow.com/questions/31273456/nginx...
Apache - https://stackoverflow.com/questions/28949672/htacc...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question