
tribulatio
User
Oct 12, 2003, 10:31 AM
Post #1 of 3
(4249 views)
Shortcut
|
|
Strange problem when republishing stories in a new directory
|
Can't Post
|
|
I have been looking for the past two hours for the solution of a strange problem with NM. Maybe there is a very simple solution - better to explain what the problem is. It pertains to my small website www.religion.info. In order to make it clean, I have decided to resume every month with a new directory, since there are up to 20-30 short stories a month. So I go into the Publish settings. I rename the publish directory: for September, it was 2003/09, then for October it becomes 2003/10. In the http://www.religion.info/index.shtml webpage, I put as only content: <!--#include virtual="/2003/10/index.shtml" --> (in September, of course, it was .../09/index.shtml) I add some new stories, save the settings, republish the stories (republish all), and then - after there are a few stories for the current month - remove the September stories from the October directory and leave them only in the September directory. This ensures that my URLs remain permanent, which wouldn't be the case if I would move the old stories to an archives section. Seems fine and easy. But this month, I come across a very strange problem. I do everything as indicated. But if I open www.religion.info, despite refreshing the page after having put several times <!--#include virtual="/2003/10/index.shtml" --> online, I still get connected to the September index page. If I open the http://www.religion.info/2003/10/index.shtml page, it opens indeed, but for some strange reason, the links are wrong: I get links making 2003/10 appear as a subdirectory of 2003/09, with results such as: http://www.religion.info/2003/10/2003/09/news_70.shtml Of course, empty page! However, the correct page http://www.religion.info/2003/10/news_70.shtml exists, if I type it manually. I just don't understand what happens. It seems very easy, it seems I have done evertyhing correctly. What should I do in order: 1) to make sure that my <!--#include virtual="/2003/10/index.shtml" --> redirects to 2003/10 page, and not to /2003/09 page? 2) to have the links in the 2003/10/index.shtml appearing correctly, and not as a subdirectory of 2003/09? It is very strange, I believe I have done everything correctly. But maybe there is a very small detail I have not paid attention to and which creates the problem? I am confident that, once again, the helpful Interactive Tools staff will find the way out! I am looking forward to hear from you, since I would like to put some new stories online, but I would like to make sure that I have a solution to that problem first. Thank you! Tribulatio
|