Remove suffix

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
ghasedakgroup
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat May 18, 2019 10:00 am

Remove suffix

Post by ghasedakgroup » Sat May 18, 2019 10:19 am

hi everyone !

how to remove suffix " ?tmpl=component " enf of url ?

for example :

www.mysite.com/joomla.html?tmpl=component

i saw in all of the joomla sites , in all of the component ,
even in new joomla versions.
This problem has already been
And it has a bad effect on SEO.

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3910
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Remove suffix

Post by gws » Sat May 18, 2019 10:53 am


User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26017
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Remove suffix

Post by Per Yngve Berg » Sat May 18, 2019 12:01 pm

?tmpl=component is a switch for the print function. It shows the content area only without modules. It's rendered by the component.php file in your template. You can set the print&email icons to hide in the menu item.

ghasedakgroup
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat May 18, 2019 10:00 am

Re: Remove suffix

Post by ghasedakgroup » Sun May 19, 2019 5:32 am

Per Yngve Berg wrote:
Sat May 18, 2019 12:01 pm
?tmpl=component is a switch for the print function. It shows the content area only without modules. It's rendered by the component.php file in your template. You can set the print&email icons to hide in the menu item.
This something you said has already been inactive.
But I can see it again !!!
I think that changes should be made to the codes
it's true ?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26017
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Remove suffix

Post by Per Yngve Berg » Sun May 19, 2019 5:35 am

Disallow it in robots.txt

ghasedakgroup
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat May 18, 2019 10:00 am

Re: Remove suffix

Post by ghasedakgroup » Sun May 19, 2019 10:49 am

I've done some things before
Including :
Disallow: /components/
and more ...

Now if something looks to you
Say i do

ghasedakgroup
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat May 18, 2019 10:00 am

Re: Remove suffix

Post by ghasedakgroup » Mon May 20, 2019 9:59 am

Someone can not guide me ?

This means there are two from each address
I already said that it has a bad effect on SEO
If someone prints, they can use the embedded print button in Joomla!


Post Reply

Return to “General Questions/New to Joomla! 3.x”