Page 1 of 1

Change in the URL after generating the output multiple times

Posted: Tue Aug 22, 2023 2:53 pm
by Amit+007appviewx
Hi Team
Greetings!!
1. A month ago, I generated the HTML output; at that time, the URL contained the Dita file name. However, now it has been modified to include the Dita file name along with _4 0r _2 random numbers in the URL.
Note: The file name has not been changed in any case.
For Example 1:

Old URL: https://helpcenter.appviewx.com/techdoc ... guides.pdf

Here Dita file name: Checking_Prerequisites

New URL: https://helpcenter.appviewx.com/techdoc ... guides.pdf

Here Dita file name: Checking_Prerequisites_4
We have not changed the Dita file name in any of the cases. Even then y is the URL changing from Checking_Prerequisites.html to Checking_Prerequisites_4.html can you please help me with this ???

For Example 2:

Old URL: https://helpcenter.appviewx.com/techdoc ... guides.pdf

Here Dita file name: Hardware.html&guide_pdf

New URL: https://helpcenter.appviewx.com/techdoc ... guides.pdf

Here Dita file name: Hardware_5.html&guide_pdf
We have not changed the Dita file name in any of the cases. Even then y is the URL changing from Hardware.html to Hardware_5.html can you please help me with this ???

2. Could you kindly assist and provide suggestions for reducing the lengthy URL to a short.
Our URL is (https://helpcenter.appviewx.com/techdoc ... guides.pdf)

Re: Change in the URL after generating the output multiple times

Posted: Wed Aug 23, 2023 2:42 pm
by Amit+007appviewx
Hi Team
Can you please help me with the above issue.
Awaiting for the response.
Thank you

Re: Change in the URL after generating the output multiple times

Posted: Thu Aug 24, 2023 12:53 pm
by beniamin_savu
Hi,

A number is appended to the end of a dita file name when multiple references of the same dita topic are defined in your ditamap file. In your example the Checking_Prerequisites topic may be referenced 4 times in the ditamap file. To not have a number appended at the end of the file name we suggest to make sure that the dita topic is present only once in the ditamap file.

The URLs that you provided us seem to be a part of another application that embeds the WebHelp Responsive output in its pages. For these URLs we cannot provide you with any suggestions.

Regarding the URLs that are part of the WebHelp Responsive output please note that these URLs reflect the disk directory hierarchy of the dita topics. To obtain shorter URLs we suggest to reduce the directory hierarchy or change the name of the directories to a smaller name.

Best regards,
Beniamin Savu
Oxygen WebHelp Team
http://www.oxygenxml.com

Re: Change in the URL after generating the output multiple times

Posted: Tue Aug 29, 2023 1:48 pm
by chrispitude
Hi Amit,

There is more information on DITA-OT topic duplication here:

Discussion #4173: Why does a transformation sometimes create duplicate topic files?