Keyword

exclude from search

  • Brian Shaughnessy
  • Brian Shaughnessy's Avatar Topic Author
  • Offline
  • New Member
More
5 years 4 months ago #141996 by Brian Shaughnessy
exclude from search was created by Brian Shaughnessy
Does anyone know of a way -- or an extension -- that will let us identify specific K2 items we want excluded from the search? We have some content that we don't want to come up in search results.

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #142015 by Krikor Boghossian
Replied by Krikor Boghossian on topic exclude from search
I am sorry but I do not know of such an extension.
You can try at the JED or getk2.org/extend/extensions

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #142093 by Joe Campbell
Replied by Joe Campbell on topic exclude from search
Hey Brian,

When you say excluded from the search , if you referring to search engines, you can use the following technique:

Use the NoNumber ReReplacer Pro Version to modify the meta of pages you do not want indexed by search engines.

Simply find a common met tag that is rendered for your pages and replace it with <meta name="robots" content="noindex, nofollow" />

So for example, you could use the following find & replace logic:

FIND:
</title>

REPLACE:
</title>
<meta name="robots" content="noindex, nofollow" />

Then you would simply use the Publishing Assignments (Pro feature) to specify which page(s) you want the find & replaced excluded on (for example: tag pages, search pages, any page of a specific category or menu, etc.)

Personally, I install the NoNumber ReReplacer extension on every Joomla! site that I develop.

I hope this helps.

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #142098 by Krikor Boghossian
Replied by Krikor Boghossian on topic exclude from search
Hello Joe,

I think Brian meant the site's search module.
If you want something not indexed then no index and no follow can be added in the item's 'Metadata Information' form.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Brian Shaughnessy
  • Brian Shaughnessy's Avatar Topic Author
  • Offline
  • New Member
More
5 years 4 months ago #142107 by Brian Shaughnessy
Replied by Brian Shaughnessy on topic exclude from search
yes, I meant the site search.
I ended up modifying the K2 search plugin and adding a config option to exclude certain articles based on their ID. it's working great.

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #142108 by Krikor Boghossian
Replied by Krikor Boghossian on topic exclude from search
Kudos Brian :)
Although creating a new plugin would ensure smooth updates (no backing up, patching...)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Steven Trooster
  • Steven Trooster's Avatar
  • Offline
  • Premium Member
More
5 months 3 weeks ago #174888 by Steven Trooster
Replied by Steven Trooster on topic exclude from search
Though this question is some years old, it pops up as the first hit in Google. There is a plug-in for this, that can do even more: thekrotek.com/joomla-extensions/search-k2-pro

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
5 months 3 weeks ago #174889 by Fotis
Replied by Fotis on topic exclude from search
Thanks for sharing.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum