Redirects dont work no more...

Discussion in '[bd] API' started by ablac, Sep 5, 2014.

  1. ablac

    ablac New Member

    So I reciently had an issue with xenforo being behind a subdomain, and have to remove it from behind the subdomain, (Moved it from forum.angel-gaming.com back to angel-gaming.com/forum) Removing that DNS record broke the API... (Strangly) it made it return 500 errors and 404 errors, and created a Huge mess... So i completely deleted the API from both Xenforo and Wordpress, and Reinstalled them on both. After doing so I was able to use the API again, but now the redirects are broken after logging in...

    http://angel-gaming.com/wp-login.php?redirect_to=http%3A%2F%2Fangel-gaming.com&xfac=callback&state=&code=(Code here)

    I'm not sure why it says redirect_to=http%3A%2F%2Fangel-gaming.com my redirect is http://angel-gaming.com/
     
  2. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    The address has been encoded so it looks different but actually it is the same. If would be helpful if you can provide step by step + screenshot of the browser.
     
  3. ablac

    ablac New Member

    Well that problem is no longer an issue :( My database corrupted really badly, so I deleted everything and started fresh :(
     
  4. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Oh, sorry to hear that. You don't have any recent back up?
     
  5. ablac

    ablac New Member

    Not of the databases no :( And from my experiences its actually quicker to rebuild Xenforo from scratch then to try and rebuild the databases...
     
  6. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    That's correct but you will loose all the existing users and posts though. Good luck with your site :)
     
  7. ablac

    ablac New Member

    It was still being build so there was only 2 Real users, and 3 test accounts ;)
     
    xfrocks likes this.
  8. ablac

    ablac New Member

    @xfrocks So now i got a new issue -_- I got my entire site back up again :) but now im getting a 403 error when trying to login to the site from my Wordpress. Its signing me into Xenforo but now allowing the Wordpress access.

    API Folder Permissions - 755
    /api/index.php permssions - 655

    I also have a copy of the Xenforo .htaccess file within the api folder...
     
  9. ablac

    ablac New Member

    Code:
    Forbidden
    You don't have permission to access /account/authorize on this server.
    
     
  10. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Hmm, have you solved this?
     
Loading...