Need help with redirect (From a subfolder to another domain)

jasonddd

Newbie
Joined
Aug 4, 2021
Messages
3
Reaction score
0
Hello guys,

This is my first time posting in this forum, looking for positive responses from you guys ^^

So I'm writing on a subfolder of my main domain, let's say "abc.com/xyz/" and we're getting around 10k users/month for that subfolder only. Besides, we've bought a brand new domain "xyz.com" but haven't written anything on that domain yet. My question is: Which is the right way to redirect all the content of our subfolder to our new domain without losing its traffic & ranking?

That's all. I'm really appreciative of all the help you guys give me. Thanks again!
 
Just write in the /xyz subdirectory .htaccess file, and will moved all your subdirectory to new domain.

Code:
RewriteEngine On

RewriteRule ^(.*)$ https://xyz.com/$1 [R=301,L]
 
Just write in the /xyz subdirectory .htaccess file, and will moved all your subdirectory to new domain.

Code:
RewriteEngine On

RewriteRule ^(.*)$ https://xyz.com/$1 [R=301,L]
Thanks for your guide. However, will our traffic & ranking remain the same (or at least stable) after doing this? I've read some suggestions to write something on the new domain BEFORE redirecting the old contents to it. Is it something that we must do?
 
Thanks for your guide. However, will our traffic & ranking remain the same (or at least stable) after doing this? I've read some suggestions to write something on the new domain BEFORE redirecting the old contents to it. Is it something that we must do?
I honestly, never redirected to another domain. Domain authority will be different but redirects will work so I don't know.
I only have done redirects on the same domain and rankings stayed the same.
 
You might risk losing all of the traffic despite all of the efforts put in to make everything perfectly made, it takes time and sometimes a long one,

But if you really need to do so, you have to add both of the new domain and folder as propriety to GSC,
then move the subfolder files to the new domain, change the configs to make it accessible and redirect the old folder,
After that, report the redirection from the folder propriety in GSC settings
 
Back
Top