Deleted Page Appears in Search

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Deleted Page Appears in Search

Unread postby dreesor » Fri Oct 26, 2018 1:37 pm

Hi Tim

I created a page called "definitions," then needed to create a new "definitions page," so renamed the previous version to "definitions - old." After deleting it, when searching for a definition the page "definitions - old," returns a result even though it is deleted.

How would I remove the "old" page from any results?

Thanks.
User avatar
dreesor
 
Posts: 18
Joined: Tue Jul 20, 2010 9:34 pm
Location: Edmonton, Canada

Re: Deleted Page Appears in Search

Unread postby Tim Green » Fri Oct 26, 2018 5:17 pm

You don't say what help format you're using but I bet it's WebHelp. You need to select the option to delete all files in the output folder before publishing (in the Publish screen) to prevent this from happening. Otherwise the old topic file is still there and since it has a different name it won't be overwritten, and will also be uploaded to the web server. The search index is generated from the HTML files in the output folder after publishing, so if the old file is still there it will be included in the search index.

Similarly, you should also regularly delete all the files in the web server folder to get rid of old topic files. Even if they are no longer found in the WebHelp search because they are out of the search index they will still be seen and indexed by Google and other search engines. The best policy is to upload to a new empty folder on the same level. Then check it by browsing to that folder, then 1) Change the name of the old folder to something else, 2) Quickly change the name of the new folder to the name of the old folder and 3) Delete the renamed old folder and all its contents. That will also keep the down time for the WebHelp to an absolute minimum. :)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20355
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Deleted Page Appears in Search

Unread postby dreesor » Sat Oct 27, 2018 1:24 pm

Hi Tim

Thanks for the excellent insights both on the project side and server side. I did both as you suggested and all is well.
User avatar
dreesor
 
Posts: 18
Joined: Tue Jul 20, 2010 9:34 pm
Location: Edmonton, Canada


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 8 guests

cron