• hi

    I have followed all instruction and made one static page.

    my homepage is on : http://example.com
    and my blog is on : http://example.com/blog

    I have changed BLOG URI and WORDPRES URI from options > general.

    Now what I want is :

    when somebody opens my site : I want to show welcome message and brief posts with title.

    and if somebody opens : http://example.com/blog he should be able to see all latests posts as like normal blog.

    I made two pages BLOG and HOME. and I set HOME as static page and BLOG as POST Pages. But bcos of this, if somebody opens example.com then he can see HOME page peftectly. but if anybody opens example.com/blog then also HOME page is comming. If reader clicks example.com/blog/?pageid=17 then only that BLOG page is comming.

    In simple word,

    I want to make like this :

    http://alexking.org/

    see the above site. They have welcome page differnt and http://alexking.org/blog page is also pefect.

    how can I do that ?

    please help.

Viewing 15 replies - 1 through 15 (of 32 total)
  • I have changed BLOG URI and WORDPRES URI from options > general.

    Nobody told you to touch them!
    Why are you messing with things that you don’t understand?

    Thread Starter mds1978

    (@mds1978)

    hello

    I am sorry. I have changed only BLOG URI as I want to appear my blog in subdirectory and want to make static homepage.

    I have done as shown in :

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    I have made blank page to show it statically and it is working fine. the problem is if I create another blank page to show posts, that page will show posts but not example.com/blog.

    I want to show : example.com/blog as normal blog and example.com as static homepage.

    please guide. I read all stuff but didnot get it properly.

    You are mixing things and you are trying to do more than one thing at a time. That’s always bad.

    Go back and deselect the static frontpage in Settings > Reading.
    Let the blog show the posts on frontpage. Then give a link if you want help.

    Thread Starter mds1978

    (@mds1978)

    sir,

    Here is the link of my site :

    http://www.readgujarati.com/index22.php

    (i have not made this as index.php bcos on homepage many visiters are browsing from all over the world)

    and here is the blog inside the site :
    http://www.readgujarati.com/pustak/

    see both are showing same content.

    I want to show homepage (i.e. index.php) with some welcome message, post titles etc. and inside /blog as it is.

    please guide.

    http://www.readgujarati.com/index22.php
    that will NOT work. Period. WordPress work only with index.php.

    Thread Starter mds1978

    (@mds1978)

    sir,

    I agree that will not work. I know index.php is must. But just for the sack of testing I have renamed it as index22.php

    It is showing result of the blog perfectly.

    I think you did not get my question what I wanted to do.

    Please look this site :

    http://alexking.org/

    this site has own static page, with latest post info, same blog layout, author introduction etc. and if person opens http://alexking.org/blog then he will able to see all posts perfectly.

    Just simply told me how I can do that on my blog.

    But just for the sack of testing I have renamed it as index22.php

    You don’t get it: you can NOT test it with a filename like that because WP is looking for the index.php and if not found it will throw an error… and in most WP installations the error shows just the main page with all the posts.

    If you did it right, then this
    http://www.readgujarati.com/ – should show your static Page as front
    and this
    http://www.readgujarati.com/pustak/ – should show your “posts page”.

    Don’t mess with the filenames because you screw up your blog!

    You need for this 2 Pages created: one with your welcome message and select it as frotn. Another empty Page (don’t write anything in the content) should be selected as “posts page” in admin > settings > reading.

    Why are you over-complicating it???

    Thread Starter mds1978

    (@mds1978)

    sir,

    As per your guidence, I created two Pages called : HOME and BLOG.

    I wrote “welcome to readgujarati.com” and set it as Front Page.

    I wrote nothing in BLOG page and just set it as Post Pages.

    now please see both the links :

    http://www.readgujarati.com/

    http://www.readgujarati.com/pustak/

    both are showing welcome page. Where is my all posts ?

    For the moment you have a CPU issue…

    As for what you did:
    created a Page titled “Blog”. The slug of that Page should be “blog” – so you should expect to see your posts page at yourdomain.com/blog not at yourdomain.com/pustak!

    Note. If it happens that you have your WP installation in a subfolder also called “blog” (as you stated in other places where you described the Giving WP ist own directory setting) – then that might also cause an issue!

    Thread Starter mds1978

    (@mds1978)

    No… No… I do not have any subfolder with the name BLOG.

    PUSTAK is my blog. This is the location where WordPress is installed : http://www.readgujarati.com/pustak/

    and I want to show it as normal blog.

    On Root, there is no wordpress installed. Thats why I done this (http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory) and put index.php in root folder and changed BLOG URI from options > general.

    Now site is up, please check it.

    OK, let’s get back to the basics. And don’t ever give BS, phony folder and/or Page names if you want support.

    UNDO all the changes you did – because you screwed it up from . the very beginning!
    1. Undo the frontpage and blog page setting… and
    2. Undo the Giving Wordpres its own diretory stuff.
    Everything.

    Let’s go back to the very initial stage where you have whatever stuff you have at the root and the WP installation is at
    http://www.readgujarati.com/pustak/ and is displaying there.

    And we will see it from there.

    Thread Starter mds1978

    (@mds1978)

    OK,

    I have UNDO all.

    Every thing is now normal.

    wordpress is inside :
    http://www.readgujarati.com/pustak/

    and I want to show its latest posts etc on :
    http://www.readgujarati.com

    No, you said earlier you want to show a welcome page at the root, not the posts. So, which one? Decide NOW before we mess with the settings!

    Thread Starter mds1978

    (@mds1978)

    Yes that exactly I mean.

    Here lastest post means brief info of new posts, welcome message, about author etc on root.

    and normal blog inside /pustak which is running now smoothly.

    OK. And you are aware that you will lose that main page that is displayed now at http://www.readgujarati.com ? Yes? If we don’t need that, then new we are going to set the Giving WP its own… stuff correctly!

    The instructions say COPY the index and htaccess – not to MOVE. Copy means: you have one (unmodified) index in the “pustak” directory and you will have the same one in the root + modifying the one line as required in the instructions:
    require('./pustak/wp-blog-header.php');

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘duplication in static hompage with blog page’ is closed to new replies.