can I have wordpress blog and website installed on the root domain folder?

Discussion in 'PHP' started by arin2u, Oct 26, 2009.

  1. #1
    Hi,

    I've stuck to a problem.

    On root folder, I'm having pmwiki index.html page running also the .htaccess and now I want to have my wordpress blog on the same folder. As you know wordpress will have index.php .

    I want to have the both pmwiki and wordpress blog with the following urls

    1) For pmwiki index.html (home page)

    "http://www.mydomain.com/" (content will come from pmwiki)

    2) For Wordpress blog (blog post)

    "http://www.mydomain.com/this-is-a-sample-post/" (content will come from blog)

    Please suggest how to do it?
     
    Last edited: Oct 26, 2009
    arin2u, Oct 26, 2009 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use htaccess to simply re-route all requests to / to go to the html page
     
    JAY6390, Oct 26, 2009 IP
  3. jik34

    jik34 Active Member

    Messages:
    586
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    83
    Digital Goods:
    4
    Articles:
    2
    #3
    yes, will work for both. thought, the search engines are reading index.html file first

    -jik
     
    jik34, Oct 26, 2009 IP
  4. eamong

    eamong Well-Known Member

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    108
    #4
    i am using same and works just fine
    need to change permalinks to remove all the post dates
    categories will still be like domain.com/category/category-name
    posts will be domain.com/long-post-name
     
    eamong, Oct 28, 2009 IP