ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Search Engine Optimization
  New Posts New Posts RSS Feed - How to add noindex, nofollow to Content Page??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to add noindex, nofollow to Content Page??

 Post Reply Post Reply
Author
Message
CakeGal View Drop Down
Newbie
Newbie


Joined: 11-April-2011
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote CakeGal Quote  Post ReplyReply Direct Link To This Post Topic: How to add noindex, nofollow to Content Page??
    Posted: 22-May-2011 at 12:12pm
Hi,

I've tried to find any reference to this in wiki and in the forum, but no luck.

I have a content page with an iframe to another site (mutual business agreement between our sites).

I don't want the search engines to index or follow anything on this page.

I cannot find a way to change the line of code below for this page:

<META NAME="Robots" CONTENT="index,follow">

I want it to be:

<META NAME="Robots" CONTENT="noindex,nofollow">

For content pages, ProductCart seems to only allow me to edit meta code for Title, Description, and Keywords.

Does anyone know how I can edit this code?

Thank you!
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 22-May-2011 at 6:11pm
On your header.asp, you might want to put:


<%if Request.ServerVariables("HTTP_X_REWRITE_URL") = "the-url-of-your content-page"%>
<META NAME="Robots" CONTENT="noindex,nofollow">
<%else%>
<META NAME="Robots" CONTENT="index,follow">
<%end if%>

So you'll have to do some custom modifications on header.asp.

Edited by Brett - 22-May-2011 at 6:12pm
Back to Top
CakeGal View Drop Down
Newbie
Newbie


Joined: 11-April-2011
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote CakeGal Quote  Post ReplyReply Direct Link To This Post Posted: 22-May-2011 at 6:18pm
Thanks for the reply.

If ProductCart does not ye include this page-specific feature--it definitely should in the future.
Back to Top
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Posted: 22-May-2011 at 6:21pm
Well obviously it doesn't, as I just told you you'd need to modify header.asp to get it done ;)

It wouldn't take long to integrate this into the back end, but you'd want to ask yourself what else you wanted to integrate into that, as it would be a waste of time to make the necessary modifications for JUST the robots tag. I'd rather see someone make a list of everything we'd like to control on a per-content-page basis, and integrate all of that at once to give full control over the meta tags (etc) on each page.
Back to Top
CakeGal View Drop Down
Newbie
Newbie


Joined: 11-April-2011
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote CakeGal Quote  Post ReplyReply Direct Link To This Post Posted: 22-May-2011 at 6:25pm
"I'd rather see someone make a list of everything we'd like to control on a per-content-page basis, and integrate all of that at once to give full control over the meta tags (etc) on each page."

I second that!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.