Forums

Installing WP at root level and have my blog on blog/ (7 posts)

  1. davidca
    Member
    Posted 2 years ago #

    Hi all,

    i have a question. Is it possible to make just one single installation of WP at root level on my website, write a few static pages and then have my blog set up in the blog/ directory under the same installation?

    My site is running roughly on a structure like this:

    http://www.mysite.com
    http://www.mysite.com/services.htm
    http://www.mysite.com/aboutus.htm
    http://www.mysite.com/gadgets.htm
    http://www.mysite.com/blog/

    is it possible to just install WP on the root then create a directory called 'blog' and have my blog there? The idea is not having to install WP twice and have to login to two different backends to manage my website static pages and blog posts respectively

    thanks for any help/advice
    david

  2. design_dolphin
    Member
    Posted 2 years ago #

    Are the static pages created in WordPress or separately?

    If you mean static pages in WordPress, I don't know.

    You could install WordPress in the /blog/ directory and then do url rewriting for the WordPress static pages. Rewriting the your_domain.com/blog/static_pages to your_domain.com/static_pages. Not sure if that is the best way to go though.

  3. figaro
    Member
    Posted 2 years ago #

    Several ways to go with this, but why not just install the blog in root...set a static frontpage and then create a page called "blog" for your post page? See the following video for how to do this.

    [link moderated]

  4. precious20
    Member
    Posted 2 years ago #

    Good day,
    Please write to my email address box: (elka_precious@yahoo.com)
    My name is Precious, a good looking Liberian girl.
    I
    became interested in you after going through your profile and i wish to
    continue relationship with you which if nature will permit we have a
    long way to go.
    I
    have a special reason of contacting you which i will make known to you,
    tell you more about myself and also send my pictures to you. I will
    like you to get back to me through my email address:
    (elka_precious@yahoo.com)
    Precious.

  5. davidca
    Member
    Posted 2 years ago #

    figaro, thanks, good video, if i go with your approach , will i be able to have my blog posts all appearing into blog/directory? like this:

    http://www.mysite.com/blog/post1.htm
    http://www.mysite.com/blog/post2.htm
    http://www.mysite.com/blog/post3.htm

    dolphin, thanks a lot, yes the static pages will be under wordpress too, i will try your approach too with my second blog and see which system brings me the best results

    thanks again to both
    david

  6. davidca
    Member
    Posted 2 years ago #

    hi,

    this doesnt work, i have tried and instead my posts come out like this:

    http://www.mysite.com/post1.htm
    http://www.mysite.com/post2.htm
    http://www.mysite.com/post3.htm

    I want them to appear in the directory 'blog' any ideas at all, anyone else?
    thanks
    david

  7. davidca
    Member
    Posted 2 years ago #

    Hi , I have found the way, i was just not doing it properly:

    Once on the WordPress admin area, go to permalinks options:

    http://www.davidcarralon.com/wp-admin/options-permalink.php

    select the last one: 'custom structure' and enter it this way

    /blog/%postname%

    or if you prefer it like this

    /blog/%postname%/

    so your blog posts will appear with the forward slash at the end of the url. I wonder myself if both approaches are equally SEO friendly.

    I would quite like to add the .htm or .html extension now but if I install the .html plugin, I cant use the custom structure, so best to have urls without extension, that was my compromise. If anyone finds out how to add the .html or whichever extension based on the url structure model outlined on this thread, please go ahead and make a suggestion

    cheers
    david

Topic Closed

This topic has been closed to new replies.

About this Topic