![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Dec 2007 Location: , , .
Posts: 70
Thanks: 0
Thanked 7 Times in 3 Posts
|
Hi Warriors, I'm a little coding noob so I need some guidance. At the moment, my site is under construction so my homepage is very ugly. Right now, when you go to mydomain.com it automatically redirects to mydomain.com/index.php and masks it. I want it to redirect to and mask mydomain.com/underconstruction. Is this as simple as creating a little redirect in my cpanel or do I have to do something else? Thanks. Edit: I just noticed this has nothing to do with coding or progamming but I guess it could still stay in this forum because its sorta technical. |
| | |
| | #2 |
| Active Warrior Join Date: Dec 2007 Location: , , .
Posts: 70
Thanks: 0
Thanked 7 Times in 3 Posts
|
Thanks for the help!
|
| | |
| | #3 |
| www.ClickMeLink.com War Room Member Join Date: May 2007 Location: Melbourne, Australia.
Posts: 581
Thanks: 58
Thanked 96 Times in 64 Posts
|
Hell, If I was a noob, I seriously wouldn't screw with the .htaccess ... Instead you could use this : Code: <?php header( 'Location: http://www.YourDomain.com/where-ever-you-want' ) ; ?> Open up notepad and paste the code above, change the domain name then "save as" index.php Save and upload. Now you can use this whenever, wherever you want. You can even re-direct to affiliate offers off your domains. |
| | |
| | |
![]() |
|
| Tags |
| creating, redirect |
| Thread Tools | |
| |
![]() |