-
-
Save brianleejackson/8787cca71b6147994095 to your computer and use it in GitHub Desktop.
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L] |
Yes, I redirected everything because I had a lot of content on my brianjackson.io domain. And I wanted to do everything under a brand name instead of personal branding. So yes, it was both for wanting it on woorkup.com and for SEO purposes.
I have a couple of blog posts on this topic:
https://woorkup.com/301-redirect-domain-registrar/
https://woorkup.com/free-url-forwarding/
Server-side redirects are always best unless you are using Cloudflare or a domain name provider. Then it's OK, because technically the request is hitting domain name provider/Cloudflare before it even hits the server. So either way works. I don't recommend using a plugin. But assuming the old domain is offline, you'll have to do one of the above approaches anyways.
As long as the "forward" has a 301 attached to it, then you should be good. If you don't have any content and don't care about SEO, then you don't even need to worry about 301.
It's great to know that you have also covered these topics! I have redirected an authority expired domain to my money site...And the link juice was passed in almost 15 days...The progress of the money site has started jumping in SERP. But many ppl still claims that it does not affect SERP at all.
I redirected that domain to an internal page not on the homepage By the way.
Redirecting another domain with 301s will impact it. Many factors come into play, but anyone who says it doesn't probably doesn't know how SEO works. 😄
And also is it very important to redirect the domain from server-side of our Domain name provider or do we have to just forward the domain?