Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Migrating a Site to Silverstripe /

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

legacy URL's lookup


Reply


2 Posts   801 Views

Avatar
pelicanmike

Community Member, 3 Posts

29 April 2013 at 3:26am

Using SS3.0
I have an existing hand coded site with some 800 pages and a url structure which is a mess!

I have migrated the pages over to SS (thanks for previous help) and improved the structure.

Obviously I want the old URL's to translate into the new URL's (each page has a field (OldURL) to store this).

It would seem madness to create a massive .htaccess file to manage these translation and I cannot seem to find a way to do it with SS which is bound to mean I have missed something.

All help gratefully received

Mike

Avatar
Matty Balaam

Community Member, 69 Posts

16 May 2013 at 10:02pm

I've used this before on a 2.4x site when I have migrated from a messy hand-coded site, although you will have to probably automate the database conversion. I assume that it works on 3 now: https://github.com/ajshort/silverstripe-linkmapping