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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Migrating a Site to Silverstripe /

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

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

legacy URL's lookup


Go to End


2 Posts   2204 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, 74 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