• Hi all,

    I’m obviously missing something simple here. I want to use WordPress as a CMS on a site I am going to develop – so far, so good.

    However, I want mydomain.com/index.php to be the static home page created by WordPress and the WordPress blog itself to run out of mydomain.com/blog

    I can’t see how to do this because any pages created by WordPress are at mydomain.com/blog/pagename

    Anyone any ideas on how to do this?

    Thanks,

    Tom

Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter tom_raftery

    (@tom_raftery)

    Are you referring to mxtrader’s solution lawtai or rboren’s plugin?

    mxtrader seems to want to do what I wanted to do but his step 1 was to disable rboren’s plugin!

    Thanks,

    Tom

    haha well, you could give both a try? I haven’t tried this out actually, but what you want to do is possible.

    Thread Starter tom_raftery

    (@tom_raftery)

    Now I’m more confused than ever!

    Sorry Ryan, I don’t understand how manipulating the permalink structure will do what I want to achieve.

    Can you expand a little on this?

    Thanks,

    Tom

    changing the permalink structure will allow you to easily link to your blog. if you implement the plugin that ryan wrote in the post, or try to follow mxtrader’s method, one problem you’ll run into is trying to link back to your blog. But if your blog is located in a subfolder, hence the different permalink structure, you’ll be able to link to your blog with no problem.

    Thread Starter tom_raftery

    (@tom_raftery)

    Ok,

    so I should abandon mxtraders method, go with Ryan’s plugin, place the blog in a subfolder, and use Dougal’s permalink structure?

    I still don’t see how that gets me an index page at mydomain.com/ – I realise I’m being very slow here but I’m just missing something fundamental, obviously.

    I install the blog at mydomain.com/blog
    I install Ryan’s plugin
    I edit the Permalink structure
    I create a Home Page using the Create Page function (isn’t this placed at mydomain.com/blog/home/? – hence my confusion)

    Tom

    heh, not too sure, i’d just say give it a shot and see what happens.

    Thread Starter tom_raftery

    (@tom_raftery)

    Ok,

    I got it to work – a slight variation on the steps outlined above.

    What I did was:
    1. Installed the blog at mydomain.com
    2. Created the Home page and noted the ID of the page
    3. Installed Ryan’s plugin (editing with the correct Page ID)
    4. Edited the Permalink structure

    Hey presto, I have a site at mydomain.com and a blog at mydomain.com/blog

    There is an easier and imho, better, solution — though it’s different from what you specify — if your domain host is accommodating: I’ve got a main page at https://www.crispen.org/ and a blog at https://blog.crispen.org/. Just ask your domain host for a sub-domain (aka virtual host) and point blog.yourdomain.com to https://www.yourdomain.com/blog/. My domain host performs this service for free (and has a script to automate it), but when I was shopping for domain hosts, I ran into some that wanted a full monthly fee for each virtual host.

    As I said, it doesn’t solve your particular set of requirements, but some folks might find it useful.

    glad it worked

    Thread Starter tom_raftery

    (@tom_raftery)

    Thanks for the suggstion revbob.

    I could do that on my own site also, (I have an accomodating ISP!) but it wouldn’t solve what I wanted to do.

    My requirement was to have a full site running out of WP – now I have, my home page is created by the Create page functionality of WP and my blog is run from the same WP db.

    And most importantly, it is in the form:
    Home Page – mydomain.com
    Blog – mydomain.com/blog

    If anyone wants to see the actual site – drop me a mail at tom at tomandpilar dot net

    Ahhh, that was the part I didn’t get. Brilliant idea.

    Thread Starter tom_raftery

    (@tom_raftery)

    Guys,

    I have another issue with this.

    The site is now working fine with the home page being:
    mydomain.com

    and the blog at:
    mydomain.com/blog/

    all running out of WP 1.5 using Ryans plugin and Dougal’s permalink structure.

    However, when I create a new page in the Manage Pages it gives the uri as:
    mydomain.com/new-page-name/

    This is how I would want it – however, when I go to that uri I get a 404.

    Any ideas on how I can get these pages to display and not 404?

    Thanks,

    Tom

    Thread Starter tom_raftery

    (@tom_raftery)

    Further investigation reveals that this is somehow related to the Theme.

    Switching to the Default theme stops the 404 from occurring – but reverting to the Shaded Grey theme causes 404’s to recur on the same uri!

    Bizarre or what?

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘WordPress as a CMS’ is closed to new replies.