WordPress.org

Support

Support » Installation » Can’t make it work!

Can’t make it work!

  • MissComaDoll
    Member

    @misscomadoll

    I think I’ve done everything right… but stil, my page look like this: http://cerotonin.com

    and it shouldn’t… I’ve made a layout and everything and I want the blog to be a part of my page… but instead… the blog is the page.

    Please help?

Viewing 15 replies - 1 through 15 (of 16 total)
  • All we can see is a default blog install. In WP 1.5.xx the “layout” is defined by themes:
    http://codex.wordpress.org/Using_Themes

    Integrating WP in an existing site… I’ve just posted this yesterday:
    http://wordpress.org/support/topic/38370

    Please, post back if you need further help!

    MissComaDoll
    Member

    @misscomadoll

    A friend of mine tried to help me, and she has done things like this before and never had a problem with it.

    I’ve done my own index.php file for the blog, and my own header.php to make it fit my page, but it doesn’t work. In my main index file I have only this code:

    <?php
    header (“Location: http://the/blog/location“);
    ?>

    (and I have changed the text so it is to my blog location)

    I don’t know if you succeeded to read the material I linked to above in the 8 minutes between the two posts 🙂
    Your WP is installed in the root of your website – so I don’t know what that “bloglocation” means. Where is the rest of the site?

    MissComaDoll
    Member

    @misscomadoll

    I’m not much of a reader ^^

    the blog location is for me http://cerotonin.com/wordpress
    that’s where my blog is.

    but the code says in short words that the page is going to show the header.php that is in …wordpress\wp-content\themes\classic

    but it doesn’t work.

    If WP is installed in /wordpress directory why is it showing up in your root: cerotonin.com ?

    but the code says in short words that the page is going to show the header.php that is in …wordpress\wp-content\themes\classic
    What code? What page? I am afraid I cannot follow you.
    Try to describe what exactly do you want to achieve. It would help us to help you 🙂

    MissComaDoll
    Member

    @misscomadoll

    that’s what I don’t understand!

    Now it is getting more complicated: cerotonin.com automatically redirects to cerotonin.com/wordpress.
    Playing with the headers without knowing what you are doing doesn’t really help. What is the file (index.php) that you have in the root directory?
    Paste it here and post back with the URI: http://pastebin.com/

    MissComaDoll
    Member

    @misscomadoll

    well, changing in the header wasn’t to hard because all I had to do was changing som directories…

    and I can tell you right now what’s in my root index.php

    <?php
    header (“Location: http://cerotonin.com/wordpress“);
    ?>

    it is suppose to read the header.php and show the blog… but it doesn’t work

    Well, it does show the blog. But maybe not in the way you want it. That’s why I was asking what exactly do you want to achieve?

    No, header(‘Location: ‘) is supposed to redirect. It sends an HTTP header to your browser saying, ‘here’s the new location of this resource’. It has nothing to do with the WP header.

    To load the blog you need to include(‘wp-blog-header.php’), then say get_header(), add a loop, get_sidebar(), get_footer()..

    MissComaDoll
    Member

    @misscomadoll

    I give up, I don’t understand.

    You need to tell us what you want to do. So far you’ve just said how you’re going about it.

    All I’m saying is that the header() function is the wrong thing to be trying for what you seem to be attempting (putting the WP blog in your existing page.)

    MissComaDoll
    Member

    @misscomadoll

    okey, this is my page, the way it’s suppose to look:
    http://cerotonin.com/

    and I want my blog to be intergrated (is that the right word) whit the page… in the empty pink field.

    … LOL
    in my very first answer here I gave you this link:
    http://wordpress.org/support/topic/38370
    which would have taken you to the tutorial here:
    http://www.transycan.net/blogtest/2005/07/05/integrate/
    Integrating WP in an existing site. See Scenario #1.

    MissComaDoll
    Member

    @misscomadoll

    but I told you, I’m not a big reader ^^

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Can’t make it work!’ is closed to new replies.