Posts Tagged ‘ WordPress ’

Block Remote Comments on a WordPress site

2017/11/12
By
Modified: 2017/11/05
Ban Remote Comments on a WordPress site

How to block remote comments on a WordPress site?   How indeed?   Here is a question for all of you – WordPress masters out there.   Right now I am a bit puzzled. Problem – Comments without Visits I am noticing that people are posting a spam comments in a very tricky way.  Somehow comments arrive with Site URL field populated, but I do not even have that field on the “Leave a Comment” form. It means that there is an automated way to send a comment without actually visiting the site.  Is it true?  I am searching all over the Internet right now. Looks like there is a product out there called CxxGxx. …

Read more »


Histiry of This Site – DomainWebCenter.com

2017/09/15
By
Modified: 2017/10/13
Site History - SunWebCenter

Welcome! This is not a typical article for reading. This is a log of important events in site development and growth.   2017 Oct 12 Thu First attempt was made today to transition to a new stable server with PHP7, latest MySQL, latest WP version and a brand-new theme. This transition is done under pressure from many directions: – old server finally died one day before replacement unit arrives; – latest D/B backup is available but too risky to apply in PROD environment; – an issue with Contact the Editor form was fixed here yesterday here – we are OK to go; Apologies, one more time, for loss of some small…

Read more »

ERROR: Unreadable CAPTCHA cookie – RESOLVED!

2017/08/07
By
Modified: 2017/06/25
WordPress -  Unreadable CAPTCHA cookie

RESOLVED!  One of the test WordPress instances had an impossible, unpleasant and not covered on Google error message.  When user is trying to register, the CAPTCHA code is displayed properly and validation is correct, but when the button Register is press, the page would display this: ERROR: Unreadable CAPTCHA cookie I have a plugin “SI CAPTCHA Anti-Spam” installed.  The error message is from this plugin. I’ve tried changing browsers, clear cache and cookies. Nothing worked.  No luck on Internet search either.  What to do? Finally I changed one of the settings on the plugin itself.  I check an option for: Use CAPTCHA without PHP session And it worked!  The error message…

Read more »

Adding a new WordPress site to an Existing Installation

2017/07/12
By
Modified: 2017/06/25

Task You already have a working WordPress (WP) site.  Now, you need to add one more site with a new MySQL database.  This document describes how to add one more database and install a new WP site on the same server. Download Download latest WordPress ZIP package (3.X) and unzip it to your future site location. Open IIS Admin Create a new virtual directory pointing to that location Side Notes – Change root password You need to know existing root user password. Login into MySQL Command Line Client. Select database: use mysql; Reset user password: update user set password=PASSWORD(“NewPassword”) where User=’root'; Allpy new password: flush privileges;   Create a New Database…

Read more »

WordPress Error 500 – Internal server error on Empty Comment

2017/05/17
By
Modified: 2017/04/30
WordPress Error 500 – Internal server error on Empty Comment

Problem – Embarrassing Error 500 I am running latest Word Press 3.0.1 on IIS 7.0.  If visitor tries to leave an empty comment or forgets to enter name or email, an ugly 500 – Internal server error will appear on the screen.  This is extremely embarrassing for the host and for the site. I approximately know that I have three ways to approach this problem: – Disable error 500 on IIS side to allow WordPress to handle it; – Lower level of error generated in WordPress code (IIS will not catch it then) or – Write a local JavaScript to prevent user from posting with empty fields. Solution – One click in…

Read more »

Category Pagination with WordPress on Windows 2008 Server and IIS 7

2013/11/06
By
Modified: 2013/10/07
info_PHP_on_XP

First – The Problem  I can’t get my hands around this problem with WordPress (3.0.1) on Windows 2008 Server.  I need to solve this, because it keeps me from registering with Google AdSense.  They are saying that “Site Navigation is Broken”.  And this is only a problem on Windows 2008 Server and IIS 7.  The exact same site with exact same data works properly on Win XP and IIS 5.1. If I select posts by category (or by month), pagination links at the bottom of the page do not have category loaded in their HREF(s).  So, if user tries to go to next pages, he gets to page 2, or 3, or 4…

Read more »

Movng WordPress Site to a W2K8 Server and IIS7

2010/07/19
By
Modified: 2011/03/15
Movng WordPress Site to a W2K8 Server and IIS7

If you like to be in control of all your servers, you would love the gentle nature of WordPress installation.  Installation includes PHP,  MySQL  and  WordPress components.  All steps can be done manually.  Instead of running install, you can just copy files and directories, and make manual configurations adjustments.  It is like labyrinth of  DLL(s) meets the non-DLL world for the first time.   Check IIS7 Installed Components Windows Server 2008 comes with IIS 7.  Windows 7  and Server 2008 R2 come with IIS 7.5. Check that CGI is installed under IIS Roles (Windows Features).   Installing PHP Download and install latest PHP. Warning 1: Pick “nts” (non-thread-safe) package, if you are…

Read more »

How to install WordPress 3.0 on XP and IIS 5.1 Manually

2010/07/09
By
Modified: 2010/08/09
How to install WordPress 3.0 on XP and IIS 5.1 Manually

If you ever need to transfer your own installation of WordPress from machine to machine, you might need these notes. How to configure a new WordPress install on a new PC and copy My-SQL D/B file.

Read more »

Can I Clean Old Versions of the Same Post?

2010/06/30
By
Modified: 2010/08/09

Question: Each time I modify a POST, a copy of old POST is created and saved. Can I control, how many old posts to retain? Can I clean all old posts? Answer: Yes! You can stop collecting old versions of the posts by adding this line to your wp-config.php file: define('WP_POST_REVISIONS', false); And Yes! You can delete all “revisions” by running this SQL statement against you database: DELETE wp_posts.post_type FROM wp_posts WHERE wp_posts.post_type = "revision"

Read more »