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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
lip420
Joomla! Explorer
Joomla! Explorer
Posts: 471
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.

 
User avatar
ltheme
Joomla! Guru
Joomla! Guru
Posts: 612
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: 471
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.

helpwithjoomla
Joomla! Intern
Joomla! Intern
Posts: 93
Joined: Sat Sep 21, 2019 7:29 pm
Contact:

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

Post by helpwithjoomla » Wed Sep 25, 2019 4:22 pm

Do you have SEF URL's enabled?

 

Post Reply

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