Created at: February 27, 2019; Last update: February 27, 2019
I am in the process of making a new WordPress website, starting from an existing WordPress which has a really long history, with a lot of plugins.
The problem I encountered was that the old website had pages that ended with “.htm”. Why would someone bother to have urls that ended with “.htm” extension is way beyond me, but considering that the client wanted to keep those urls the same (“for the moment”), and I didn’t want to add another plugin, I had to find a way to deal with those urls.
So, I started by allowing the extension in the rewrite rules of the new WordPress instance:
After that, we see that the url is accepted, but a redirect is done with 301 code. But we do not want a redirect, as this would not solve our problem. For this we need to remove the redirection filter:
Created at: March 31, 2017; Last update: March 31, 2017
I came with a new video tutorial. This one is about how to properly configure the session library in CodeIgniter. Why this subject? Because, although it is clearly written in the official documentation about how to use the sessions, some people don’t ever seem to have the time to read. Continue reading →
Created at: March 29, 2017; Last update: March 29, 2017
Well… Some people asked for video tutorials, and I do realise we are living in different times, but my spoken english is not that good. Please have a look at the tutorial and tell me your opinion. Continue reading →
Created at: February 17, 2017; Last update: February 22, 2017
Well… It seems that I’ve come to take an interest into Arduino micro-controllers. And they look great. At least the version I bought seems to be ready to be included into really serious projects, having with it some sort of plastic cover that allows me to fix it with screws. Continue reading →
Created at: February 1, 2017; Last update: February 1, 2017
This site is the result of many work hours. It’s not a copy/paste site you see everywhere on the internet. I did and still do my best to support new developers who want to learn how to program.
This site is not here to annoy you with bad, outdated or incomplete tutorials, nor I am click-baiting you. I am true to what I am teaching you. I am not asking you to click on ads, nor do I do “click baiting”.
And yet I’ve detected that you are using AdBlock Plus or some other adblocking software which is (not) preventing the page from fully loading.
I need money to operate the site, and almost all of it comes from our online advertising. I don’t need money to operate the site (I actually buy games which I play in my spare time), and I am not expecting you to click on the ads that are displayed (although I do hope that you will find some interesting ads that will make you click on them).
Once every 15 months I receive a 70 dollars payment from Google. If you think I get too much for my work on this site, you are free to leave the website. If, on the other hand, you think I deserve more, you are free to make a donation (see the right sidebar…).
So, please add avenir.ro to your ad blocking whitelist or disable your adblocking software. I sure hope you will make the right decision…
Created at: October 21, 2016; Last update: October 21, 2016
Up until now we’ve done our tests by echoing to the browser window the variables. Of course, this was only to do our tests and to see if what we do is ending well or not.
But now we should talk about the Views in MVC. Do you remember the global variables that Fat-Free Framework is using extensively in what it names the Hive? Well… Among these global variables there exists one named UI (from user-interface?). This variable tells the framework where it can find the views in case these views are called. Continue reading →