: Redirect to another site using a registered domain. Godaddy I have a domain registered on godaddy (daniloaraujosilva.com). I would like when I type daniloaraujosilva.com/blog, for example, it redirects
I have a domain registered on godaddy (daniloaraujosilva.com).
I would like when I type daniloaraujosilva.com/blog, for example, it redirects to my blog (sapiensgarou.blogspot.com).
How can I perform this?
Obs.: I think this is has a relation with CNAME or A, but I don't know exactly. I am a little new at this.
More posts by @Carla537
1 Comments
Sorted by latest first Latest Oldest Best
If you only wish to redirect the /blog subdirectory then I wouldn't bother messing with domain name records at all, I would go for a simple 301 redirect. This will allow you to use the daniloaraujosilva.com domain for other content and only forward the /blog directory to your blogspot domain. An easy way to accomplish this would be to create a PHP file named index.php and place it inside your /blog directory:
<?php
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: sapiensgarou.blogspot.com );
?>
From an SEO standpoint this will forward all traffic properly from your domain name to your blogspot url. I am assuming that you have a hosting account connected to your GoDaddy domain and the ability to create a PHP file, if not then a different method will need to be used.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.