• Resolved aleksandrk

    (@aleksandrk)


    I set up SEO redirection on my website to redirect URLs with parameters similar to the ones below. However, I see that it works for shorter examples, but does not work for the longer examples.

    Can you please let me know if there is a reason I cannot user the plugin for these types of URLs.

    I have tested redirection on https and http

    REDIRECTION DOES NOT WORK
    /cgi-bin/show.cgi?id=26&image=4&rental=true&month=6&year=2016
    /cgi-bin/show.cgi?id=10&image=&rental=true&month=12&year=2016
    /cgi-bin/show.cgi?id=1&image=&rental=true&month=9&year=2016
    /cgi-bin/show.cgi?id=2&image=&rental=true&month=1&year=2016
    /cgi-bin/show.cgi?buy=true&cat=6&page=1037

    REDIRECTION WORKS
    /cgi-bin/show.cgi?docs=true
    /cgi-bin/signup.cgi
    /files/1381.pdf
    /cgi-bin/show.cgi?buy=true
    /panorama.html

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter aleksandrk

    (@aleksandrk)

    I guess the problem is that the URLs contain regex special characters that need to be escaped. Is this possible to do with SEO redirection plugin?

    Hello,
    Thank you for using our plugin,
    No, The regex special characters is not the issue,

    What is your current version? Please contact our support center to check this issue with you

    https://www.clogica.com/contact-us

    Thread Starter aleksandrk

    (@aleksandrk)

    Hi Fakhri,

    My version is the most recent. I’ve been updating WordPress and all plugins regularly.

    I have solved the problem myself using a custom php function. Instead of treating URLs as a whole (which I could not do with your plugin, htaccess, or core WordPress functions), I used the variables that were communicated, and based on them did a redirect with wp_safe_redirect.

    I did not send you any emails because I solved the problem myself.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirecting long urls’ is closed to new replies.