We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • discuss.answer
    • 24374
    • 322 Posts
    On my babel site, I had more luck doing redirects like this:


    RewriteCond %{REQUEST_URI} ^/someoldurlhere$
    RewriteRule ^(.*)$ /en/newfolder/newurl.html [R=301,L]


    So I guess you would adjust that to something like this

    RewriteCond %{REQUEST_URI} ^/someoldfolderhere/
    RewriteRule ^/someoldurlhere/(.*)$ /en/newfolder/$1 [R=301,L]

    Also, make sure these redirects appear BEFORE the friendly URLs section in your .htaccess.
      • 35756
      • 166 Posts
      Hello rainbowtiger!

      And thanks for joining in! wink

      And omg, you posted a solution that is working for me, I can't believe it!

      This is how I got it working:

      RewriteCond %{REQUEST_URI} ^/en/melisande-liu.html$
      RewriteRule ^(.*)$ /en/scholarship-holders/melisande-liu.html [R=301,L]


      So thanks a lot to you!

      One more question I've got...

      for me this way looks much "better" in relation of passing the pagerank over to the new redirected site.

      So should I edit my other redirects I did this way:

      Redirect 301 /old-folder http://www.website.de/new-folder/


      or does this result in the same?

      Thank you!
        • 24374
        • 322 Posts
        Quote from: profilneurotiker at Aug 04, 2015, 09:21 PM
        Hello rainbowtiger!

        So should I edit my other redirects I did this way:

        Redirect 301 /old-folder http://www.website.de/new-folder/


        or does this result in the same?

        Thank you!

        As far as I know, they should both have the same result, since they both make 301 permanent redirects. I'm not a Google expert, though.
          • 35756
          • 166 Posts
          Thx again for your reply!

          I'm not a Google-expert as well, but I think the same...maybe someone else does know this and can help...