# Creating root relative links

**URL:** <https://discourse.softpress.com/t/creating-root-relative-links/19729>\
**Category:** Dynamo\
**Created:** [February 21, 2014, 1:29pm UTC](https://discourse.softpress.com/t/creating-root-relative-links/19729 "2014-02-21T13:29:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![davedesigner](https://discourse.softpress.com/user_avatar/discourse.softpress.com/davedesigner/32/61_2.png) [@davedesigner](https://discourse.softpress.com/u/davedesigner)\
**Post date:** [February 21, 2014, 1:29pm UTC](https://discourse.softpress.com/t/creating-root-relative-links/19729/1 "2014-02-21T13:29:20Z")

</div>

I’m using PerchCMS and Freeway. To the most part this works OK handled pretty much in Freeway keeping your mind map in one place.

However I’ve found a gotcha here and there. Perch assumes you use root relative links /mylink.php and Freeway creates …/file for pages in sub-folders

For example the Perch blog preview creates a URL domain/blog/preview another folder down in the URL breaking the blog page preview. OK the tail is starting to wag the dog a bit here. I could copy the Resources and CSS folder into the blog folder to fix that, then make absolute/external links in the CCS menu and other page links. Or just edit the Freeway produced page code on the server.

Just seeing if there’s a way of changing these relative links to root links on pages a neater way than this?

–

David Owen  
Printline Advertising

> **[Web Design, Digital Marketing and Social Media, Advertising Graphic Design...](http://www.printlineadvertising.co.uk)**
>
> We print business cards and colour leaflets, and design websites like this one. Why not get a print quote

* * *

dynamo mailing list  
email@hidden  
Update your subscriptions at:  
[http://freewaytalk.net/person/options](http://freewaytalk.net/person/options)
