Hello all,
I am publishing an HTML5 output using Madcap Flare and as usual when I preview it or open it in a browser, the URL ends with the file extension (.htm).
However, I do not want to keep that file extension in the URL (.htm). I am using GitHub Pages to publish my output and from the server side there is no issue in redirecting or accessing the URL without the file name extension. For example, the following URL:
https://www.anvblog.com/dining_room_ch ... ation.html is also accessible without the file extension as https://www.anvblog.com/dining_room_chr ... ecoration .
However, all my links in the output contains the file extensions and therefore, they are picked by the search engines. Keeping two URLs with the same content is not good for SEO.
I tried using a script to remove the .htm from all the anchor tags, but that didn't work for the menu items and other references.
Is there any option within Flare that can help me remove these or any trick that someone has tried to remove those?
Get rid of ".htm" from the URL of the HTML5 output
-
- Jr. Propeller Head
- Posts: 4
- Joined: Mon Aug 20, 2018 10:21 pm
- Contact: