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.

All other Modules /

Discuss all other Modules here.

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


Go to End

4 Posts   1619 Views


Community Member, 2 Posts

15 January 2012 at 7:12am

Edited: 15/03/2012 11:58pm

This may be something obvious but I've searched through the forum and google and can't find a solution.

I have installed Silverstripe as a replacement CMS and have added silverstripe-linkmapping to handle the old links that have been indexed in google. I can access the linkmapping admin page and add the urls to map but it still defaults to the 'page not found'.

Silverstripe version 2.4.5

Is there any extra config / setup that needs to be in place for it to work? The htaccess file is the default from the install.


For reference here is an old link that I am trying to redirect:

I am trying to map it to here with linkmapping:

I have tried using the following in the 'Mapped Link' field but none of them redirect:

Thanks in advance.



Community Member, 2 Posts

28 January 2012 at 3:14am

Edited: 15/03/2012 11:58pm

..has anyone else had this issue?

On a related note, if someone comes to the site via an old google listing (old site used index.php/..) then all pages visited after the inital 'page not found' page still have the index.php in the address. Can that be changed?

Pixel Labs

Community Member, 14 Posts

9 March 2012 at 1:17am

Edited: 15/03/2012 11:58pm

Hi MrPete. I'm having exactly the same problem. I've checked the in the database and there is no obvious difference between the ones that work and the ones that don't. I've had the problem here:

and here

Each site is running SS version 2.4.5 and 2.4.7

Please help somebody!

Nobrainer Web

Community Member, 138 Posts

6 July 2012 at 11:33pm

I don't know the solution to this, but i think the problem is that the link-mapping module, only kicks in when a "page not found" error happens, and since SS also uses index.php behind the pretty URL's - the request never actually goes the the link mapping module controller.

I wonder if there is someway of combining the code from the linkmapping module and the code from the SS book, regarding Legacy URL's.
I think the code from SS book is not working with nested URL's but i don't know.