ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - include-metatags.asp content changes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

include-metatags.asp content changes

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


Joined: 10-December-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote marketabilities Quote  Post ReplyReply Direct Link To This Post Topic: include-metatags.asp content changes
    Posted: 10-December-2007 at 3:22pm
For SEO purposes, I need to remove <META NAME="Revisit-after" CONTENT="30"> from the include_metatags page.  Below is how it shows on that page.  Tried just removing that line and I get an error when going to any product on the website.

Any ideas?  Thanks!!


    Title=replace(Title,"""","&quot;")
    Title=replace(Title," - ,",",")
    Keywords=replace(Keywords,"""","")
    Keywords=replace(Keywords,"&quot;","")
    'Keywords=replace(Keywords," - ,",",")
    mtDescription=replace(mtDescription,"""","")
    mtDescription=replace(mtDescription,"&quot;","")
    mtDescription=replace(mtDescription," - ,",",")

    if pcIntIsContentPage<>1 then
        Response.Write "<TITLE>" & Title & "</TITLE>" & vbcrlf & _
        "<META NAME=""Description"" CONTENT=""" & mtDescription & """>" & vbcrlf
        else
        Response.Write "<META NAME=""Description"" CONTENT=""" & mtDescription & """>" & vbcrlf
    end if
    Response.Write "<META NAME=""Keywords"" CONTENT=""" & Keywords & """>" & vbcrlf & _
    "<META NAME=""Robots"" CONTENT=""index,follow"">" & vbcrlf & _
    "<META NAME=""Revisit-after"" CONTENT=""30"">" & vbcrlf

End Sub   

Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 10-December-2007 at 3:24pm

Change the last 3 lines from:

Response.Write "<META NAME=""Keywords"" CONTENT=""" & Keywords & """>" & vbcrlf & _
    "<META NAME=""Robots"" CONTENT=""index,follow"">" & vbcrlf & _
    "<META NAME=""Revisit-after"" CONTENT=""30"">" & vbcrlf

To:

Response.Write "<META NAME=""Keywords"" CONTENT=""" & Keywords & """>" & vbcrlf & _
    "<META NAME=""Robots"" CONTENT=""index,follow"">" & vbcrlf

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
marketabilities View Drop Down
Newbie
Newbie


Joined: 10-December-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote marketabilities Quote  Post ReplyReply Direct Link To This Post Posted: 10-December-2007 at 3:46pm
Thanks soooo much, that worked!  You're Hired!!!!
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.094 seconds.