Should I go for Multisite or separate WP Installation?

Generally choosing separate WP installations means that your websites won’t have anything in common. Choosing Multisite installation enables you some sort of centralization. Your blogs usually are separate (eg. different domains / themes), but they may share something. According to your description you might want consider a single installation. It is possible to create the … Read more

After being hacked Fatal error: Call to undefined function get_header() in 404.php on line 1

“Generally this happens when someone has mistakenly put index.php from a theme in the WP install folder, where it overwrites the index.php that is the main WordPress file. Download WordPress again, and take the one file, index.php from its root folder, replacing the file you now have as index.php It sometimes means someone has loaded … Read more

Moving from one WP site to a new WP site incrementally

Have you thought about doing this with per-url redirects? I found something promising here: http://www.phpin24.co.za/apache/apache-change-documentroot-for-a-specific-url/ It seems to boil down to this (copied from the linked page): <VirtualHost *:80> ServerName www.phpin24.co.za DocumentRoot /var/www/html/phpin24 AliasMatch ^/enquire-now/thankyou/(.*) /var/www/html/other-code/app/webroot/$1 AliasMatch ^/enquire-now/(.*) /var/www/html/other-code/app/webroot/$1 ErrorLog /var/log/httpd/phpin24/phpin24_error_log CustomLog /var/log/httpd/phpin24/phpin24_access_log combined <Directory /var/www/html/phpin24/> Options FollowSymlinks AllowOverride All FileETag none </Directory> </VirtualHost>

Running WordPress from MySQL Cluster with HAPRoxy

SELinux was contributing to the problem. The main issue was that an HTML page was attempting to talk to another port on the localhost. I would not have seen the problem if the HAProxy was running on a separate host. The log was revealed in /var/log/messages, where I should have checked but did not considering … Read more

Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script

What you need to do is simple. Place the file in the root of the website. Access this file via web browser. For example. type – www.yoursite.com/searchreplacedb2.php In the page, enter your database details, including username and password. Also, specify your localhost http address, which in most cases is localhost For example, in my testing … Read more

Install WordPress with SQL database

Install WordPress Locally WordPress is well-known for its ease of installation. Under most circumstances, installing WordPress is a very simple process and takes less than five minutes to complete. If you wish to install WordPress on local, the following guide will help. Before install WordPress Checking to ensure that you and your web host have … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)