Created at: October 6, 2016; Last update: October 7, 2016
In order to install Fat Free Framework, we don’t need composer, but it is a good idea to use composer because we need to think about the good things coming from it, like loading additional libraries, or updating the framework and/or libraries. Continue reading →
There are moments in your programmer life when you are asked to do a small “landing page”, which actually turns out to be a “mini-website” with an “About” page, a “Contact” page and a few other pages. Continue reading →
Created at: April 8, 2016; Last update: April 8, 2016
Hello again. I would like to present to you a small project I am working at. It is called Tusker, is made using CodeIgniter 3.x, and it is a simple task management web app. I sure hope you give it a try and tell me about new things to add to it. The Github repository can be found here: https://github.com/avenirer/Tusker
Created at: March 23, 2016; Last update: March 24, 2016
I promised myself I won’t do anymore tutorials regarding CodeIgniter until a new version is about to appear, but I can’t help myself. And this subject seems more than appropriate for a new tutorial.
Let us start with the beginning. In routes.php (application/config/routes.php), we have a configuration parameter called “translate_uri_dashes“. If we set this parameter to TRUE, the CodeIgniter framework will translate the dashes (“-“) in our urls into underscores (“_”) when calling a controller or a method. This, of course is what we want in order to have “SEO friendly” URLs (although I think it’s strange that up until this moment, search engines can’t interpret an url). Continue reading →
Created at: March 1, 2016; Last update: March 18, 2016
Well… We’ve come so far… I thought that it was simple to implement an authentication system with Ion Auth, but still some people don’t seem to understand how to implement this by using AJAX. Continue reading →
Created at: December 22, 2015; Last update: February 19, 2016
Well… I see a lot of questions regarding SEO friendly URLs, and also regarding the problem with URLs that have trailing slashes which show the same content as the URLs without trailing slashes. Although I really hope that the search engines are smarter than treating those URLs as duplicate content, I feel there is the need to know how to redirect them to the non-trailing slashes URLs.
So here it is. You open .htaccess, and you should have in it the following: