Website DIY

quick 'n dirty - tricks and solutions for websites

  • Home
  • About
    • About
    • Privacy and Cookies
  • Contact Us
  • Travel Tools Dashboard
  • WP Widgets
    • Travel Advice by Country
    • British Emabassy Finder
Tweet
follow: Follow @means_us_com   follow this via RSS
You are here: Home
Brute force WordPress attack: how to login when locked out by your host’s security (401/406)

Brute force WordPress attack: how to login when locked out by your host’s security (401/406)

By AW on April 29, 2013 | Leave a response

If you are unable to access your WordPress dashboard because the login page is blocked, it could be because your host’s server security has detected a brute force attack.

This article shows how to make a few simple changes which allow you to continue logging in whilst keeping your server’s brute force countermeasures.

Continue reading →
Javascript: forcing Opera to reload from server on back button press

Javascript: forcing Opera to reload from server on back button press

By AW on March 23, 2013 | Leave a response

There are occasions when you may want your pages to be “refreshed” from the server rather than browser cache. This is simple to achieve for most browsers except Opera.
Can’t find a solution that works for Opera on any of the developer forums?

Well here’s how with a few lines of standard Javascript.

Continue reading →
WordPress: hiding your site from comment spam bots

WordPress: hiding your site from comment spam bots

By AW on September 23, 2012 | 3 Responses

Comment spambots use “footprints” to find your site. Find out how to remove these identifying footprints from your blog and vastly reduce the volume of spam targeted at your site.

Continue reading →
Why your Blog is found by spam bots, and what you can do.

Why your Blog is found by spam bots, and what you can do.

By AW on September 19, 2012 | 8 Responses

Is your blog plagued by comment spam? Most spam is generated by automated software. Find out how those bots find your blog, and what you need to change to hide your site from them.

Continue reading →
Custom 404 Not Found Page

4 ways to configure custom 403 and 404 pages; and a warning about infinite loops

By AW on July 7, 2012 | 6 Responses

The default 403 and 404 pages are short plain text messages that do not encourage visitors to stay on your site. Customising these pages is usually achieved by creating 403/404.shtml files. However there are other solutions each with their pros and cons.

Continue reading →

PHP: highlight_file with line numbers and CSS classes

By AW on June 20, 2012 | Leave a response

Include code listings in your posts: this tutorial shows how to trick highlight_file into using classes; add line numbers; and make them easily identifiable for copy and paste.

Continue reading →

3 easy ways to display source code listings for your tutorials and posts

By AW on June 5, 2012 | Leave a response

The lazy bloggers guide to displaying syntax color highlighted PHP code for your articles, posts and tutorials. Line numbers optional! Covers display in both native php pages and CMS (e.g. Wordpress) posts.

Continue reading →

PHP: tricking highlight_file to use CSS classes instead of inline styles

By AW on June 3, 2012 | Leave a response

How to get highlight_file and highlight_string to list your source code using CSS classes instead of inline styles; and reduce the size of your page.

Continue reading →
Web-site Security: blocking user agents, requests & query strings

Web-site Security: blocking user agents, requests & query strings

By AW on May 11, 2012 | 3 Responses

Your first line of defence in preventing common vulnerability scans, directory traversal, and code injection attacks. A must read, if your web-site is hosted on either Apache (Linux) or IIS (Microsoft) servers.

Continue reading →

WordPress Child Themes: 4 ways to avoid inefficient CSS import

By AW on April 26, 2012 | 3 Responses

Google and Yahoo advise against using “CSS @import”. However; tutorials on creating Wordpress Child Themes (including the Wordpress Codex) invariably use the “@import rule” in the child stylesheet .

Find out how to avoid CSS import ….

Continue reading →
1 2 Next →

I started with noble intentions, with no ads for over a year. But due to costs and time spent running this site, behold a selection of ads chosen by Google!

Archives

  • Brute force WordPress attack: how to login when locked out by your host’s security (401/406)
  • Javascript: forcing Opera to reload from server on back button press
  • WordPress: hiding your site from comment spam bots
  • Why your Blog is found by spam bots, and what you can do.
  • 4 ways to configure custom 403 and 404 pages; and a warning about infinite loops
  • PHP: highlight_file with line numbers and CSS classes
  • 3 easy ways to display source code listings for your tutorials and posts
  • PHP: tricking highlight_file to use CSS classes instead of inline styles
  • Web-site Security: blocking user agents, requests & query strings
  • WordPress Child Themes: 4 ways to avoid inefficient CSS import

Article Categories

  • Wordpress (5)
  • security (4)
  • PHP (3)
  • travel widget (2)
  • Uncategorized (1)
  • page speed (1)
  • programming (1)
  • HTML (1)
  • blogging (1)
  • Javascript (1)

Google Advertisement

  • Home
  • About
  • Contact Us
  • Travel Tools Dashboard
  • WP Widgets

Copyright © 2013 Website DIY.     This site recommends and is hosted by: Kualo Web Hosting

Using WordPress and Trending.
Spam Prevention Spam Free Wordpress