Mobile app version of vmapp.org
Login or Join
Carla537

: 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

@Carla537

Posted in: #Domains #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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Carla537

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme