Graphic Motion Video Art, Website, IT Network, Culture

Loading...
Converting PHP URL into HTML URL for Joomla SEO

Joomla is classified as a dynamic website with a Content Management System (CMS) which is the content of articles that are included in a Joomla database system. Joomla itself is designed to be a php-based system that it will also include inside with html, css, javascript and other supporting scripts that build joomla content management system. So Joomla was built by the complex script that allows you to build dynamic websites with the database content.


At the time when you opening Joomla website articles that already you have done, by default the joomla site on a browser will display the url address article is not ending ".html", but will show joomla article with a url with database code php that is relatively longer. This will make Search Engine difficult to find or identify the articles on joomla site (not SEO Friendly) To create the Url to be SEO friendly, you must be customizing SEO Setting in Joomla "Global Configuration. Go to Joomla backend (administration panel), click on the tab: Site > Global Configuration, sign the radio button in yes on SEO Settings.

The next you go to the cpanel, click on public_html and find “.htacces” file. If you find htacces.txt rename it to be ".htacces ". The first time the content of ".htacces" is blank. You must fill with the script below as the content of ".htacces" file, to specify mod rewrite to avoid an error when SEO setting have been activated on global configuration.

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

Copy the Rewrite Engine script and paste into your “.htacces”.  In this way all of the url of joomla website articles will be write into SEO friendly url, that sign by "www.domain_name/category_name/article_title.html". This is more easily for search engine to find all of the articles that you have in your joomla site. For more clearly let's see the article video! Good luck!

Share This Article :
Related Articles

1 comment :

  1. Sell and buy used and new goods.
    Post ads for free or get free account via Facebook Login in one click.
    More details free classified ads for jobs

    ReplyDelete

Back to Top