- Posts: 18
 
COMMUNITY FORUM
exclude from search
- Brian Shaughnessy
 - 
				
Topic Author
 - Offline
 - New Member
 
		Less
		More
		
			
	
		
			
	
						10 years 7 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.
- Krikor Boghossian
 - 
				
 - Offline
 - Platinum Member
 
		Less
		More
		
			
	
		- Posts: 15920
 
			
	
						10 years 7 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
					You can try at the JED or getk2.org/extend/extensions
Please Log in or Create an account to join the conversation.
- Joe Campbell
 - 
				
 - Offline
 - Platinum Member
 
		Less
		More
		
			
	
		- Posts: 438
 
			
	
						10 years 7 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.
					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
 - 
				
 - Offline
 - Platinum Member
 
		Less
		More
		
			
	
		- Posts: 15920
 
			
	
						10 years 7 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.
					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.
Please Log in or Create an account to join the conversation.
- Brian Shaughnessy
 - 
				
Topic Author
 - Offline
 - New Member
 
		Less
		More
		
			
	
		- Posts: 18
 
			
	
						10 years 7 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.
					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
 - 
				
 - Offline
 - Platinum Member
 
		Less
		More
		
			
	
		- Posts: 15920
 
			
	
						10 years 7 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...)
					Although creating a new plugin would ensure smooth updates (no backing up, patching...)
Please Log in or Create an account to join the conversation.
- Steven Trooster
 - 
				
 - Offline
 - Premium Member
 
		Less
		More
		
			
	
		- Posts: 130
 
			
	
						5 years 8 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.
- JoomlaWorks
 - 
				
 - Offline
 - Admin
 
		Less
		More
		
			
	
		- Posts: 6229
 
			
	
						5 years 8 months ago				#174889
		by JoomlaWorks
	
	
		
			
	
			
			 		
													
	
				Replied by JoomlaWorks on topic exclude from search			
			
				Thanks for sharing.			
					Please Log in or Create an account to join the conversation.