Administrator Help - RC v3.3 | |
---|---|
|
Chapter - 8.3 Caching Ads Next step in SE optimization is to decide whether to cache ads. Normally ads display dynamically through viewad.asp and view_print.asp pages. However while indexing, the search spider might not find all ads due to the fact that links to ads build dynamically from dynamically generated pages such as viewlist.asp and viewsublist.asp. Spider might not properly jump from one page to another if you have list pages spanned for the same subcategory (dynamic paging - more than one page to list ads). Some spiders will not go deep into levels and some will be confused at all. The most reliable way to have all your ads crawled, is to create a static cache pages for ads in .htm format and place them into separate folder. Four conditions must be met for a successful caching: · You need to enable caching: go to "Admin Preferences", check "Enable Ads Caching" check box and save changes. · You Web Server Must Support MSXML2 component (most do). · You have properly configured your "Site URL" in "Admin Preferences". Properly means, it is pointed to your classified location and ended with "/". Here are few examples: 8.3.1 Ads Cache ManagementOpen Admin Preferences page, check "Enable Ads Caching" (if ads caching is not already enabled) and save settings. Navigate to cache management page from a "Manage" link right next to "Enable Ads Caching" check box. Depending on a number of ads in your database, it might take some time to cache all ads. On average, it takes 1 second per 100 ads to cache. If you need to change the format, then follow recommendations in chapter II above and then re-create the cache. Note: There is also a link to adslist.asp page within footer menu named Ads 8.3.2 Ads Cache ConfigurationOpen config/cache_config.asp, cache_cat.asp and cache_template.asp pages from Web Pages folder in any text editor. If you configured the charset in language/language.asp at rc installation to something other than default (Windows-1252), then configure meta tags in cache_cat.asp and cache_template.asp for the same chatset used in language.asp. Close cache_cat.asp, there is no need to modify anything else here.
The cache_template.asp is an HTML template for ads caching page. You may freely modify this page for style and appearance. You may also include static advertisement into the page. Google Adsence is most suited as it renders advertisement relevant to the page content. This page contains textual variables such as :web_site:, :msubject:, .. etc. Make sure not to modify those variables and their logical location. For instance: used to build a link back to the main site. While you can move this link around or change the style (<h4> to <h2> for instance), never move the :web_site: out of href value or change it. During ads caching, those textual variables replaced with actual values for each cached ad and then template saved as an individual cached page in the respective category subfolder within ads folder. Note: Failing to follow the above recommendation might result in missing ad information on cached pages or broken links from those pages. Here is a reference for variables used in cache_template.asp:
cache_config.asp Several configurable variables are available in this configuration page. adsPerPage - Variable controls number of ad links displayed within cached ads list pages. From SEO stand point single page should not have more than 100 links. 70-80 is optimal number because there would also be paging links displayed at list pages as well. pagingBatch - Variable controls number of paging links to display at a single ads list page. If there were more than 20 pages, then "next" link would move entire batch to the next 20 level. Optimal value is 10-20. Note: If you ever change any of the 5 variables below and given that you have some ads already cached, you would have to delete all current cache, and recreate it. If you use Google sitemaps, then sitemap.xml would have to be recreated as well. isCacheCatsName - By configuring this variable you would allow/disallow including main category name into the subfolder name, where cached ads for the respective category are stored. By default only 26 ASCII letters (English alphabet) characters are allowed. All other characters filtered and not included into the folder name. Words separated with a dash [-]. isCacheAdsName – By configuring this variable you would allow/disallow including of an ad subject into the cached ad page name. By default only 26 ASCII letters (English alphabet) characters are allowed. All other characters filtered and not included into the cached page name. Words separated with a dash [-]. Note: The following 3 variables are only effective in case if either isCacheCatsName or isCacheAdsName (or both) are set to the True value.
disregardWordLength - Controls processing of short words within category or ad subject names when they are included into the folder/page name. Possible values are 1,2,3. Example: allowDigits - Controls numeric values in a name. Possible values are: extraCharacters - Allow specified characters into folder/page names. As stated above only 26 ASCII letters (English alphabet) characters allowed. By configuring this variable, you may allow some other special characters into names. Important: Never allow the following characters: [ \ / < > : " * | ? & ] 8.3.3 Ads Cache MaintenanceHere is a list of typical situations, when you would need to maintain ads cache (manually delete/re-create). You have: You have: You have: You have: You have: |
©2003-2010 Rapid Classified v3.3 GA Soft |