htmlcssurldirectoryhttrack

Remove Domain URL from downloaded wbsite by HTTrack


I have downloaded full website by HTTrack. But after downloading the site all URL contain the Domain name url of the site like: www.example.com/index.html instead of index.html is there any way to remove this url ?


Solution

    1. If structure is not complicated you can use search/replace in directories option, I don't know what editor/IDE do you using but all have that option
    2. Also you can specify format of downloaded links even if you are using command line httrack or graphical interface.

    This is part of their documentation:
    Build options: KN keep original links (e.g. http://www.adr/link) (K0 *relative link, K absolute links, K3 absolute URI links) (--keep-links[=N])