Guest Posted November 27, 2007 Posted November 27, 2007 Hello: I want to add a sitemap.php link within the "information" column, just under the "contact us" link. I decided to try to make a sitemap.php work first and then add it to the left column. So I created a sitemap.php under main directory, and a sitemap.php under includes/languages/english directory. But when I tried to open sitemap.php on the browser, it showed an error message: Warning: main(includes/languages/english/FILENAME_SITEMAP) [function.main]: failed to open stream: No such file or directory in public_html/sitemap.php on line 15 Warning: main(includes/languages/english/FILENAME_SITEMAP) [function.main]: failed to open stream: No such file or directory in public_html/sitemap.php on line 15 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_SITEMAP' (include_path='.:/usr/lib/php:/usr/local/lib/php') in public_html/sitemap.php on line 15 I created the two sitemap.php files imitating conditions.php, and I have changed all "conditions" to "sitemap". I figure I should also change some other places but I don't know where. Could any one help me with this? Thanks a lot! Site Map is important and I think I need it. Yanglu Quote
Jack_mcs Posted November 27, 2007 Posted November 27, 2007 You have to add an entry for the new page to includes/filenames.php. However, I suggest you install the Dynamic Sitemap instead of re-inventing the wheel. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted November 28, 2007 Posted November 28, 2007 You have to add an entry for the new page to includes/filenames.php. However, I suggest you install the Dynamic Sitemap instead of re-inventing the wheel. Jack Got it!! Thanks a lot Jack! I am very appreciated for all the help you have kindly given me! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.