Change in the URL after generating the output multiple times

Post here questions and problems related to editing and publishing DITA content.
Amit+007appviewx
Posts: 20
Joined: Fri Aug 04, 2023 11:27 am

Change in the URL after generating the output multiple times

Post 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)
Amit+007appviewx
Posts: 20
Joined: Fri Aug 04, 2023 11:27 am

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

Post by Amit+007appviewx »

Hi Team
Can you please help me with the above issue.
Awaiting for the response.
Thank you
beniamin_savu
Posts: 31
Joined: Fri Jan 22, 2021 11:05 am

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

Post 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
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

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

Post 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?
Post Reply