• Resolved Mike Schinkel

    (@mikeschinkel)


    On line 249 of cp-related-posts.php you are using $_SERVER['REQUEST_URI'] for the <form> @action URL. That can be problematic for edge cases like one of my clients who for SEO reasons is proxying a site from a /blog/ subdirectory to WPEngine where they do not support subdirectory installs (don’t look at me, the client chose them!)

    Anyway, as is we can’t really use your plugin but we’d like to. I am hoping you would be willing to change it to use an absolute URL using your function: cprp_site_url().'admin.php?page=cprp-settings'

    Also, we have the same problem with line 590 which has only a relative URL:

    I really appreciate in advance your potential help on this.

    • This topic was modified 6 years, 9 months ago by Mike Schinkel. Reason: Used hyperlink instead of raw URL
    • This topic was modified 6 years, 9 months ago by Mike Schinkel. Reason: Change title for clarity
    • This topic was modified 6 years, 9 months ago by Mike Schinkel. Reason: Edit for clarity

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problematic use of Relative URLs’ is closed to new replies.