Joomla Plugin: Alarm System

Joomla_Alarm_System

 

I would like to recommend Joomla plugin named Alarm System which added extra protection to Joomla Administrator/backend access.

Joomla_Alarm_System

With this plugin, you could enable the Alarm based PIN before access to your Joomla application. 

Feel free to install Joomla Alarm System as URL below as it is free to use.
http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection/25162

Enable SEF on Joomla 1.6 with IIS6

I was informed by a customer that when installing Joomla 1.6 with IIS 6 server, and if you enabled SEF (Search Engine Friendly), you will get an Error 404 pages not found error.

To fix this issue, simply add the following line just after the php tag from index.php file and it will look like,

<?php:

if ( isset( $_SERVER[ 'HTTP_X_REWRITE_URL' ] ) )
{
$_SERVER[ 'REQUEST_URI' ] = $_SERVER['HTTP_X_REWRITE_URL' ];
}

 

Understand and Enable Search Engine Friendly (SEF) in Joomla

Search Engine Friendly(SEF) also known as human readable URL. With the most famous Web Service like Nginx, Apache and IIS7, they do support URL rewrite or mod_rewrite to rewrite the human readable URL such as www.domain.com/about instead of www.domain.com/about.html.

With Joomla 1.5 and above, Joomla come with 3 option from your Global Configuration.
–  Search Engine Friendly URLs – With this option enabled, SEF will enable and your URL will look like, http://www.example.com/index.php/the-­news/1-­latest­-news/1­-welcome­-to­-joomla.
– Use Apache mod_rewrite/URL rewriting – With this option enabled, mod_rewrite will eliminate inde.php and your URL will look like, http://www.example.com/the-­news/1­-latest-­news/1-­welcome-­to­-joomla
– Add suffix to URLs – With this option enabled, your URL will added .html at the end of the URL and it will look like http://www.example.com/the-­news/1­-latest-­news/1-­welcome-­to­-joomla.html

Nginx
To enable SEF with Nginx, add the following line to your (vhost)nginx.conf file.

# Support Clean (aka Search Engine Friendly) URLs</tt>
        location / {
                try_files $uri $uri/ /index.php?q=$request_uri;
        }

Apache
To enable SEF with Apache server, you may easily rename the htaccess.txt to .htaccess file. This step is not necessary as you may get your .htaccess file generated if it is install in  own folder.

IIS 7
With IIS 7, you may choose to use GUI or directly add it from web.config file.

With GUI interface, you may add the following option from the URL rewrite option.

Pattern field: ^([^/]+)/?$
Ignore case ON
Action type: Rewrite
Rewrite URL: index.php/

 Otherwise, you may add the following line to your web.config file.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <clear />
                <rule name="Common Exploit Blocking" stopProcessing="true">
                    <match url="^(.*)$" />
                    <conditions logicalGrouping="MatchAny">
                        <add input="{QUERY_STRING}" pattern="mosConfig_[a-zA-Z_]{1,21}(=|\%3D)" />
                        <add input="{QUERY_STRING}" pattern="base64_encode.*\(.*\)" />
                        <add input="{QUERY_STRING}" pattern="(\&lt;|%3C).*script.*(\>|%3E)" />
                        <add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" />
                        <add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" />
                    </conditions>
                    <action type="Redirect" url="index.php" appendQueryString="false" redirectType="SeeOther" />
                </rule>
                <rule name="Joomla Search Rule" stopProcessing="true">
                    <match url="(.*)" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{URL}" pattern="^/search.php" ignoreCase="true" />
                    </conditions>
                    <action type="Rewrite" url="/index.php?option=com_content&amp;view=article&amp;id=4" />
                </rule>
                <rule name="Joomla Main Rewrite Rule" stopProcessing="true">
                    <match url="(.*)" ignoreCase="true" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{URL}" pattern="(/[^.]*|\.(php|html?|feed|pdf|raw))$" />
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php/" />
                </rule>
            </rules>
        </rewrite>
        <caching>
            <profiles>
                <add extension=".php" policy="DisableCache" kernelCachePolicy="DisableCache" />
            </profiles>
        </caching>
    </system.webServer>
</configuration>

Joomla: migrate content from Joomla 1.5 to Joomla 1.7

This article is sharing how to migrate your Joomla 1.5 content to Joomla 1.7.

As Joomla 1.5 and Joomla 1.7 come with different structure, you might found out it is difficult to upgrade your Joomla directly from application source. However, you may upgrade the content from back-end.

First of all, you need to ensure the database prefix and assume that you are using original prefix named jos_.

To backup from Joomla 1.5,
1. Log into the PHPMyAdmin.
2. Select on SQL tab.
3. Enter this query,

SELECT `title`, `alias`, `title_alias`, `introtext`, `fulltext`, `state`, `sectionid`, `mask`, `catid`, `created`, `created_by`, `created_by_alias`, `modified`, `modified_by`, `checked_out`, `checked_out_time`, `publish_up`, `publish_down`, `images`, `urls`, `attribs`, `version`, `parentid`, `ordering`, `metakey`, `metadesc`, `access`, `hits`, `metadata` FROM jos_content

4. Select on Export from bottom.
5. Click Go to save it.

To restore to Joomla 1.7,
1. Log into the PHPMyAdmin.
2. Click on the Import button.
3. Select the file and import it.

Joomla Search Engine Friendly(URL) in IIS7

Many user who using IIS7 as the web services and found out the SEF(Search Engine Friendly aka Permalink or URL rewrite) is not working in Joomla.

With Joomla implementation, it is using the rewrite rules to perform the Search Engine Friendly to be worked. Hence you either need the URL rewrite configuration installed or APE(Apache emulator) to done it.

Although the easiest way is using Ape(Apache emulator) to done it by installing Ape to your IIS7, however some module might not really working well from Ape to IIS7 and Mick Genie will not teach how to install Ape to your IIS7, however you may install it through URL as below.
Download here: http://www.iis.net/community/default.aspx?tabid=34&g=6&i=1938

Today, Mick Genie will teach you how to use Microsoft URL Rewrite tool where free to download from Microsoft IIS site.
1. Firstly download the Microsoft URL Rewrite tool.
2. Edit or create a web.config file from the Joomla application folder.

3. Add the following line to your web.config file.
Continue reading Joomla Search Engine Friendly(URL) in IIS7

How to check Joomla version from backend

With this article, Mick Genie will guide you how to search the Joomla version from the back-end scripting.

Refer to the following command to grep the Joomla version.

[email protected] [~]# grep version language/en-GB/en-GB.xml
<?xml version=”1.0″ encoding=”utf-8″?>
<metafile version=”1.5″  client=”site” >
<version>1.5.15</version>