Solved

Avoid template parameter on Joomla

Posted on 2011-09-13
11
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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
 
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

632 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