Solved

Avoid template parameter on Joomla

Posted on 2011-09-13
11
232 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Have you ever wanted to use that sweet jQuery gallery plugin on your Joomla site but couldn't get it working due to jQuery conflicts or your lack of knowledge about what's under the Joomla hood? This article will step you through the process of impl…
First of all, we will need Jumi component or Sourcerer plugin for this to work. We need either of these because the main focus here is custom development outside of the standard modules or articles within Joomla. You can find Jumi here...it's my …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

816 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

8 Experts available now in Live!

Get 1:1 Help Now