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?Site URL: hidden Theme version: 9.1.2 WooCommerce version: 7.6.1
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.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.