# Keeping relative links while importing

**URL:** <https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554>\
**Category:** Tips\
**Created:** [March 29, 2006, 4:59am UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554 "2006-03-29T04:59:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![physicistjedi](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/physicistjedi/32/62_2.png) [@physicistjedi](https://discourse.devontechnologies.com/u/physicistjedi)\
**Post date:** [March 29, 2006, 4:59am UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/1 "2006-03-29T04:59:32Z")

</div>

Hi  
I have an offline copy of a website that has relative links. But when I import them all into DT they still link to the files outside! I want them to be in the database and delete the originals but still want to be able to click between the pages.

I assume it is something about the file paths because when I delete paths using the supplied script links do not work at all. Does anybody know what should be the correct path for keeping relative links? Is there any other way, option etc.?

thanks  
pj

---

<div class="post-metadata">

**Author:** ![dkmc](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/d/b5e925/32.png) [@dkmc](https://discourse.devontechnologies.com/u/dkmc)\
**Post date:** [March 31, 2006, 1:21pm UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/2 "2006-03-31T13:21:48Z")

</div>

I’d like to know this too. Im having a hard time as a beginner understanding this, and find this most critical to understanding how DT works

---

<div class="post-metadata">

**Author:** ![erikn](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/e/85f322/32.png) [@erikn](https://discourse.devontechnologies.com/u/erikn)\
**Post date:** [March 31, 2006, 10:29pm UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/3 "2006-03-31T22:29:08Z")

</div>

I also am a DT beginner, and I don’t yet understand how to control whether things are copied into the DB vs. having links to outside content. Is it using index vs. import?

---

<div class="post-metadata">

**Author:** ![physicistjedi](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/physicistjedi/32/62_2.png) [@physicistjedi](https://discourse.devontechnologies.com/u/physicistjedi)\
**Post date:** [April 5, 2006, 5:12pm UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/4 "2006-04-05T17:12:11Z")

</div>

Since there are no solutions send so far and I couldn’t figure out anything myself, I am abandoning my hopes. So now this is a feature request. Can the developers add a way to import a bunch of documents that are linking each other and convert the links into internal links?

Thanks  
pj

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [April 6, 2006, 12:22pm UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/5 "2006-04-06T12:22:16Z")

</div>

At the moment please use indexing instead of importing and then this should work as expected.

---

<div class="post-metadata">

**Author:** ![physicistjedi](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/physicistjedi/32/62_2.png) [@physicistjedi](https://discourse.devontechnologies.com/u/physicistjedi)\
**Post date:** [April 11, 2006, 4:03pm UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/6 "2006-04-11T16:03:38Z")

</div>

Indexing doesn’t work work as I expect either. When I follow the links, DT shows the new pages as external files, not as indexed files. So See Also gives results for the first file I opened only. I have to manually find the files every time so links are not much helpful anymore. I think DT should recognize outside links that are indexed.

Also I like my database a single piece for easy backup.

Cheers  
pj

---

<div class="post-metadata">

**Author:** ![cgrunenberg](https://discourse.devontechnologies.com/user_avatar/discourse.devontechnologies.com/cgrunenberg/32/7172_2.png) [@cgrunenberg](https://discourse.devontechnologies.com/u/cgrunenberg)\
**Post date:** [April 11, 2006, 4:16pm UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/7 "2006-04-11T16:16:07Z")

</div>

> [@physicistjedi](#):
>
> Also I like my database a single piece for easy backup.

It’s basically another shortcoming of Apple’s WebKit which will be fixed by the file-based approach of V2.

---

<div class="post-metadata">

**Author:** ![system](https://devontech-discourse.s3.dualstack.us-east-1.amazonaws.com/uploads/original/2X/4/4e6ff70c96be2eb307a274d890bba8d71ba671b3.png) [@system](https://discourse.devontechnologies.com/u/system)\
**Post date:** [January 21, 2022, 10:56am UTC](https://discourse.devontechnologies.com/t/keeping-relative-links-while-importing/2554/8 "2022-01-21T10:56:58Z")

</div>


