Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • wpsensei

    (@wpsensei)

    Whether VPS or Dedicated, MySQL is going to crawl unless properly optimized for use via MySQL’s my.cnf configuration file.

    The configuration of my.cnf would depend on CPU & RAM availability. With a VPS, both of these items are going to be significantly less than with a Dedicated Server though, if you have at least 512MB RAM on the VPS, you should be able to perform some minor tweaking.

    I would suggest installing xCache for PHP which will allow you to further increase your caching ability beyond that of WP Super Cache. WPSC is client-side caching, xCache allows you to perform server-side caching to RAM. They should both be enabled.

    Once xCache has been configured, the following is an updated version of a xCache variable cache plugin. It is dependent on xCache, so it will need to be installed after xCache has been installed.

    https://dougal.gunters.org/blog/2008/08/29/xcache-object-cache-plugin-for-wordpress-25

    To-Do

    – Fully Optimize my.cnf based on CPU & RAM Availability
    – Install and Configure xCache & xCache Plugin

    Resources

    – Installing xCache (Requires Root SSH Access)
    https://www.vbseo.com/f34/installing-xcache-your-server-18498/

    wpsensei

    (@wpsensei)

    If you intend on setting up your WordPress installation and using it for pages over posts, you need to at least have the following files in your theme folder:

    Files Needed

    ./style.css
    ./index.php
    ./page.php
    ./header.php
    ./footer.php
    ./screenshot.png

    Files Not Needed

    ./category.php **
    ./single.php
    ./archive.php
    ./archives.php
    ./comments.php
    ./comments-popup.php

    ** Generally not included with most WordPress themes. It controls the display of categories, if you wish to style them differently.

    The page.php file is what controls the display of each of your pages. The index.php file can be modified to suit to prevent the display of posts.

    Removal of Comments

    If you do not want the comments box to appear, simply remove the following line of code from your PHP file(s). Generally, this is only included in single.php on pre-made and default themes.

    <?php comments_template(); ?>

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