You can also accomplish this by instructing RedDot to insert the
virtual prefix into each URL it generates.

First, go to your Publishing Target, and enter /<your-directory-name>/
into the URL Prefix field. Also, append it to the FTP path so RedDot
knows where to publish the files.

Next, go to your project variant, and check off the box for "Always
insert URL prefix."

Lastly, go to Administer Publication -> Project -> Edit General
Settings and make sure "No Paths in published file" and "Do not
publish leading /" are both unchecked.

Publish out the entire site, and it should maintain links.


On Oct 17, 12:55 pm, JJB <[EMAIL PROTECTED]> wrote:
> I am new to RedDot and been trying to figure something out.
>
> I want to publish my site to a sub folder (off the root) of the web
> server. Everything is being published to right spot but the links on
> page are being referenced from the root of the server not the sub-
> folder.
>
> For example; the CSS link is /styles/site.css. The css is 
> inhttp://www.server.com/subfolder/styles/site.css so the page is not
> loading it. But if I publishing it tohttp://www.server.com/styles/site.css
> or if add “subfolder /” in front of the anchor <%anc_StylesheetSite%>)
> in my Foundation template, it will work. I don’t think this is the
> right solution.
>
>  I am using Directory Publishing Target as my Publishing Target.
>
> Thanks,
> Jamie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to