This topic has 2 replies, 2 voices, and was last updated 1 years, 6 months ago ago by Tony Rodriguez
Is it possible that it redirects when someone writes a wrong url? Example: https://purostock.ar/producto/freidora-morelli-mod-f15dfddf/ instead of marking a 404 error for a non-existent page, go to send the visitor to the main page?
Hello, @mktnegocios,
Yes, it is possible to redirect visitors to the main page of your website when they enter a wrong URL or when they encounter a 404 error page. You can achieve this by setting up a custom redirect using a plugin or by modifying your website’s .htaccess file.
You can modify your website’s .htaccess file to create a redirect rule. To do this, you will need to access your website’s root directory using an FTP client or file manager. Then, open the .htaccess file and add a redirect rule using the following code:
ErrorDocument 404 http://example.com/
Replace “http://example.com/” with the URL of the page you want to redirect visitors to. Save the changes to the .htaccess file, and the redirect rule will be applied.
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up