Configuring the Search Sitemap portlet for search by external search engines
The Search Sitemap portlet generates a navigable list of all public pages of the portal. You can configure the Search Sitemap portlet to determine the limit to the number of links that are displayed per page.
About this task
HCL Digital Experience provides
the Search Sitemap portlet. It serves two purposes:
- You can use the Search Sitemap portlet to navigate the portal site. For more information, see Managing pages.
- The Search Sitemap portlet enables external search crawlers to collect portal pages more efficiently. This topic gives more information about configuring the Search Sitemap portlet for search by external search engines.
Note: The Search Sitemap portlet can use
a large amount of session memory on the portal server if the
The Search Sitemap portlet generates a list of all public
pages of the portal. You can configure the Search Sitemap portlet
to determine the limit to the number of links per page. The Search
Sitemap portlet lists portal pages to that maximum figure per page
and then starts a new page. Set this figure to a maximum of 50 - 200
links per page for the portal site. For example, the Google search
engine recommends fewer than 100 links per page.MAX_LINKS
value is not properly configured.
If you plan on showing the portlet to users, leave the MAX_LINK value
as the default value of 50 to reduce the total
amount of session memory used by the MAX_LINKS
portlet.
If you plan on showing the portlet only to search crawlers, you can
set the MAX_LINKS
value to a higher
number. Monitor memory usage on the system if you do set MAX_LINKS
to a higher number.Procedure
Configure the maximum number of links per page for search
of the portal by setting the value for the parameter
MAX_LINKS
in the portlet preferences. Either
use the Manage Portlets administration portlet
or update the portlet preferences in the portlet.xml
file
of the Search Sitemap portlet. You can also enable URI home substitution.
Option | Description |
---|---|
Using the administration portlet Manage Applications | Use this option to update the MAX_LINKS parameter for the
Search Sitemap portlet.
|
Updating the portlet preferences in the portlet.xml file
of the Search Sitemap portlet |
Use this option to set the general default for the parameter MAX_LINKS .
|
Enable the Export Search Sitemap button | Set the EXPORT parameter to true to enable the
Search Sitemap portlet to provide an Export Search Sitemap button. The
Export Search Sitemap button can export a sitemap of all public pages
available to anonymous users. The format is compliant with the Sitemap 0.90 format
(www.sitemaps.org). To make the exported document accessible to crawlers through a web server, copy
the file to the respective folder managed by the portal server. For example, store the file in the
document root folder of the web server. Use this option to set the general default for the
parameter EXPORT .
|
Enable URI home substitution | Use this option to allow the public links that are generated
by the Search Sitemap portlet to redirect to the protected page if
a user session exists.
|
Results
What to do next
Note: The Search Sitemap portlet lists
only public pages of your portal that users can access without logging
in to the portal with a user ID and password. Secured portal pages
are not available for search by anonymous users. Therefore, they are
not listed by the Search Sitemap portlet.
Search on your portal by external search engines requires more configuration. For more information, see Search by external search services and Client identification for search of the portal by external search engines.