Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amboutwe

    (@amboutwe)

    If you have WordPress and Yoast SEO Premium installed at oldsite.com, then yes. Otherwise, no.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Or if you have access to the old site try this in your .htaccess at the top for that site.

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_HOST} oldsite\.com [NC]
    RewriteCond %{REQUEST_URI} ^/url1/$
    RewriteRule (.*) https://newsite\.com/url2 [R=301,L]
    </IfModule>

    I’ve not tested that but it should work. Make a copy of your .htaccess file before you edit it just to be safe.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I redirect oldsite.com/url1 to newsite.com/url2 using Yoast SEO?’ is closed to new replies.