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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

including page specific redirects from old domain

Go to End

2 Posts   1282 Views


Community Member, 187 Posts

26 March 2009 at 8:10am

I have just rebuilt a site using Silverstripe and it has moved domains at the same time. The old domain has been parked at the base new one but I want to be able redirect specific pages on the old site to specific ones on the new one.

I am using lines like:

Redirect 301 /escorted_tours.html
in the .htaccess file but because of the Silverstripe rule this redirects to

Is there anyway to stop this withou intereferring with the Silverstripe function?

Many thanks



Community Member, 1 Post

3 May 2009 at 11:50pm

Just had the same problem. I'm no coder but this is working for me. Use: the destination. It will resolve to the proper URL when used in a redirect, but not when you use it in a browser yourself (though still gives you the right page).

Hope that helps!