• Webmeba

    (@webmeba)


    I want my blog to be located at http://designmeba.com/blog, and a static page at designmeba.com. I’ve read the WordPress support article on this (http://codex.wordpress.org/Creating_a_Static_Front_Page) but I guess i’m doing something wrong.

    To get to the designmeba.com directory, I have to first open the root directors, then go to public_html, then to the folder designmeba (since it’s not the master domain). I’ve already changed the htaccess in the /designmeba directory and added my custom static page template called frontpage.php. I’ve also placed index.php from the root directory into another folder called “blog” and changed the requires (‘./wp-blog-header.php’); line to require(‘../wp-blog-header.php’); . Yet when I go to http://designmeba.com/ I get the following error:

    Fatal error: Call to undefined function bloginfo() in /home/webmzuk6/public_html/designmeba/frontpage.php on line 5

    Now I know this isn’t a problem with a specific line because I’ve tried deleting it so, yeah,

    that’s the problem.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Webmeba

    (@webmeba)

    bump

    whistler2020

    (@whistler2020)

    do you not want it to direct to /blog?

    scooby

    (@scooby)

    Did you get this working?? I just got it working myself..

    Thread Starter Webmeba

    (@webmeba)

    Whistler

    I want the static page at designmeba.com, and my blog at designmeba.com/blog

    /blog already works you can go check it out
    but when I try to load the main site I get some weird PHP error, although the code is perfectly fine.

    Thread Starter Webmeba

    (@webmeba)

    bump

    scooby

    (@scooby)

    Looks like you need to add your header information..

    rudolf45

    (@rudolf45)

    1. If your WP is installed in a subfolder /blog – read the documentation: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
    2. In your reading options set up a static frontpage and
    3. another page for your posts

    The static front will be at
    example.com
    and the “blog” or posts page at
    example.com/whatever

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Having problems using a custom static front page’ is closed to new replies.