This tutorial will show you how to hide your module positions in your Joomla! 1.5 site by preventing someone from adding ?tp=1 to your domain name. Joomla 1.6 and 1.7 have this feature built-in so this need not apply for versions above 1.5.

Make sure you have SEF URLS enabled

The first thing to make sure is that you have SEF urls setup already. Check our Ultimate Joomla SEF URL Guide if you need help with this.

Add the Rewrite to the Htaccess file

Navigate to your Joomla installation root using your host's file manager (example: cpanel >> file manager) or favorite FTP program (example: Filezilla) and edit the .htaccess file.

Note: if you have htaccess.txt please make sure that you go through the Ultimate Joomla SEF URL Guide as noted above.

Add the following code to the .htaccess file:

##### Start ?tp=1 prevention ######
RewriteCond %{QUERY_STRING} tp=(.*)
RewriteRule ^(.*)$ index.php [F,L]
##### End ?tp=1 prevention ######

Save.

That's it. You're done! Now just double check to make sure it's working by going to www.yourdomain.com/?tp=1

Login to post comments

advertise with us

Boost your traffic and expand your pool of potential customers

8000 active members

Ready to join Now?

CMS Portal - The free marketplace for submitting Joomla, Drupal, Wordpress, Magento, phpBB, Prestashop, vBulletin, Opencart Templates and more.

FOLLOW US

Email Newsletters

Make sure you don't miss interesting happenings by joining our newsletter program.
konya escort eskisehir escort canakkale escort samsun escort balikesir escort aydin escort hatay escort kahramanmaras escort giresun escort tokat escort
Joomla Templates Free Joomla Templates Virtuemart Templates K2 Templates JoomShopping Templates HikaShop Templates SobiPro Templates OpenCart Themes
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes
bettilt
tempobet