DEANO.ME

htaccess

 

htaccess

There is a mobile optimized version of this page, view AMP Version. Recently I was trying to fix a website that needed to run PHP script from within HTML files, the site originally used a htaccess rule to set up html files so they were executed just like php files but this had stopped working. […]

 

htaccess

There is a mobile optimized version of this page, view AMP Version. UPDATED 17/08/2016 – Fixed a bug in the code, sorry! Some people still prefer to use www in their websites, however using www. is no longer a standard for websites and was invented when the internet first started as an indicator that you […]

 

htaccess

There is a mobile optimized version of this page, view AMP Version. Allot of outdated websites still use www. in their urls, however did you know this is very outdated behaviour invented way back when the internet first started? The whole idea of using www. was invented so that anyone seeing a URL would instantly […]

 

There is a mobile optimized version of this page, view AMP Version. Something that has been racking my brain this morning… I recently moved all the sites I host (including my own) to a new VPS server, everything went far smoother than I could have imagined and I thought I had escaped the pains that […]

 

There is a mobile optimized version of this page, view AMP Version. I came across a very weird and extremely annoying “feature” of Apache recently when configuring a clients web server. When linking to a file on the server, you could directly link to a file without specifying it’s file extension. so linking to: http://mysite/favicon […]

 

There is a mobile optimized version of this page, view AMP Version. This is something that has been irritating me for a while now, I like to remove and force removal of the www. in front of all websites that I own and host. However the only examples I have ever found online use the […]

 

There is a mobile optimized version of this page, view AMP Version. Hey everyone ,So recently I noticed that Google had indexed my whole Development server! To combat this I immediately inserted a robots file into the root of my Apache server so that Google would stop indexing everything. After a month it was still […]