How to parse HTML files with apache / php7

TL;DR version: here’s how to parse HTML files with PHP hypertext preprocessor on apache 2.4x webserver, and PHP7 on linux

In PHP 7, the newest and ever more popular version of the PHP scripting language, the only files that are parsed by default are the ones that have .php, .phtml, or .php3/php4/php5 extensions. I don’t know who might still be using .php3, .php4 (never seen anyone use this one), or .php5 file extensions, but I’m sure many of you still usually use HTML files, and want to insert some PHP code into it.

Obviously, even though a lot of discussion is against the practice of parsing HTML files with PHP, you might still need this option. Regardless of whether you are a beginner or a pro in the art of website creation, scripting, web programming and alike, you still need to be able to parse files with the HTML or HTM extension, as PHP files, because integrating some PHP code into HTML and viceversa, it’s the easieast way to quickly test out something in a browser. So set aside the “best practices” pride for now, and just accept it as a fact that a lot of people still need this option 🙂

…click here to read the rest

EasySlider tutorial – how to create a slider and add it to a page in wordpress

A customer of mine has asked me on fiverr how she can create posts from sliders and add it to her pages, so instead of just writing a post about it, I created a small how-to video and uploaded it to youtube.

Here’s the clip, it could be useful for someone else, too, not just to my customer

…click here to read the rest

A great stress relief with a free game: HexGl

Once the work-week is over, most people can hardly wait to get home and unwind with some interesting pastime, a game, a good TV show, or just by hanging out with friends and family.

For those that would like to unwind with a free, online game, I suggest you give this new, free, HTML 5 version HexGL a try. It’s very easy to play, and it sure captures attention, the graphics is beautiful, both on smaller and larger screens, I’ve even tried it on 1440×900 large screen laptop, and it looks very nice.

…click here to read the rest

Ahrefs bots are eating your bandwidth ? Here’s how to block them

The site ahrefs.com can purportedly tell any site owner, for prices starting from 99$ / month, who links to them from where, and also provide site owners with other seemingly significant and meaningful data about visitor activity.

The problem is, they use software bots to crawl sites, and THOSE BOTS CLICK ON LINKS in your site, if you have outgoing links, probably to verify if the outgoing links have real destinations or are just linkbaits. For a regular site, WITHOUT AFFILIATE connections, this probably won’t hurt anyone, but in the case of affiliate sites, regardless of affiliate programs, it’s a disaster.

…click here to read the rest

What is local GEO targeting and why you should care ?

Image of Local GEO targeted pages generator for WordPress

Local GEO targeted pages generator plugin for wordpress

Local geo targeting is the fine-tuning of the RELEVANCE of your search-engine result pages entries, to the specific areas or cities, in which you provide your products or services, and to those specific services, that your business has to offer. And it’s the single biggest improvement you can give your site, if it’s based on wordpress, to get better search engine rankings and outrank your competitors.

…click here to read the rest

Why I am disgusted with Yoast’s SEO plugin


2  comments

Caution: this is A RANT !

Image of dislike for Yoast's SEO pluginI’m both a blogger and a freelancer, and I write articles both for myself and my customers from time-to-time. And from time-to-time, I am faced with the inability to write compelling, in-depth, well-written and meaningful articles, because my customers or friends expect me to write those articles in accordance with Yoast’s SEO plugin’s READABILITY score. This readability test/analysis in that plugin simply pisses me off, and for good reason. Read on to find out why I find Yoast’s readability tests disgusting.

…click here to read the rest