Jump to content

foobar123

Members
  • Posts

    4
  • Joined

  • Last visited

Community Answers

  1. foobar123's post in Problem: Ajax -requests getting 301 redirects was marked as the answer   
    So I found  the reason behind redirects:
    I'm using the multilanguage version of Processwire, and it adds the language id to URLs (e.g mysite/en/page/) My request URLs didn't have this language string in them (e.g mysite/page/) which caused them to be 301 redirected I was able to find this out by using this plugin, which gives more detailed information about headers than Chrome dev tools (redirects are not bundled into one entry):
    https://chrome.google.com/webstore/detail/live-http-headers/iaiioopjkcekapmldfgbebdclcnpgnlo
    Thanks for the help I received
×
×
  • Create New...