![]() |
|
| |||||||
| Notices |
| General Support Issues Answers to general questions and help with common problems. For help with a specific issue, post to one of the forums below. |
![]() |
| | Thread Tools |
|
#1
| |||
| |||
|
Hi all, How to redirect a homepage to another page within the same site? I followed carefully the tutorial on Cpanel about REDIRECTS and it looks quite easy. However, i run into problems when i try to do the same. I would like to redirect my home page "mywebsite.com" to another page within the same site "website.com/anotherpage.html" . I get this error message "REDIRECT LOOP...etc" when I try to access mywebsite.com. But when in Cpanel, I type in "mywebsite.com/index.html", it redirects me to the new webpage I want. My fear is that no visitor will actually bother to type /index.html after "mywebsite.com". and therefore, they will get this error message. I simply want them to be redirect to the other page just by typing mywebsite.com. I hope my explanations are not confusing you too much. Thanks very much for your help. P.S. I know I can simply change the new page into an index.html and delete the old one. But I don't want to do that as the change/redirect is only temporary. I simply want my visitors to be redirected to this other page when they type my usual domain name. Thanks much herman |
|
#2
| ||||
| ||||
|
You cant do it like that.. just rename your other page index and publish.. why make it hard? Karen
__________________ KMAC Enterprise Missouri Free Classified Ads Charming Noveltees~Sports Logos Charms ![]() ![]() I've learned that artificial intelligence is no match for natural stupidity! |
|
#3
| ||||
| ||||
|
You will need edit your htaccess file (either through the file manager in cpanel, or via ftp). Open the .htaccess file inside your public_html folder and add this code to it and change the red text to the actual page name: Code: DirectoryIndex anotherpage.html
__________________ Register/Login Script Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |