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