Support » Fixing WordPress » How to import products in host instead of database on wordpress?

  • Once I add new product in WordPress, this product adds in MySQL database and database gets bigger and bigger after months
    I would like to write post/page/products on the host instead of the database how can I do this?
    for the second question:
    and how can I restore my products and posts when I change my Theme?
    and we need to do another thing or not to restore our products after the change theme.
    your resolve method can help me to decrease my database space and can help me to resolve my problem

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    WordPress stores content in the database. That’s just how it works.

    Changing your theme will not affect your products. They’re in the database. The theme’s job is to pull stuff from the db and display it in it’s theme-specific way.

    If your DB is getting too big, look at plugins like “WP Sweep” and “WP Optimize”. The can optimize your tables and remove revisions, deleted rows, etc.

    I think you don’t read exactly my question
    I know that changing theme will not affect on my products
    please answer only for my first question if you know that
    I would like to write post/page/products on the host instead of the database how can I do this?
    thank you

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    I did read your question. I was trying to give a nicer answer that ‘No.’ WordPress is a datbase-based CMS. If you want a file based site, then you need to use a different platform.

    But I think there is a way to resolve my problem, always we have a resolvation method

    • This reply was modified 2 days, 22 hours ago by  redscience.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.