Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP Plugin returning a 403 Forbidden nginx error. #521

Open
n1ckybhoy opened this issue Jun 13, 2023 · 11 comments
Open

WP Plugin returning a 403 Forbidden nginx error. #521

n1ckybhoy opened this issue Jun 13, 2023 · 11 comments

Comments

@n1ckybhoy
Copy link

INSERT SHORT DESCRIPTION EXPLAINING THE HIGH-LEVEL REASON FOR THE NEW ISSUE HERE.

Current behavior

  • After configuring the plugin and adding the shortcode, the page returns a 403 Forbidden error
    (nginx). I am using latest versions of Wordpress and Elementor Pro + Elementor hosting.

Expected behavior

  • An ifame to load with the BH careers portal.

Steps to replicate behavior

Screenshots

Current

Expected

@cprdigital
Copy link

Same exact problem. OSCP plugin v3.4.2 throws 403 error on NGINX server.

@n1ckybhoy
Copy link
Author

Same exact problem. OSCP plugin v3.4.2 throws 403 error on NGINX server.

Are you using Elementor's hosting as well? Elementor says it's because they don't allow access to the root folder. I tried all three ways listed for installation but without root access it's a no-go. We're looking at other options now. The only other way is if it can be installed in a folder that isn't the root either HTML>careerportal or wp-content>careerportal. I have no direct access to BH support...don't suppose you could ask them if you do?

@cprdigital
Copy link

Unfortunately no. Custom theme (no site builder plugns) on Flywheel hosting. BH doesn't seem to be able to (or desire to) support this plugin. We've been through 3 support folks, and they all give up after a couple days of basic troubleshooting.

@cprdigital
Copy link

It looks like for our issue, our hosting company has nginx configured to not allow direct web access to the /wp-content folder (or perhaps it's the /wp-content/plugins folder, I'm not sure). The Bullhorn plugin shortcode injects an iframe with a src of /wp-content/plugins/bullhorn-oscp/#/

Since our host's server config disallows direct access, we're getting the 403. A simple config change would fix it, but I don't know if our host will allow us to do that. If not, we'll just have to move to a different host. Hope this helps, n1ckybhoy

@n1ckybhoy
Copy link
Author

Thanks for the cprdigital, i'm going to try from both angles (BH + Host) to see if I can get a config change done. Beyond that I'm looking at moving the site to a new host co as well...or perhaps just create the jobs section under a subdomain at a new host. Quite a workaround this for a simple task eh!

I'm also half in the mind to wait...the BH plugin is tested up to WP 5.8 I seem to recall...surely our situations aren't completely isolated and BH may very well have to allow for this use case in any update they do as they catch up to the current v of WP. Here's hoping.

@cprdigital
Copy link

Flywheel made a config change and we're up and running now. So, if you decide to move hosts, Flywheel will accommodate you.

@n1ckybhoy
Copy link
Author

Legend! Ty

@n1ckybhoy
Copy link
Author

Btw, are you now using the plugin? Or you manually uploading to the root now?

@cprdigital
Copy link

We're using the plugin.

@n1ckybhoy
Copy link
Author

Great, thank you.

@pbearne
Copy link

pbearne commented Jun 26, 2023

Come talk to matador Jobs as our plugin doesn't have this issue

Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants