Sådan omdirigeres 404 til hjemmesiden ved hjælp af . htaccess
- Åben .htaccess-fil. Du finder typisk .htaccess-fil i rodfilen til dit websted (f.eks.g / var / www / html /). Du kan åbne det ved hjælp af vi editor $ sudo vim / var / www / html /.htaccess. ...
- Omdiriger 404 til hjemmeside ved hjælp af . htaccess. ...
- Genstart Apache Server. Genstart Apache Server for at anvende ændringer $ sudo service apache2 genstart.