Keyword

exclude from search

  • Brian Shaughnessy
  • Brian Shaughnessy's Avatar Topic Author
  • Offline
  • New Member
More
9 years 1 month 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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month 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

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 1 month 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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Brian Shaughnessy
  • Brian Shaughnessy's Avatar Topic Author
  • Offline
  • New Member
More
9 years 1 month 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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month 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...)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Steven Trooster
  • Steven Trooster's Avatar
  • Offline
  • Premium Member
More
4 years 2 months 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.

More
4 years 2 months ago #174889 by JoomlaWorks
Replied by JoomlaWorks on topic exclude from search
Thanks for sharing.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum