1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

301 Redirect needed!

Discussion in 'Programming' started by gray929, Jul 27, 2008.

  1. #1
    I will give $2 to whom ever can add a simple redirection preferably a 301 to my site.

    I want www.xeenit.com to redirect to www.xeenit.com/directory

    First come first serve. I will PM details to you.
     
    gray929, Jul 27, 2008 IP
  2. masgov

    masgov Member

    Messages:
    460
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    hi, i can do that for you,
    just pm me the details
     
    masgov, Jul 27, 2008 IP
  3. serialCoder

    serialCoder Guest

    Best Answers:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    damn, am i too late?
     
    serialCoder, Jul 27, 2008 IP
  4. technojuice

    technojuice Peon

    Messages:
    207
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    technojuice, Jul 28, 2008 IP
  5. bizoppz

    bizoppz Peon

    Messages:
    1,889
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    You can do this yourself:

    1. Create a new file and name it index.php
    2. Add the following to the file you just created
    <?
    Header( "HTTP/1.1 301 Moved Permanently" );
    Header( "Location: http://www.your-new-domain.com" );
    ?>
    PHP:
    Obviously, change the your-new-domain.com to your actual domain

    3. Upload to the root directory of your old domain.

    UPDATE :: UPDATE :: UPDATE

    Sorry, didn't realize you were using same domain on redirects... In this case, what you may want to do is simply add the following to your .htaccess file:

    Redirect /index.php http://xeenit.com/directory/

    You may also want to add:

    ErrorDocument 404 http://xeenit.com/directory/

    so that any 404's lead to the /directory/ directory as well
     
    bizoppz, Jul 28, 2008 IP
  6. iBBnet

    iBBnet Peon

    Messages:
    902
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    Yeah, the above should work. You can also do it by creating a .htaccess file
     
    iBBnet, Jul 28, 2008 IP