How to: CentOS, Virtualmin – htaccess rewrite index.php, redirect .php to no extension, rewrite non .php to .php

RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineHere is a quick guide on how to 1.  rewrite index.php to root 2. redirect .php to no extension (non .php) 3.  rewrite non .php to .php using a .htaccess file To do this the order of the rules in…

How to: Display Joomla 2.5 Modules in a Position in Template override, component, module – Without Using jdoc Tags

RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineThere are times where you might want to display a module or modules of a position on your Joomla 2.5 site`s outside the context of the site default template / index.php – perhaps you want to display it in a…

How to: MySQL search and replace, PHPMyadmin, Joomla Params etc.

RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineBelow are a few SQL statements I use to search and replace the value of params in Joomla, in this case I added another value. UPDATE  `joomla_database_name`.`j15_modules` SET  params = replace(params, '"cache":"0"', '"backname":"1","backlink":"1","cache":"0"') WHERE  `j15_modules`.`module` ="mod_menu"; Here is another statement…

How to: CentOS 5 Virtualmin Joomla 2.5 Memcached PHP client library

RedditDiggFacebookTwitterFlipboardPinterestLinkedinLineInstalling and setting up the Memcached server Memcached is available as a ready-made package in the Remi  repository. So lets install the Remi repository first: cd /etc/yum.repos.d wget http://rpms.famillecollet.com/enterprise/remi.repo Memcached server install yum –enablerepo=remi install memcached   Edit and use the…