Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Avoid template parameter on Joomla

Posted on 2011-09-13
11
Medium Priority
?
242 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Here is a tutorial for making your own Joomla templates. Note before reading, you should have some existing knowledge of web development using HTML and CSS. Design Layout: Design your template in a graphics program like Adobe PhotoShop or Corel…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

730 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