WordPress

WordPress

WordPress

 
 

Install Linux:

wget --no-check-certificate http://wordpress.org/latest.tar.gz
Then unzip the package
tar -xzvf latest.tar.gz 
The WordPress package will extract into a folder called wordpress in the same directory that you downloaded.

Refer here for basic htaccess file and other options
https://codex.wordpress.org/htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

 



PHP Mailer Patch:

SMTP plugin problem is resolved. I had to patch PHPmailer file to get it working on web28 with PHP 5.6.
The patch is:

[root@web28 sundogcatmoon.com]# diff -Nup wp-includes/class-phpmailer.php.bck wp-includes/class-phpmailer.php
--- wp-includes/class-phpmailer.php.bck 2015-09-24 21:09:19.106955847 -0500
+++ wp-includes/class-phpmailer.php 2015-09-25 22:49:11.421939451 -0500
@@ -267,7 +267,13 @@ class PHPMailer
* Options array passed to stream_context_create when connecting via SMTP.
* @type array
*/
- public $SMTPOptions = array();
+ public $SMTPOptions = array(
+ 'ssl' => array(
+ 'verify_peer' => false,
+ 'verify_peer_name' => false,
+ 'allow_self_signed' => true
+ )
+);

/**
* SMTP username.
[root@web28 sundogcatmoon.com]#
    • Related Articles

    • Migrating WordPress

      Make a full WordPress Transfer A WordPress migration from one hosting provider to another is an easy task if performed properly. Basically, to make a WordPress migration from one host to another consists of three parts - moving the files, moving the ...
    • Enable Multisite for wordpress

      To enable multisite support in wordpress do the following steps:   (1)Go to hsphere user's home directory and find the related folder for wordpress in which wp-config.php file exists. (2)Edit wp-cofnig.php file and at end of file add below mentioned ...
    • Permission issues in wordpress

      If there is a permissions error in a wordpress install it's possible the php version is libphp. libphp requires 777 permissions everywhere and that's very insecure. If the version is libphp under hsphere change it to fastcgi which is more secure and ...
    • Manually Resetting Wordpress Password

      In WordPress, there is more than one way to set your password. In normal circumstances, you can do it through the WordPress interface. If you forget your password, WordPress has a built in recovery mechanism that uses email. But on some hosts, ...
    • Integrate Cartika CDN with Wordpress

      How can you integrate CDN with Wordpress? Installation Of CDN Plugin Login to the Wordpress Admin Panel. Navigate to Plugin page then click on Add New. Insert W3 Total Cache into the search field. Install W3 Total Cache and activate it. Migrate ...