SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Addict SitePointer's Avatar
    Join Date
    Oct 2001
    Location
    SitePoint
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wordpress static index page question

    Anyone knows how to have a static index page on domain.com/index.php with Wordpress theme when your blog is installed on domain.com/blog/

    For example on this site the blog index is still dynamic at http://www.marketingforsuccess.com/blog/ but the index page http://www.marketingforsuccess.com/ is static with the Wordpress theme with different sidebar.

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2007
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You mean you want a page to be the same when you go to /blog ?
    You can create an individual page then go to reading settings and select which page you want to be static.

    I think I am answering your question right

  3. #3
    SitePoint Addict SitePointer's Avatar
    Join Date
    Oct 2001
    Location
    SitePoint
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No. If you see the site, the homepage has a wordpress design with a different sidebar. You can see Wordpress code in the index source.

    But the blog is installed in /blog/ and has it's dynamic homepage.

    I want to find out how to create that Wordpress static page in the homepage.

  4. #4
    SitePoint Addict SitePointer's Avatar
    Join Date
    Oct 2001
    Location
    SitePoint
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone know how to do it?

  5. #5
    SitePoint Addict SitePointer's Avatar
    Join Date
    Oct 2001
    Location
    SitePoint
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to install Wordpress into "blog" folder. domain.com/blog/

    Currently, I am showing my blog on domain.com/index.php using this as the index.php

    <?php
    define('WP_USE_THEMES', true);
    require('./blog/wp-blog-header.php');
    ?>

    But my domain.com/index.php and domain.com/blog are showing the same content.

    I want a static page on domain.com/index.php with the same wordpress theme and no changes to domain.com/blog showing the latest posts.

    I came across this method at http://tutorialblog.org/turn-your-wo...iness-website/

    Basically, the method is installing Wordpress at root, which I don't want to, and using Permalinks to set the blog url.

    Anyone know if what I am trying to do is possible?

    I know a simple way is just to create a html page and use it as the index.php but I am trying to find out if I can do it in Wordpress.

  6. #6
    SitePoint Zealot webspider20's Avatar
    Join Date
    Nov 2009
    Posts
    196
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that is a weird question but if anyone knows the answer to it I would love to find out as well
    Small Coffee Tables

    Ideas to Make Money - Where ideas come true!

  7. #7
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    This is probably the easiest way to get what you are after.

    http://codex.wordpress.org/Giving_Wo..._Own_Directory

  8. #8
    SitePoint Addict SitePointer's Avatar
    Join Date
    Oct 2001
    Location
    SitePoint
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am already doing that, it's a different issue. Read my post above. Thanks.

  9. #9
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SitePointer View Post
    I am already doing that, it's a different issue. Read my post above. Thanks.
    Good Luck then. Thanks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •