Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

301 Redirects

$
0
0

Replies: 0

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 / http://www.domain.com/subfolder/

RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/directory/index.html [R=301,NC]

What do you recommend?


Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>