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.

Additional domain for a single page

Discussion in 'Apache' started by bmarker, Aug 14, 2008.

  1. #1
    I have purchased another domain and I want to associate it with just one page. I did a search, but wasn't sure HOW to search for what I needed. I think it'll be a fairly simply 301 redirect, but not sure. Here's what I'm trying to do...

    I have a site up and running with mydomain.com
    I will be adding an additional domain to this site but to only one page in the site: additionaldomain.com/page1.html

    How do I make sure this isn't picked up as mydomain.com/page1.html and botted as addionaldomain.com/page1.html


    Where is a good resource for all of the .htaccess code? Something that shows what all the special characters do? I.E. "^.*?" etc...

    The apache site might as well be written in Korean.
     
    bmarker, Aug 14, 2008 IP
  2. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    why not using 301 ?

    make .htaccess file and upload it to your root folder (usually public_html) of additionaldomain.com with content like below

    Redirect 301 /page1.html http : // www . new-domain . com/ page1 . html

    remove the space because i'm not allowed to post a link :)
     
    nimhost, Aug 15, 2008 IP
  3. bmarker

    bmarker Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks nimhost! I thought it was that easy, but didn't want to ruffle the feathers for the google gods.
     
    bmarker, Aug 15, 2008 IP
  4. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    if you just want to redirect without effecting the search engine result then remove the 301 from the code :)
     
    nimhost, Aug 15, 2008 IP