• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

Avoid template parameter on Joomla

I would like to avoid links like this: http://www.mediacionyparticipacion.com/index.php?tmpl=component

for just accepting links like this: http://www.mediacionyparticipacion.com/index.php
or like this: http://www.mediacionyparticipacion.com/mediacion?top=1

Is this possible ? I mean, is it possible to avoid tmpl=component or even tmpl=anything on our production site ?

Thank you
0
gplana
Asked:
gplana
  • 6
  • 5
1 Solution
 
Panagiotis Sweb developer - designer Commented:
try to use SEF

you can use joomla default or an external component like sh404sef
0
 
gplanaAuthor Commented:
Actually I have SEF urls activated.
0
 
Panagiotis Sweb developer - designer Commented:
i cant see any page in your web site with the above url tmpl=component
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
gplanaAuthor Commented:
I don't understand. This link is not working for you ?: http://www.mediacionyparticipacion.com/index.php?tmpl=component
0
 
Panagiotis Sweb developer - designer Commented:
what kind of link is the above?

can i find it through the site?
0
 
gplanaAuthor Commented:
It's the homepage, but only the sectio npart (the content of the component). So I want to avoid user to be able to access this.
0
 
Panagiotis Sweb developer - designer Commented:
how an average user will imagine to write this url?

0
 
gplanaAuthor Commented:
Don't worry about this. I need a solution because I have detected google has indexed this URL
0
 
Panagiotis Sweb developer - designer Commented:
use sh404sef o redirect this url to another
0
 
gplanaAuthor Commented:
I found a solution for my own.

I have copied index.php to component.php on the template folder. This doesn't avoid tmpl parameter but makes it doing the same as if it is not present.

0
 
gplanaAuthor Commented:
I found solution for my own.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 6
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now