tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/22005-relative-paths-dont-work-when-publishingCascade CMS: Discussion 2016-05-13T17:02:36Ztag:help-archives.hannonhill.com,2010-02-09:Comment/398766952016-05-13T16:13:34Z2016-05-13T16:13:34Zrelative paths dont work when publishing<div><p>Hi,</p>
<p>Be default, all internal links will be written as relative when
publishing pages and files; unless those links are pointing to an
asset within a different Site.</p>
<p>If you need to publish using absolute links, edit the page or
file, click the <strong>System</strong> pane, and check the
<strong>Maintain Absolute Links</strong> option.</p>
<p>Note: this is a per-asset option, so you would need to ensure
this option is enabled for each page or file that needs absolute
links.</p>
<p>That being said, relative links for style and script resources
should work; the absolute option is usually necessary for
subdomains or server-side includes. Perhaps there is a permission
or configuration issue on the web server itself that is preventing
the file from being served to the browser.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/398766952016-05-13T16:15:12Z2016-05-13T16:15:12Zrelative paths dont work when publishing<div><p>thanks for the reply, although my error was a hidden base tag in
the layout. Everything is working now.</p></div>latorresescobedotag:help-archives.hannonhill.com,2010-02-09:Comment/398766952016-05-13T17:02:33Z2016-05-13T17:02:33Zrelative paths dont work when publishing<div><p>Not a problem at all, thank you for following up. I am glad to
hear you were able to track down the issue.</p>
<p>Have a great day!</p></div>Ryan Griffith