Print Page | Close Window

include-metatags.asp content changes

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1269
Printed Date: 22-April-2025 at 4:57am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: include-metatags.asp content changes
Posted By: marketabilities
Subject: include-metatags.asp content changes
Date 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   




Replies:
Posted By: netprofits
Date 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

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: marketabilities
Date Posted: 10-December-2007 at 3:46pm
Thanks soooo much, that worked!  You're Hired!!!!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net