Solved

Avoid template parameter on Joomla

Posted on 2011-09-13
11
229 Views
Last Modified: 2012-08-13
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
Comment
Question by:gplana
  • 6
  • 5
11 Comments
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36530598
try to use SEF

you can use joomla default or an external component like sh404sef
0
 
LVL 15

Author Comment

by:gplana
ID: 36530719
Actually I have SEF urls activated.
0
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36530766
i cant see any page in your web site with the above url tmpl=component
0
 
LVL 15

Author Comment

by:gplana
ID: 36530891
I don't understand. This link is not working for you ?: http://www.mediacionyparticipacion.com/index.php?tmpl=component
0
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36531389
what kind of link is the above?

can i find it through the site?
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 15

Author Comment

by:gplana
ID: 36531500
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
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36531515
how an average user will imagine to write this url?

0
 
LVL 15

Author Comment

by:gplana
ID: 36531796
Don't worry about this. I need a solution because I have detected google has indexed this URL
0
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36531934
use sh404sef o redirect this url to another
0
 
LVL 15

Accepted Solution

by:
gplana earned 0 total points
ID: 36532706
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
 
LVL 15

Author Closing Comment

by:gplana
ID: 36555847
I found solution for my own.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Welcome Friends, This is the tutorial for how to create new simple module in joomla 1.5. In the module has two important files. One is XML file and another file is PHP controller file. First you need to create the XML file. (CODE) …
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video discusses moving either the default database or any database to a new volume.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now