WordPress.org

Ready to get started?Download WordPress

Forums

Importing Static Content (7 posts)

  1. danweasel
    Member
    Posted 9 years ago #

    So I just picked up WordPress after a prolonged absence from the blogosphere and I'm quite impressed. It picked up all my old Blogger posts with no problems, except that I then had to go through by hand, categorizing all the old stuff and even giving titles to posts from the time when I didn't even use titles. But enough of that.
    While reading through one of the support forums, I came across someone asking about putting WP within a static page and the suggestion was made: just move your static content into WP. I have static content that I was hosting before, and I like the idea of moving all into the WP system.
    My question is, what's the best way to do that? Some of the material I'd like to move is from a good number of years ago, before I had ever done any blogging at all. Should I backdate everything to the actual date of writing, or the date of publication? Also, I'd like to be able to set up an index page of sorts for some of my content, so that readers could quickly skim through a list of titles before choosing what to read. Is there an easy way to do that through the WP category system?
    Last but not least, an unrelated question that's been floating around in my head, and I might as well throw it out while I'm posting: has anyone developed a plugin/hack that enables a toggle button (like the standard +/- box) for viewing subcategories?
    Thanks to anyone who takes the time to answer any of those questions.
    Andrew

  2. calca
    Member
    Posted 9 years ago #

    you use a ezstatic plugin:
    http://www.asymptomatic.net/wp-hacks
    hi

  3. danweasel
    Member
    Posted 9 years ago #

    Thanks for the link; I'll keep that in mind as a possiblity. What I would really like to do rather than keep the static pages around is to move them into the WP system; I want to add them as posts into the database. Of course I know how I could do that, but I'm unsure what the best way of doing it would be...see my questions above.

  4. carthik
    Member
    Posted 9 years ago #

    How many posts are we dealing with here? If it is not more than twenty and if you can copy them and paste them into a text file, you could probably use an import script, which I can help you with. This wouldn't work for too many posts, though. If you have a link to the old page, that would help, too, so I can see what best can be done, if you don't want to use the fake folders method, which I must add is pretty useful once you learn to like it.

  5. redneck
    Member
    Posted 9 years ago #

    I made some suggestions that might work in this thread.
    I use the described method on my own site.

  6. robgreeley
    Member
    Posted 9 years ago #

    Hi Stevarino,
    Faked folders looks great - exactly what I needed. Unfortunately, when I tried the initialization, I get an error starting with:
    Warning: file(/../wordpress/index.php): failed to open stream: No such file or directory...
    I have done the installation with the index.php file in the root directory and all wordpress files in a "wordpress" sub directory, and it looks like the initialization routine is not expecting this.
    Before I start looking at the plugin code, has anyone worked out a fix for this?
    Thanks

  7. robgreeley
    Member
    Posted 9 years ago #

    Hi Stephen,
    I did a clean install using the directions here: http://wordpress.org/docs/installation/different-address/
    In the end, only my index.php, and .htaccess are in the root directory. Everything else is in a /wordpress/ subfolder.
    I sent some other details to your mail address, let me know if you don't receive them.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.