Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Prevent SS from automatically redirecting to new URL when URL changed.

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

Page: 1
Go to End
Author Topic: 333 Views
  • vwd
    Avatar
    Community Member
    158 Posts

    Prevent SS from automatically redirecting to new URL when URL changed. Link to this post

    Hi,

    I'd created a couple of 'hidden' static content pages to be used as static content within widgets. I had generic names for those pages like 'Testimonial' and 'Promotion', and somehow got indexed and Google SiteLinks were created.

    I then thought I would change the page names/URL to less generic names, not minding if those clicking on the 'SiteLinks' get a 404. But it appears that SS is automatically redirecting from the old URLs to the new ones.

    Eg. /testimonial is being redirected automatically to /testimonial-widget-static-content

    Is there any way of breaking that automatic redirection please?

    Thanks very much.

    VWD.

  • neilcreagh
    Avatar
    Community Member
    94 Posts

    Re: Prevent SS from automatically redirecting to new URL when URL changed. Link to this post

    Hey did you ever find a way of breaking this automatic redirection? Does anyone know how I might go about doing this? My client wants to change the URL and have the older URL no longer work (redirect to 404).
    Thanks

    333 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.