301 Redirect Multiple Url using .htaccess Magento 2
-
25-02-2021 - |
Frage
I'm trying to 301 redirect multiple urls to new url.
Using .htaccess File.
What changes i have to make in .htaccess
Lösung
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
Andere Tipps
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]
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange