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.

WordPress in sub-directory?

Discussion in 'Content Management' started by Plutonic, Jun 13, 2010.

  1. #1
    So, I want to start creating a website, but I want a 'coming soon' page to be up.

    So I'd need to install WordPress in a subdirectory, so people see the coming soon page and not the blog.

    But then when I launch the site, it'll be in a sub directory and I want it on the home page.

    Would I have to move everything to the home directory or is there an easier way? Could I just change something in .htaccess?

    Thanks.
     
    Plutonic, Jun 13, 2010 IP
  2. Plutonic

    Plutonic Peon

    Messages:
    2,964
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Seriously? Nobody can help me out?
     
    Plutonic, Jun 13, 2010 IP
  3. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #3
    yeah using .htaccess from subdirectory to home page (301 redirect ) is suffcient
     
    chandan123, Jun 13, 2010 IP
    Plutonic likes this.
  4. Plutonic

    Plutonic Peon

    Messages:
    2,964
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thank you very much.
     
    Plutonic, Jun 13, 2010 IP
  5. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    405
    Best Answers:
    21
    Trophy Points:
    295
    #5
    just make an html file that says coming soon and stick it in the root folder

    You don't need to 301 anything you just wont be able to set your permalinks until you remove the index file.

    Nigel
     
    Nigel Lew, Jun 13, 2010 IP
  6. createdevelop

    createdevelop Well-Known Member

    Messages:
    267
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    140
    #6
    Nigel is right. You can install wordpress in the root directory but have an index.html file that says coming soon. When you want the website to go live, just delete the index.html file.

    Oh and also, don't forget to make sure your robots.txt blocks the new website from being indexed.
     
    createdevelop, Jun 14, 2010 IP
  7. KimiGermany

    KimiGermany Peon

    Messages:
    1,117
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I would install wordpress locally first and work on "the coming soon" stuff. If you are ready, then install wordpress in the root. If you have wordpress in your subfolder, it will be hassle later on, example when you submit sitemap to bing, or yahoo, etc. Google webmaster tool is easy but the others not in my opinion.
     
    KimiGermany, Jun 15, 2010 IP
  8. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Technically speaking, you can just install Wordpress in the root dir and include an "index.html" page with the coming soon info. That page will get priority over index.php. I've done it many times.
     
    Pixelrage, Jun 15, 2010 IP