Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter wolfmartin

    (@wolfmartin)

    Additional information: I tried using the Widget, to display random term in sidebar. This works without any problems, even in full mode…

    Plugin Author TCBarrett

    (@tcbarrett)

    Hi wolfmartin

    Your glossary term details are responding with a 301 redirect. I’m not away of anything in the plugin code that will do that. There are no redirects, and certainly not any 301s.

    Thread Starter wolfmartin

    (@wolfmartin)

    Hi TCBarret,

    i have no idea what causes this redirect. It happens only on WP Glossary details…

    Any hint for me, how to debug this by myself? I’ve looked through the classes but i dont know which code produces the page output. Could you point me in the right direction?

    Regards

    M

    Plugin Author TCBarrett

    (@tcbarrett)

    There is nothing in the plugin code that returns a 301 redirect.

    They are difficult to undo:
    http://stackoverflow.com/questions/10136895/how-to-undo-a-301-redirect
    http://getluky.net/2010/12/14/301-redirects-cannot-be-undon/

    Thread Starter wolfmartin

    (@wolfmartin)

    After setting up a dev system at home, importing site and database backup, i found it.

    Problem was a called function “canonical_request()” taken from http://toscho.de/2010/wordpress-plugin-canonical-permalink/ in theme file admin-functions.php. In Line 1133 there was a comparison:

    $canonical_path == $_SERVER[‘REQUEST_URI’])

    Problem was a compare missmatch because $canonical_path could contain special chars like ä ö ü. Same chars in $_SERVER[‘REQUEST_URI’] were escaped like using urlencode():

    Example: Wörterbuchverzeichnis == W%C3%B6rterverzeichnis

    Because of that a check afterwards every time failed causing an endless 301…

    Well, fixed for the moment… but probably i should consider choosing another theme 🙁

    Regards

    M

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Endless Loop with V 2.3.2 and specific template’ is closed to new replies.