Block no-referrer spam on your WordPress website

If you are not sure what referrer spam is you may wish to check this article:
http://en.wikipedia.org/wiki/Referrer_spam

To block these spam referrers you need the following lines in your .htaccess file and replace example.com with your domain: Read More


PHP5 or WordPress on 1and1 shared hosting server

if you are having issues  simply add this line to your .htaccess file to force php5

AddType x-mapp-php5 .php

WP Security Scan – Plugin

NOTE:  Directories should be set to  755 and file should be set to 644

WP Security Scan checks your WordPress website/blog for security vulnerabilities and suggests corrective actions such as:

  1. Passwords
  2. File permissions
  3. Database security
  4. Version hiding
  5. WordPress admin protection/security
  6. Removes WP Generator META tag from core code

Requirements

  • WordPress version 2.6 and higher (tested at 3.1)
  • PHP5 (tested with PHP Interpreter >= 5.2.9)

For more information on the WP Security Scan and other WordPress security news, visit the WebsiteDefender Blog and join our Facebook page. Post any questions or feedback on the WP Security Scan plugin forum.

Link:  wordpress.org/extend/plugins/wp-security-scan/


Protect WP-config.php File

Add this to your .htaccess file:

# PROTECT WP-CONFIG
<Files wp-config.php>
Order Allow,Deny
Deny from all
</Files>

AND -> make sure your file permissions are set to: 644


Sticky Posts per Category

WordPress-Logo

 

Using WordPress as a CMS,  I needed the sticky posts to display on the top of the page per category and then display the rest of the post (in the category) in alphabetical order by title.

I ended up running 2 loops, 1 for sticky post and 1 without. I created a category.php file and I’m using the follow queries:

Read More


Copyright © Jason Huber .net
This site is mobile ready. How about you?