We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Runway

Understanding Routes

Hi Have a Runway site that has a directory 'landing-pages' where the client can add new pay per click promotional pages. e.g. mywebsite.com/landing-pages/facebook-special-offer

The client creates the page and then promotes it via social media or other PPC methods.

Keeping these pages in 'landing-pages' keeps them tidy in the backend, However, I'd like to make a friendlier url by removing the landing-pages part from the url. e.g.: mywebsite.com/facebook-special-offer

Is there a way I can do this with Routes? If so how?

Thanks.

Simon Clay

Simon Clay 127 points

  • 2 years ago
Duncan Revell

Duncan Revell 78 points
Registered Developer

Hi Simon,

once the page has been created, go to the "Location" tab and in the "URL pattern" box (under Routes), just add facebook-special-offer

This will create a route for the page. You can add as many routes in there as you want - so also whatever-you-want which would equate to mywebsite.com/whatever-you-want or whatever/you/want which would equate to mywebsite.com/whatever/you/want.

Duncan and Simon- this seems like an opportunity to thank you both for your work on the forum. Much appreciated!

Simon Clay

Simon Clay 127 points

Hey, thanks John :)

Duncan Revell

Duncan Revell 78 points
Registered Developer

:thumbsup:

Simon Clay

Simon Clay 127 points

And thanks Duncan :)