Why is and how to remove "component/content/article?id=" from search? Topic is solved

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
lip420
Joomla! Explorer
Joomla! Explorer
Posts: 462
Joined: Thu Feb 17, 2011 6:13 am

Why is and how to remove "component/content/article?id=" from search?

Post by lip420 » Sun Jun 09, 2019 1:17 pm

I noticed some of these pages show up in search for my site instead of blog SF url.

Example:
http://www.mysite.com/component/content ... y-dog-died

Shows in search but:

http://www.mysite.com/blog/my-dog-died

Doesn't.

But, for some of the other pages the SF url does show.
Ta dah! I made a super fast and minimalistic joomla template! Wanna get 100% on Pagespeed out of the box?http://www.inghh.com/jspeed/

User avatar
ltheme
Joomla! Guru
Joomla! Guru
Posts: 608
Joined: Wed Dec 04, 2013 2:43 pm
Location: US
Contact:

Re: Why is and how to remove "component/content/article?id=" from search?

Post by ltheme » Mon Sep 09, 2019 9:09 am

You just use Hidden Menu, create new menu item and link it to your component area with bad URL, then you will have nice URL. Use "Hide Menu" option on details of menu item to hide it on mainmenu.
Steve (Mr.) - fan of Joomla! CMS.
https://ltheme.com/joomla-templates/ <= Free Joomla! 3.x templates.
https://ltheme.com/free-one-page-joomla-templates/ <= Free Onepage Joomla! templates
^Compatible with Joomla! 3.x and Joomla! 4

lip420
Joomla! Explorer
Joomla! Explorer
Posts: 462
Joined: Thu Feb 17, 2011 6:13 am

Re: Why is and how to remove "component/content/article?id=" from search?

Post by lip420 » Mon Sep 09, 2019 9:18 am

I added Disallow: /component to robots.txt
Before I had it removed. Hopefully that will help.
Ta dah! I made a super fast and minimalistic joomla template! Wanna get 100% on Pagespeed out of the box?http://www.inghh.com/jspeed/


Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”