WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Use Redirection plugin to $redirect_url = "http://mydomain.com/$subdomain" (1 post)

  1. poohberry
    Member
    Posted 2 years ago #

    I need to redirect any subdomain so that it points to a folder that really doesn't exist to create a custom page for my people. Their subdomain can change at their whim and many are added everyday so it cannot be static. Is there a better way to do this using the redirect plugin? or anything else?
    $redirect_url = "http://mydomain.com/$subdomain";
    echo "<meta http-equiv='refresh' content='0;url=$redirect_url'>";

    http://wordpress.org/extend/plugins/redirection/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic