I’ve rebranded my blog and need to set up redirects from olddomain.com to newdomain.com/blog. I assume a 301 redirect is the way to do this, but I’m unclear on which version to use:
Redirect 301 / https://www.domain.com/subfolder/
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} domain.com [NC]
RewriteRule ^(.*)$ https://www.domain.com/directory/index.html [R=301,NC]
What do you recommend?
]]>Redirect 301 / https://www.newdomain.com/blog
Thanks
Mohammad