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.

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

Redirect URL that no longer exists


Go to End


2 Posts   2063 Views

Avatar
VicfromPerth

Community Member, 8 Posts

17 April 2012 at 2:06pm

Is it possible to redirect a page that no longer exists to one that does?

Eg www.mydomain.com/blog/article1 to www.mydomain.com/blog/article2

I have tried modifying the htaccess file with
RewriteRule ^(.*)/article1$ article2

But has not worked.

Any other suggestions?

Thanks!

Avatar
copernican

Community Member, 189 Posts

17 April 2012 at 3:36pm

You could use a RedirectorPage in the CMS to do this.