WordPress.org

Forums

New install, questions on WordPress w/ it's own directory (6 posts)

  1. TimmyTurtle
    Member
    Posted 1 year ago #

    We've just redone our company's website and have added a WordPress blog. The site itself is not a WordPress site and was built with a custom CMS by the company that was hired to do the site. We just launched the main site and I'm configuring the WordPress portion.

    I've been following the directions at Giving WordPress Its Own Directory and the problem I encounter in those steps is when I'm told to copy and paste the index.php into the websites main directory, we already have an index.php there for the sites homepage.

    If I replace the existing index.php we have the blog as the home page. I've tried adding this to the beginning of the existing index.php and it we get the blog as the home page too. Adding in the <head> tag breaks the site, adding it in the <body> adds the blog to the body of our main page and adding it after </body> does nothing.

    Is there a certain area that needs to go into? Or do I completely ignore this step in my case?

    I've been ignoring it while I search for plug-ins and a theme that will work well for our needs but the problem here is that Post and Page Previews only show the home page for our site.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Do not follow the instructions in that Codex page unless you want WordPress to take over the root domain - in place of your main site.

  3. govpatel
    Member
    Posted 1 year ago #

    You can not have two index.php files in folder it has to be one or other

  4. TimmyTurtle
    Member
    Posted 1 year ago #

    @emsi I figured that much out and thanks for the clarification here. I was thinking I screwed something up and now I know that it was behaving as intended and it gives me other roads to look at.

    @govpatel Thank you for the input but I don't think I my OP leads to that thought at all as I was asking if there is a spot that I should be inserting the code from the WordPress index.php into the host site's index.php.

    What I would like to accomplish is to have the post previews actually show a preview of the post. Right now they simply show the home page with the extended short code in the URL.

    I've done a little bit more digging and what I've found out I'm not too thrilled with. The company that was hired to do this built the CMS they gave us off of WordPress and left the very limited control panel we have. In short this is a multi-site setup at this juncture and that leaves me back at my starting point.

    So... Does anyone know how I can fix the issue I'm experiencing with previews?

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Not without knowing what the other company did, no.

  6. TimmyTurtle
    Member
    Posted 1 year ago #

    Thats what I was afraid of. Thanks for clearing that up esmi. I guess I'll do some research as I have time but won't focus on this too heavily and if I come up with anything, I'll post it here to help others that may find themselves in the same situation that I'm in.

Topic Closed

This topic has been closed to new replies.

About this Topic