Get 25% off any hosting plan at Hostgator. Use coupon code wphosting9 at Hostgator checkout

Posts Tagged ‘wordpress’

How to force all WordPress Users to Relogin

It may be necessary, for a variety of reasons, to force all your WordPress.org users to relogin without changing the password/passwords. A WordPress users login details are kept in a cookie stored on their PC, iPad, Apple Mac etc. and therefore we need to invalidate their cookies in order to force the cookies to be recreated and for the user to login when next visiting your Website.

Fortunately WordPress provides a very simple means of invalidating existing cookies. Here is how to force all users to relogin:

1. Open the wp-config.php file on your Host so that you may edit it (use notepad, notepad++ or similar)

2. Go to the section that looks like the following:

/**

* Authentication Unique Keys and Salts.

*

* Change these to different unique phrases!

* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}

* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

*

* @since 2.6.0

*/

define(‘AUTH_KEY’, ‘put your unique phrase here’);

define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);

define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);

define(‘NONCE_KEY’, ‘put your unique phrase here’);

define(‘AUTH_SALT’, ‘put your unique phrase here’);

define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);

define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);

define(‘NONCE_SALT’, ‘put your unique phrase here’);

/**

3. In your Internet Browser (Firefox, Chrome, Internet Explorer, Opera etc.) go to https://api.wordpress.org/secret-key/1.1/salt/ . You’ll see that a set of values that looks like the below has been generated (it won’t look exactly the same as below as each time the URL is visited, a unique set of values is shown):

define(‘AUTH_KEY’, ‘Mx5osjW`6K-96^AHABvmVr9l6.N}~.X#grH]{kZuS(‘);

define(‘SECURE_AUTH_KEY’, ‘GItBZ)Q$,c@tYRnv~s[&,E`i4T_=:hupl>|<|x7+Cw');

define('LOGGED_IN_KEY', 'FP&M&Mt:A$[b_{N/q+KVaNRM+mp%<v%[)21K$ECy3K');

define('NONCE_KEY', 'Q)o9M{[k?5tFz^q?`!MLcRrx)IAv58:=A_;$W,@feD');

define('AUTH_SALT', '+9Af6Xv+5 h{moT?Go E{_$>=%nn%xa!hZ~i9-1AVr');

define('SECURE_AUTH_SALT', 'M9c8%gy#*GAZm8TLW5 MA|+eIS2~|:N0cHEL)[_1fn');

define('LOGGED_IN_SALT', 'bcIJ[VGl]b7pAV=c`6I&B;a82&ov{5|7GBdMdqrjCt’);

define(‘NONCE_SALT’, ‘bQwO[t{$#,9!Q&se)M1&iHF*nF2c$El+)zGe*KkFYO');

4. Copy the text that has been generated in your Browser (from https://api.wordpress.org/secret-key/1.1/salt/).

5. Go to notepad or wherever you have wp-config.php open; delete the text as below from wp-config.php and paste the new codes where you deleted the text as below:

define('AUTH_KEY', 'put your unique phrase here');

define('SECURE_AUTH_KEY', 'put your unique phrase here');

define('LOGGED_IN_KEY', 'put your unique phrase here');

define('NONCE_KEY', 'put your unique phrase here');

define('AUTH_SALT', 'put your unique phrase here');

define('SECURE_AUTH_SALT', 'put your unique phrase here');

define('LOGGED_IN_SALT', 'put your unique phrase here');

define('NONCE_SALT', 'put your unique phrase here');

6. Save changes to wp-config.php.

You’ll notice that when you visit your WordPress login details will not longer be stored and will need to be entered afresh.

How to sell an ebook with ClickBank

ClickBank is an extremely popular way of selling digital products such as ebooks. For sellers new to ClickBank it can be confusing as to how ClickBank.com and your Website interact and how people pay and download their ebooks. The ClickBank is very popular and makes many people alot of money. This flowchart shows how to integrate ClickBank and WordPressbiggest misunderstandings occur because there are numerous distinct steps in the process that takes the buyer of your ebook from your Website to ClickBank and then back to your Website. The process flowchart describes the buying process and when purchasers are on your Website and when they are on ClickBank.com. The steps ate detailed below.

1. Your potential buyer arrives at your Site via Adwords, a Search Engine, a direct link or other means of finding your Website. Your landing Page must be optimised to encourage the visitor to want to click and buy your product (in the case of this example, an ebook).
2. As inferred in Step 1, the aim is to convert visitors into buyers. Your landing Page should have numerous easy ways for the visitor to click to buy your ebook.
3. Once the visitor clicks a ‘buy now’ button on your Website they are transferred to a Page on ClickBank.com where they enter their country, name and some other details.
4. Now the buyer is send to another ClickBank Page where they enter their Mastercard, American Express or other Payment details.
5. A final click by the buyer is needed on ClickBank to confirm the purchase. After confirming, the buyer is sent to a ‘Thank you’ Page on your Website.
6. The ‘Thank you’ Page is intended for you to get the first name and email address of your buyer so that you may email them other offers. Details filled in on this Page are submitted to Mailchimp, Aweber or whatever newsletter/email list service you use. Once the buyer submits their first name and email address they are transferred to a Download Page on your Website.
7. There is now a link for the buyer to download their ebook for which they have paid (on ClickBank)

Should I use a Windows or Linux Host for WordPress

If you have chosen to use self-hosted WordPress (i.e. wordpress.org rather than wordpress.com) then, when considering which host to use, one of your first choices will be whether to use Windows Internet Information Server (IIS) or Linux Web-hosting.
Although WordPress software can be installed and run on either Linux or Windows, there can be problems if you use ‘Pretty Hyperlinks’ with Windows Hosting. Some Plugins also work exclusively (or better) with Linux hosting e.g. many that handle redirection such as 404 errors.
If you don’t have a particular reason to choose Windows hosting for WordPress then Linux is likely to be the safer option.

Ping.FM Twitter Not Posting

If you use Ping.fm to post your updates to Twitter you may have noticed that your Twitter account isn’t being updated.You'll need to update your Ping.FM Twitter settings if you post your updates to Twitter from WordPress (via Ping.FM) The reason for this is that, with the much publicized Twitter update, a new authentication method is required to be registered by external posters (e.g. Ping.fm).

To resolve this issue, and make sure that your updates are being posted to Twitter via Ping.fm, merely login to Ping.fm andclick ‘Posting’ in the Dashboard then follow the instructions. Simple!