Upon opening sitemap from the knowledgebase for my portal style 4 portals the wrong URL is displayed
THIS ARTICLE APPLIES TO:
PROCESS:
What is a site map?
A site map (or sitemap) is a list of pages of a web site accessible to crawlers or users. It can be either a document in any form used as a planning tool for web design, or a web page that lists the pages on a web site, typically organized in hierarchical fashion. This helps visitors and search engine bots find pages on the site. Knowledgebase outputs site maps for portal style 4 portals as an XML file which may be submitted to a search engine for indexing.
Does it work for all portal styles?
No it only works portal style 4 portals.
Why is the wrong URL in the sitemap after downloading it and how can it be fixed? The wrong URL is displayed in the site map when opened because a configuration file needs to be updated.
1. Log in to the application server
2. Locate this file C:\Program Files\Knowledgebase.Net\knowledgebase\applicationprogram\ini\system\config-portal.xml
Note: Drive letter is arbitrary
3. Open the file using notepad
4. Find the following verbage:
<SiteMap>
<SiteUrl>http://sitemap.com</SiteUrl>
</SiteMap>
5. Replace like so:
<SiteMap>
<SiteUrl>http://mykbportalURL.com</SiteUrl>
</SiteMap>
Note: The value should contain your actual portal URL whatever it is and not the sample change.
6. Save and Close
7. Delete any previously created site maps and queue a new one and wait for the schduled task to run and compile your site map.
Note: This averages 10-15 minutes but could take longer depending on the quantity of content present in the Knowledgebase.
The new site map should contain your updated URL.
This requires no downtime.