CentOS :: Setting Varnish, Nginx for WordPress
Posted by blackonsole on July 15th, 2013 03:01 AM | 1 Comment
:: How to setting Varnish and Nginx for WordPress cms in Linux CentOS
+ Enable Varnish and Nginx repository
rpm --nosignature -i //repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release-3.0-1.noarch.rpm
rpm -Uvh //nginx.org/packages/rhel/6/noarch/RPMS/nginx-release-rhel-6-0.el6.ngx.noarch.rpm
+ Installing Varnish and Nginx
yum install varnish nginx php-fpm
+ Configure Nginx for WordPress
make sure change Nginx port ...
WordPress :: An error occurred in the upload. Please try again later.
Posted by blackonsole on January 30th, 2013 09:42 AM | No Comment
:: How to fix error An error occurred in the upload. Please try again later in WordPress
I got error "An error occurred in the upload. Please try again later." when upload some images in Media Manager and i fixed the ...
WordPress :: Using OS cron job
Posted by blackonsole on July 20th, 2012 04:29 AM | No Comment
:: How to change wp cron to os cron job
+ add cron job on os cron
crontab -e
# add a line like this:
wget -q -O /dev/null //yourhostname.tld/wp-cron.php?doing_wp_cron >/dev/null 2>&1
+ disable wp-cron
vi wp-config.php
# add this line:
define('DISABLE_WP_CRON', true);
:: Links
+ Google
+ WPDaylyBits
:: WP MU :: Slow After Upgrade
Posted by blackonsole on July 19th, 2012 07:58 AM | No Comment
:: How to fix WordPress MU slowly after upgrade
try to upgrade database table for wordpress using this url:
//domainname.tld/wp-admin/upgrade.php
:: Links
+ Google
+ KartikShasti
:: Nginx: wordpress permalinks
Posted by blackonsole on April 30th, 2012 11:25 AM | No Comment
:: How to setup wordpress permalinks on nginx
+ edit virtualhost file
vi /etc/nginx/vhost/blackonsole.org.conf
+ add wordpress permalink setup on location / {}
location / {
..
try_files $uri $uri/ /index.php;
..
}
+ testing configure and reload nginx
nginx -t
nginx -s reload
:: Links
+ Google
+ Stackoverflow
:: Reset Password Admin on WP
Posted by blackonsole on January 9th, 2012 03:57 AM | No Comment
:: What is WordPress
WordPress is a free and open source blogging tool and content management system (CMS) powered by PHP and MySQL. - WikiPedia
:: How to reset password user admin on wordpress using mysql cli
:: Fatal error: Call to undefined method Arras_Widget_Tag_Cloud
Posted by blackonsole on December 21st, 2011 07:56 AM | No Comment
:: WordPress error
Fatal error: Call to undefined method Arras_Widget_Tag_Cloud::WP_Widget_Tag_Cloud() in ..../wp-content/themes/arras/library/widgets.php on line 404