D
D
dmitrypix2017-03-20 10:29:54
htaccess
dmitrypix, 2017-03-20 10:29:54

How to make a redirect in .htaccess to another site if the page is not found?

Tell me how you can redirect to another site if the page is not found on the current site.
That is - site/post1 -> old.site/post1, site/post2 -> old.site/post2 It is
possible through htaccess or PHP.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2017-03-20
@shambler81

Wrote here https://klondike-studio.ru/blog/snipet-for-htaccess/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question