Webstuff.Inblighty.Com

Website DIY - tricks and solutions

Author: AW (Page 4 of 4)

I love everything IT and enjoy research and solving problems.
I'm not an internet expert, but I do have 20 years of ancient commercial IT experience. I started work (pre PC and Linux) on an IBM 370 mainframe where programs were read from punch cards and you had to calculate your file locations on disk. My work in IT also included 10 years as a Computer Auditor.

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

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. Read More

Category: HTML    Tags:

PHP: highlight_file with line numbers and CSS classes

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. Read More

Category: PHP    Tags:

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

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. Read More

Category: PHP    Tags:

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

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. Read More

Category: PHP    Tags:

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

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. Read More

Category: Security    Tags:

WordPress Child Themes: 4 ways to avoid inefficient CSS import

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 .... Read More

Category: Wordpress    Tags:

WordPress Security: why you should NOT require commenters to register.

Last month there were reports that a cyber-criminal gang had infected 30,000 Wordpress blogs to market “anti-virus” software. Wordpress is a popular target; keep your version and plugins up to date; and don't expose your site to unnecessary risks. If you require users to register before posting comments, for no other purpose than as part of your spam prevention strategy, then think again: ............ Read More

Category: SecurityWordpress    Tags:

WordPress: the fast way to add your own CSS on top of a theme

Index: Introduction. Just show me how to do it. Plugin verses Child Theme – pros & cons. Inspiration. Skeleton plugin code. Read More

Category: Wordpress    Tags:

Blocking hackers and spammers from your site

This article is about one of your first lines of defence – using an Access Control List (e.g. htaccess on Apache sites) to block unwanted visitors/bots from your site, by country IP location. Part 2 will look at blocking by User Agent. Read More

Category: Security    Tags:
Newer posts »
Copyright © 2024 Webstuff.Inblighty.Com
This site recommends and is hosted by: Kualo Web Hosting.    
Theme: hemingway
 

Blog home  |  ↑ Top of Page ↑