
tribulatio
User
Sep 6, 2003, 4:34 AM
Post #1 of 3
(4236 views)
Shortcut
|
|
Right way of publishing outside of the root
|
Can't Post
|
|
Until now, I have used NM publishing in the root directory, but I have decided now to publish rather in a subdirectory, combining it with the use of SSI. So I republished everything in shtml (and was careful to change also index.html to index.shtml, and then created a SSI redirect page (I don't know if this is the correct name!) in the root: I erased index.html in the root directory, and created instead a index.shtml page with the content: <!--#include virtual="/b/index.shtml" --> Works perfectly: if I type on www.mydomain.com, it opens automatically the index page. But, strangely, the news items themselves - despite republishing all - are still linked to the root directory, i.e.: mydomain.com/news_54.shtml, etc. The new have been published in the subdirectory too, and if I type mydomain.com/b/news_54.shtml, I find the items there too. But if I click on any news item on the welcome page, it still brings me to the root, and not to the subdirectory. Of course, if I go to .../b/index.shtml, I then access the news in the correct way .../b/news.54.shtml. I first thought I had left the original index.shtml in the root, but not at all: the index.shtml in the root has only the redirect, and no other content. So I don't understand how it can lead me to the news in the root instead of the news in the subdirectory. Or maybe the way of publishing in a subdirectory is different from Article Manager - I have more experience with AM, but it seems that generally NM is working in the same way. Any clarification would be welcome! Sincerely. Tribulatio
|