Creating and scheduling the CleanSEOURLS job
The CleanSEOURLS job command is used to clean up the tables that are related to search engine optimization (SEO) URL redirects and SEO URL keywords. An SEO URL redirect rule is deemed obsolete if the date the rule was last used by an incoming HTTP request exceeds 60 days.
This number is configurable by modifying the infrastructure component configuration file (wc-admin-component.xml). After a redirect rule is deemed obsolete, the original URL keyword that was used in that rule is also deleted. These are the URL keywords that are marked as "inactive" when a redirect rule is created. This command deletes entries from the SEOREDIRECT, SEOREDIRECTTRAFFIC, SEOURLKEYWORD and SEOURL tables.Schedule a CleanSEOURL job in the Commerce Lab, and choose to
generate a file to record the deleted keywords. To generate an XML file and output it to a
directory, the following parameters must be
included:
outputDeletedKeywordsToFile=true&filePath=/profileAlternatively, Open a ticket by contacting the HCL Commerce Support team to generate an XML file and output it to a directory.
Procedure
- Open Commerce Lab Tools, and from the left navigation menu, click .
-
A list of jobs that are scheduled to run is displayed. Create the CleanSEOURLS
job: