• Sorry guys but I have no choice. I am doing a website for a non-profit group. They are revamping and are willing to host our chapters site only without a database. So I need to know what elements I can keep and what I cannot. I know that means I cannot run WordPress. But I can strip my site of wordpress tags and still run it without users right? I can still run PHP right? How do I do comments without a database?

    Taiwantroll

Viewing 8 replies - 1 through 8 (of 8 total)
  • WP doesn’t work without a database. All your content: posts, Pages, comments, settings – are stored in the database.

    You (or, more exactly, the server where you are hosted) can run PHP – but for WP that’s useless without a DB.

    I know I’ll probably be smacked for this one, but Pivot is a blogging tool that runs without a database. I had to use it once for my church’s website – they didn’t have database access either.

    But Moshu is right – no database, no WordPress – period. It just won’t function at all without one.

    Well, but he could use one of the hosted solutions maybe….

    Maybe you could move your database to wordpress.com and have your domain point there.

    Thread Starter taiwantroll

    (@taiwantroll)

    It seems I am misunderstood.

    First, I know I can’t run wordpress, perse. I am going to skin all the files and turn them into html. Fairly easy really just a pain in the ass. I know I can’t do anything particularly dynamic, but I am, for example, doing a javascript calendar instead of a php based one, so it is not all that bad.

    My question is, running on a server that can handle PHP script, can I have footer.php and header.php files for example, without a database, since commands like get_footer, don’t really require a database to execute?

    And can I have comments? Is there a way to have comments without a database? For example, with just html?

    Taiwantroll

    And can I have comments? Is there a way to have comments without a database? For example, with just html?

    NOT with wordpress, as was already stated. comments are stored in a database.

    with something that uses a flat text file, sure. Thats what Google is good for.

    Yeah – I’ll smack myself – you could use it on wordpress.com.

    Like they said, no, you can’t have comments without a database – BUT if you have PHP at your disposal, you can use php includes for stuff like the header and footer. You won’t be using “get_footer” though – that’s a WordPress thing. For straight-up PHP, you will replace:

    <?php get_footer(); ?>

    with:

    <?php include ("footer.php"); ?>

    Well, as whoo posted, you can always go with flatfile for comment storage. It’s only unwieldy if 1: your server is slow; 2: your database is huge.

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

The topic ‘Need to strip wordpress’ is closed to new replies.