• Sign in to follow this  
    Followers 0

    (0 reviews)

    Redirect [.htaccess]

    Alright, say you have (www.yourdomain.com) and you want to to go to (www.yourdomain.com/Home/)

    And Home is a subfolder in your wwwroot.


    Just add this to your .htaccess


    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$
    RewriteRule ^(/)?$ home [L]


    Just change "YourDoamin.com" to your domain and "Home" to the subfolder. Reload yourdomain.com and boom, redirects.


    Sign in to follow this  
    Followers 0

    User Feedback

    Create an account or sign in to leave a review

    You need to be a member in order to leave a review

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    There are no reviews to display.