the easiest and best way to do that is to edit your .htaccess file.
Your .htaccess file is located in your FTP under the folder public_html (usually).
This way, when a user is trying to access your old url /producto/
it will immediately change to /product/ as a 301 permanent redirect.
In that file, you will see these lines-
RewriteEngine On
RewriteBase /
After those line, try adding this line-
RewriteRule ^producto/(.*) product/$1 [R=301,L]
I didn’t test this code but i believe it should do the trick
Related Posts:
- WooCommerce return 404 on category pages
- Permalinks for WooCommerce Categories and Subcategories
- Can two products with the same name but different category produce unique URLs?
- Add .html to Woocommerce permalinks [closed]
- Woocommerce Product Attribute Permalink doesn’t work?
- remove product-category base but still redirect to page with same permalink
- Woocommerce subcategory 404
- Add sku to product url woocommerce [closed]
- WordPress rewrite_rules_array rule not working properly
- Permalinks problem woocommerce no separating slash between categories
- Woocommerce product page 404 not found
- WordPress and Woocommerce Chinese Permalink
- Added .html to Woocommerce permalink but pagination don’t work!
- Add a product attribute to permalink in WooCommerce
- Single product link in woocomerce
- permalinks url with woocommerce
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- How to get permalink and title from post ID?
- Pretty permalinks for search results with extra query var
- Broken wordpress permalinks on pages only
- Post being redirected to attachment post
- Without index.php in permalinks I get 404 across site
- Changing Permalinks to a Custom Permalink causes a 404 Error [no matter what I do]
- How to assign a Permalink to a Function
- Redirect user if it’s not logged in
- Random Alphanumeric Key URLs
- How to get this JavaScript working with get_permalink
- Add a css class to a taxonomy permalink
- Search result permalink
- Permalinks Structure and 404 Question
- Change of permalink structure – redirects in htaccess breaks the archive links
- Change permalinks with ACF values
- Changing Custom Permalink with Filter
- WordPress installation in subfolder not working with nginx
- 404 with post name permalinks
- Should there be a trailing slash in the permalink
- Link to external URL
- Confusion about how a URL is being parsed
- Clean install – Changing permalinks in twentyeleven give 404
- Adding page links to content that automatically convert to pretty permalinks?
- WPML get permalink to the translated post from the original post
- Add custom post type name in term link?
- Can I create permalinks like this: /%post_type%/%postname%/
- WordPress post-name permalink redirects to site.com
- get_permalink() is not working after published
- WordPress add_rewrite_tag working for Posts, but not working for Pages
- WordPress can generate numeric permalinks, which then 404
- WordPress Automatic Update to 3.9.1 breaks Permalinks [closed]
- Static Text in Permalink
- Pre-populate Slug / Permalink with URL
- Permalink changes gives me 404 [closed]
- How do I make 301 redirection from `/%post_id%/` to `/%postname%/`?
- Allow Permalinks to Work with and without Hyphens
- WordPress permlink is not working
- Using one slug/post-name for multiple pages
- Gutenberg output URL to post from attribute with post ID
- Broken wordpress site, non-working links and no access to wp-admin page
- How can I get the list of all pages URLs including their shortlink IDs?
- How do I remove /wordpress/ from my permalinks?
- How to change custom post type, blog post and page permalink by template?
- Page found with “Plain” permalink but not with “Post name”
- Post Name Permalink setup gives 404 error inside sub-directory
- How to use Specific URLs for some posts
- Change permalinks for specific pages
- How can you create a Permalink structure on a WordPress site?
- How to replace permalinks
- Multiple Tags Issue in Permalinks
- Auto Changing Text Case
- Woocommerce Product permalinks “product” word is not working
- Is it possible to change the permalink structure without changing the old permalinks to posts and without 301 redirects?
- Adding a ‘blogs’ prefix in the URL structure but only for blogs
- One Time Access URL after purchasing subscription
- Whole site’s pagination not working after rewriting product permalink
- How to redirect old permalinks to ones generated by [WP-Hashed-ID] plugin?
- How to create a standard WP Page that has the same url as an archive
- One post but two separate permalink structure and template views
- permalinks constantly needs re-saving
- Link to a custom page without a permalink?
- How to change permalink for pages in WordPress?
- Disable “similar permalink” redirect [duplicate]
- Why aren’t my posts being saved or published?
- Retain Post title keywords in URL even if user changes post title or any other way to achieve SEO friendly permalink?
- How to change the URL using rewrite rule in wordpress
- Permalink not working in Apache on Linux
- Permalink problem ( Blog posts vs custom post types)
- Search and replace post URL’s on page output?
- Two urls for one website
- Added incorrect rewrite rule now getting an error
- WordPress Pagination Not Working After Transfer from Localhost
- Accidentally changed the permalink structure
- Keep wordpress from modifying my permalinks
- Permalink Issue – Funny & Weird
- customize urls displayed by previous_post_link and next_post_link
- Pagination is not working, how to trace it properly?
- Files placed in directory with wordpress 404
- wordpress home is gone
- how to create several url aliases for a page
- Permalinks Won’t Work
- Post URL not working according to permalink setting
- My permalinks no longer have the “news” category prefix in the link and it’s causing 404 errors for articles published on the web