Support » How-To and Troubleshooting » Redirect old subdomain to new subfolder/subdirectory

Redirect old subdomain to new subfolder/subdirectory

  • tjyoung82


    Simply put, I need people who visit http://blog.globalhealthbridge.org/ to be redirected to http://www.globalhealthbridge.org/blog/

    That’s it! I can’t figure it out for the life of me! I’ve tried reading all kinds of posts on this topic, but still can’t seem to figure it out. Please help!

    I used to have the wordpress installation on the subdomain, but moved it to the main domain.

    Now nothing is on the subdomain and I just need the url to redirect permanently.

    Any help would be greatly appreciated! Thank you!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • beattle


    If your host as C-Panel, you should be able to make a permanent 301 redirect from there.



    I am using 1and1 hosting, which does not use cPanel, unfortunately.

    Here is a very simple way to jump to a subfolder.
    Open a simple text editor.
    Paste in this code:

    * Jump to subfolder
    header (“Location: http://www.moneydolist.org/wordpress/“);

    Change the http: link text to match your site.
    Save as index.php
    Use an FTP app to place this new file in your primary domain folder.

    Simple, no?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect old subdomain to new subfolder/subdirectory’ is closed to new replies.