Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-30-2008, 03:33 PM   #1
Active Warrior
 
Join Date: Dec 2007
Location: , , .
Posts: 70
Thanks: 0
Thanked 7 Times in 3 Posts
Default Help Creating a Redirect....

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.
Conrado Oliveira is offline   Reply With Quote
Old 08-31-2008, 08:24 AM   #2
Active Warrior
 
Join Date: Dec 2007
Location: , , .
Posts: 70
Thanks: 0
Thanked 7 Times in 3 Posts
Default Re: Help Creating a Redirect....

Thanks for the help!
Conrado Oliveira is offline   Reply With Quote
Old 09-06-2008, 05:24 AM   #3
www.ClickMeLink.com
War Room Member
 
Aj Wilson's Avatar
 
Join Date: May 2007
Location: Melbourne, Australia.
Posts: 581
Thanks: 58
Thanked 96 Times in 64 Posts
Contact Info
Send a message via Skype™ to Aj Wilson
Default Re: Help Creating a Redirect....

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' ) ;
?>
Just rename your current index.php file as "backup-index.php".

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.


New Advertising Platform Coming Soon!

Aj Wilson is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
creating, redirect

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 05:25 PM.