Hi, Have fixed this problem, it was to do with the prefix column in the HOST table being set incorrectly thanks -----Original Message----- From: Simon Clayton [mailto:[EMAIL PROTECTED]] Sent: 12 September 2001 14:20 To: 'midgard' Subject: [midgard-user] Problem with subpages Hi, I have created a root page with a subpage called news. I have added some content to the news subpage. The following code has been added to my root page, this code generates links to articles. When I enter the site the root page shows the links to the articles, but when I click on the links I get 'HTTP 404 - File not found'. Any body got any ideas? This is the code in my root page <h2>Latest company news:</h2> 3: 4: <p> 5: 6: <? 7: 8: $news_topic = 15; 9: 10: $article = mgd_list_topic_articles($news_topic); 11: 12: if ($article) 13: 14: { 15: for ($i = 0; $i < 3 && $article->fetch(); $i++) 16: { 17: ?> 18: 19: <h3><a href="/news/?id=&(article.id);">&(article.title);</a></h3> 20: <br> 21: <? 22: 23: if ($article->abstract) 24: { 25: ?> 26: &(article.abstract);<br><br> 27: <? 28: } 29: } 30: } 31: ?> 32: 33: </p> 34: <h2>End of Company News</h2> regards Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
