1

I'm trying to 301 redirect multiple urls to new url.

Using .htaccess File.

What changes i have to make in .htaccess

2
  • Have you tried this RewriteRule ^oldpage newpage [R=301,L] Apr 4, 2019 at 10:32
  • no i have no idea about this Apr 4, 2019 at 10:33

2 Answers 2

1

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

2
  • 1
    thnk you... work perfectly :) Apr 4, 2019 at 10:46
  • 1
    most welcome....
    – user68317
    Apr 4, 2019 at 15:29
0

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]
2
  • how can add multiple redirect ? Apr 4, 2019 at 10:41
  • So you can copy the same and replace with old and new URL. Are you looking for something different and short way? Apr 4, 2019 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.