301 Redirect Multiple Url using .htaccess Magento 2
-
25-02-2021 - |
سؤال
I'm trying to 301 redirect multiple urls to new url.
Using .htaccess File.
What changes i have to make in .htaccess
المحلول
Try This :-
<IfModule mod_rewrite.c>
############################################
## enable rewrites
Options +FollowSymLinks
RewriteEngine on
redirect 301 /old_url new_url with full path
......
You can set multiple redirects Like this
نصائح أخرى
Add this in your .htaccess file replace the old and new URL for each one
RewriteEngine on
RewriteRule ^venia-accessories/venia-belts.html http://magento.com/venia-accessories/venia-jewelry.html [R=301,L]
لا تنتمي إلى magento.stackexchange