Viewing 1 to 5 of 5 items
Tag Archives: wp-config

wp-config Tweaks

Setting a Default Theme for New WordPress Installations With WP_DEFAULT_THEME define( ‘WP_DEFAULT_THEME’, ‘default-theme-folder-name’ ); Enabling the “Trash” Feature for Media Files With MEDIA_TRASH define( ‘MEDIA_TRASH’, true ); Letting WordPress Skip the wp-content Directory While Updating With CORE_UPGRADE_SKIP_NEW_BUNDLED define( ‘CORE_UPGRADE_SKIP_NEW_BUNDLED’, true ); Allowing Unfiltered WordPress Uploads for Administrators With ALLOW_UNFILTERED_UPLOADS define( ‘ALLOW_UNFILTERED_UPLOADS’, true );


Secure WordPress Config File With htaccess

Your wp-config.php file stores all of your config variables for your WordPress site. If someone has access to this file they will be able to see your database username and password. When you first install WordPress there is a default wp-config-sample.php file which you need to rename and modify. To keep this secure you can  Full Article…


Create a mobile version of a WordPress website

Please note that this guide is for setting up an alternate mobile subdomain (or domain) which mirrors content from a parent website. See the PixelPress projects for the RiAus Website Network using WordPress Multisite for this code in use. This guide follows the steps listed below: Set up a parked domain (usually in cPanel) Add  Full Article…