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.

General Questions

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

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

including page specific redirects from old domain


2 Posts   982 Views


26 March 2009 at 8:10am Community Member, 187 Posts

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



3 May 2009 at 11:50pm Community Member, 1 Post

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!