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

Redirect URL that no longer exists


Reply


2 Posts   604 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.