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.
WebSphere Commerce Version 8.0.1.0Schedule a CleanSEOURL job in the Administration Console, and choose to generate a file to record the deleted keywords. To generate an XML file and output it to a directory, such as c:\WCDE_installdir\wasprofile, the following parameters must be included:
outputDeletedKeywordsToFile=ture&filePath=c:\WCDE_installdir\wasprofile.
You can also choose to run CleanSEOURL through the command line utility for cleaning up any SEO URL keywords. For more information about the CleanSEOURL utility, see CleanSEOURL utility.

Procedure

  1. Open the Administration Console and select Site on the Administration Console Site/Store Selection page.
  2. Click Configuration > Scheduler. A list of jobs that are scheduled to run is displayed.
  3. Create the CleanSEOURLS job:
    1. Click New.
    2. Create the CleanSEOURLS job with the following values:
      New Scheduled Job CleanSEOURLS
      Parameter Value
      Job command CleanSEOURLS
      Start Date Enter the current date.
      Start time Enter a time that you want to start the job for the first time.
      Schedule Interval Type the number of seconds between successive runs of this job. If this parameter is omitted, the job is run only once. A typical schedule interval for this job is 604 800 seconds (1 week).
      Job priority Enter 10 to indicate that the job is high priority.

      For more information about the full set of parameters for scheduled jobs, see Scheduling a site-level job.

    3. Click OK.

Results

Your job is listed on the Scheduler Status Display page and runs at the specified start time.