Jump to content

Floydascc81

New Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Floydascc81

  • Rank
    Newbie
  1. I am just trying to get this to work. Our company has a dll embedded in its code that calls/called the .svc on our web server. Did not know that forwarding the POST would cause it to not function. torture.
  2. https://airbrake.io/blog/http-errors/308-permanent-redirect
  3. 301 Moved Permanently: The resource has been permanently moved and request method conversion from POST to GET is allowed. 307 Temporary Redirect: The resource has been temporarily moved and request method conversion from POST to GET is forbidden. 302 Found: The resource has been temporarily moved and request method conversion from POST to GET is allowed.
  4. I have the below php in my 404.php in wordpress. Recently we moved our main site url to wordpress from IIS. Company name is important. I want to treat any url that contains \prtaxsvc to not change from POST to GET as I need to run a WCF .svc file on the old server which runs IIS ( cant run a .svc on wordpress hosted site ) any clue on how to make this work. I think I need to make \prtaxsvc report as 308 or 307 and leave other old calls as 301. Right now it fails to send .svc to old server.. thanks get_header(); ?> <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.mysite.com{$_SERVER['REQUEST_URI']}"); exit(); ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.