We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
redirect 404 pages to home page
redirect 404 pages to home page
hello
can i ask how to redirect 404 pages to home page ??
i try to add to .htaccess :
ErrorDocument 404 http://my domain.com
but it didnt work
thanks
can i ask how to redirect 404 pages to home page ??
i try to add to .htaccess :
ErrorDocument 404 http://my domain.com
but it didnt work
thanks
Re: redirect 404 pages to home page
are you using native apache? do you use cloudflare?
Re: redirect 404 pages to home page
In that case you need to edit the template you are using, for example default.tpl and default.stpl you need to add (or edit) a line similar to this error_page 404 /404.html; and rebuild users.
In /usr/local/vesta/data/templates/web/nginx/php-fpm/
Rebuild all users
In /usr/local/vesta/data/templates/web/nginx/php-fpm/
Rebuild all users
Code: Select all
cd && wget repo.sysdop.com/rvcp.sh -O rvcp.sh && sh rvcp.sh && echo "done"
Re: redirect 404 pages to home page
thank you sysdop