13
Some cautionary tales.
![](https://xoops.org/uploads/smil42e7a439bcbb8.gif)
1) If you build XOOPS sites on a laptop PC connected to your network, using the router's dhcp IP address in mainfile enables you to view the site from elsewhere on the LAN. However.. if you dis-connect the laptop and take it to a meeting to show someone the site, you will need to re-set mainfile to use 'localhost'. I forgot this myself recently and 10 mins before the presentation got a 'Page not Found' error in the browser!
2) The XOOPS image manager and some WYSIWYG editors insist on using absolute URLs for images. If you upload a site to a live server, any hard-coded image references will remain as per your network PC. When you view the site, the images will appear... but they are being loaded from your computer, NOT the site. You can see them, but nobody else will be able to until you change the links.
A thread is for life. Not just for Christmas.