Redirect to canonical URL
  • Hi!, actually newscope response the same page to the following requests:

    /es/20170329/Firmas/11888/Comunicado-Cassandra-twitter-condena-carre
    /es/20170329/Firmas/11888/Comunicado-Cassandra-twitter-condena-ca
    /es/20170329/Firmas/11888/Comunicado-Cassandra-twitter-conde
    /es/20170329/Firmas/11888/Comunicado-Cassandra-tw

    So, I want to do a redirecto to the canonical url if the request is not the canonical, example:


    Request -> /es/20170329/Firmas/11888/Comunicado-Cassandra-twitter-condena-carre -> header location to -> /es/20170329/Firmas/11888/Comunicado-Cassandra-twitter-condena-carrero-blanco.htm -> show the page like always...

    Request -> /es/20170329/Firmas/11888/Comu -> header location to -> /es/20170329/Firmas/11888/Comunicado-Cassandra-twitter-condena-carrero-blanco.htm -> show the page like always...


    Request -> /es/20170329/Firmas/11888/Comunicado-Cassandra-twitter-condena-carrero-blanco.htm -> show the page like always...


    The question is, there are anything made?, if not, where is the best site (file, on the code) to do it?

    Thanksss a lot!!!!,
    Best regards!