I am on 7.3.0 It seems that on the products.asp page, if I inspect page source in chrome, i am not able to see the Category Description (in Title) and Meta Description (in Meta desc) set on the category in admin.asp.
productdetail.asp page is ok, it is reflecting the correct Title and Meta Desc
I recall before I upgraded on 7.2.4 I didnt have this problem.
Please see screenshot. [url="https://ibb.co/zGjZS9Z"]https://ibb.co/zGjZS9Z[/url] [url="https://ibb.co/rGtCjGZ"]https://ibb.co/rGtCjGZ[/url]
Hi, you will want to check what you have set in your pages (categories.asp and products.asp) for the title and description tags. You need to have some code in place for that to work. The code is usually done in a way so that if nothing is entered into the admin, a logical substitute is used based on the category names.
I checked productdetail.asp (Good, has the info), against products.asp (missing) and they looked similar. Products.asp has the code from the SEO page you recommended. [url="https://ibb.co/kgfFpKV"]https://ibb.co/kgfFpKV[/url]
<title><% if pagetitle<>"" then response.write pagetitle elseif topsection<>"" then response.write sectionname & " | " & topsection & " for sale by COMPANY NAME " else response.write "SOME GENERIC TITLE THAT WILL SHOW WHEN NOTING ELSE DOES" end if %></title> <meta name="Description" content="<% if sectiondescription<>"" then response.write replace(sectiondescription,"""",""") elseif sectionname<>"" then response.write "Shop " & sectionname & " now. COMPANY NAME has " & sectionname & " in stock at the best price" else response.write "Shop our selection of WIDGET products online. You'll find WIDGETS and other items." end if %>"/>
Of course you need to replace some of that with your message...
Products.asp
<title><% if pagetitle<>"" then response.write pagetitle else if topsection<>"" then print topsection & " | " print sectionname print " for sale by COMPANY NAME " end if %></title> <meta name="Description" content="<% if sectiondescription<>"" then response.write sectiondescription else response.write "Shop WIDGETS for " & sectionname & ". The best deals on " & topsection %>"/>
Thanks David, I tried your suggestions but same thing. It seems this page doesn't know how to grab the names from the meta areas set in category. Productdetail.asp works fine. My code is identical to the SEO tutorial and I tried your code but same thing.
I am wondering if anyone has 7.3.0 to give it a try? I remember I didnt have this problem is 7.2.4 as this was one of my test cases.
Check to be sure you have the line <!--#include file="vsadmin/inc/metainfo.asp"--> in your pages... BEFORE the title and description tags. That will stop it in it's tracks.
As a matter of fact, check all of those include lines. Let me know if you're still having problems.
David thats awesome. This fixed it, i had all those include files but the key was to put the db_conn one and the metainfo ones above the HTML tag suggested by the article.