If this is the wrong place for this let me know.
I have a wp site I am trying to set up on localhost for dev that uses ajax requests that resolve to root (/).
The problem I have is that the requests are being interpreted as
http://localhost/public_html because of the extra folder in the structure.
domain > public_html > wpinstall
However in my local and shared hosts it is:
domain > user > public_html > wpinstall
This means roots child is
public_html like it needs to be and the site 404's.
Does anyone have a solution?