lanys Posted August 30, 2005 Posted August 30, 2005 Hello, How to do redorect, that, when user writes www.domain.com he will be redirected to www.domain.com/folder/ ? Thanks for any help Quote
TCH-Rob Posted August 30, 2005 Posted August 30, 2005 In your cPanel go to "Redirects" and in the fields leave domain.com blank and in the second box enter "www.domain.com/folder". Use the dropdown to make it permanent and that should be it. You can also edit your .htaccess to add the line "RedirectMatch permanent ^/$ http://www.domain.com/folder" Quote
abinidi Posted August 30, 2005 Posted August 30, 2005 (edited) To create a redirect, use the following procedure: 1. Log in to your cPanel. It is located in a subfolder of your domain. If your domain were example.com, cPanel would be located at example.com/cpanel. 2. Look for the Site Management link (or the Site Management Group; depending on your cPanel skin, this step may differ. If you have a Site Management group, you can go directly to step 3, as the Site Management group isn't a link). 3. Click on Redirects 4. Fill in the fields with the information, as requested. A.If you want to forward a subfolder to a different loation (eg forward www.example.com/paul to www.totalchoicehosting.com), then in the first box, type paul and in the second box type www.totalchoicehosting.com. B. If you want to forward your root to a different location, (eg forward example.com to example.com/paul, then leave the first field blank (this will redirect the root folder), and enter the destination in the second blank. 5. Choose "temporary" or "permanent" (this helps search engines know if they should index the new location directly, or keep indexing the old link). 6. Click the Add button. If you run into any trouble, let us know. (Edit: Rob beat me too it, but I'll leave this response here, in case somebody in the future wants a step-by-step list of instructions.) Edited August 30, 2005 by abinidi Quote
getitdone Posted March 8, 2006 Posted March 8, 2006 I appreciate the step by step stuff. thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.