2

I have mydomain.co registered with Godaddy. In the zone editor I have the @ record pointing to my cloud server. I would now like to redirect mydomain.co/blog to a different server where I'll host a wordpress blog. I cannot figure out how to do this on Godaddy. All Godaddy support pages describe buttons that do not exist on my domain control panel.

I'm sure my question is a dupe, but I just can't find the original.

1 Answer 1

1

This is probably the quickest and simplest method:

Create a file 'index.php' at mydomain.com/blog/index.php and put this inside:

<?php
header('Location: http://new-wordpress.blog/');
?>

This will redirect all requests for mydomain.com/blog to the WordPress server.

1
  • Nice one ionFish this could be useful for me too, using static sites on CDN are awesome but contact pages are the problem due to PHP with this code I should be able to redirect on the contact page! n1. Commented Feb 14, 2013 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.