Home > Item #230
I want to put metatags into the auto-generated html pages. What is the best way to do this? I have modified the html pages but they get overwritten next time I run the generator.
There are two options. If you wish to add auto-generated metatags, then you need to add code to build these into the html_createpages.asp file. However, these can only generate tags based on the info for that product kept in the database. This would make the tags similar or the same as page content. Consequently CactuShop does not add these automatically.
If you wish to add metatags manually, you should move the search engine pages to a new folder (e.g. 'html_2') and then modify them. Next time you run the generator, it will not overwrite these pages.
Ensure that you have an index page pointing to the files and that there is a small hidden link to this page somewhere on the front of your web site. This will ensure search engine spiders find the files.