Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old August 17th, 2011, 04:13 PM
blnklaus blnklaus is offline
Join Date: Jun 2011
Posts: 70
Default prevent google from indexing some sites

Hi guys,

for my wordpress site i use this code to prevent google from indexing the following sites for the front page and the category pages. This code makes, that only the first page of the home page and the categories will be indexed. The following pages becomes a noindex, follow in the robot meta tag. Is it possible to do the same for the store front page and the category page?

HTML Code:
<?php if(is_home() && ($paged) || is_single()&& ($paged) || is_page()&& ($paged) || is_category()&& ($paged)){
echo '<meta name="robots" content="noindex,follow" />';
thanks Klaus from Berlin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 01:03 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.