• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
R
R
realt2014-09-08 16:54:33
htaccess
realt, 2014-09-08 16:54:33

How to implement a redirect in htaccess if the page is not found?

I need to implement a redirect if a user gets a 404 error. How can I do that?

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
D
Dmitry, 2014-09-08
@realt

ErrorDocument 404 /404.html

Similar questions
A
Alexander Arbuzov2014-02-20 14:23:02
How can I configure via .htaccess to show a certain page to all ip addresses except my current one? 3Reply
R
Reiters2020-08-18 19:39:33
.htaccess redirects from https to http and back, what to do? 1Reply
L
Leonid2016-04-26 15:28:56
How to competently implement redirects for PS when transferring a site to another platform? 1Reply
A
Adik Izat2020-08-19 14:28:26
How to properly configure .htaccess so that scripts, images, etc. loaded without 404? 1Reply
M
Mors Clamor2021-12-05 12:14:28
How to set up a redirect to a subdirectory? 0Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners