Home › Forums › ACF PRO › 403 Forbidden Front-end Urls › Reply To: 403 Forbidden Front-end Urls
Is your site in a subdir? Like ‘mysite.com/subdir/’
I dont know if thats your problem but.
I know there is a bug in ACF Pro that the redirect url after posting the ACF Form becomes like: ‘mysite.comsubdir’.
I’ve reported that bug serveral months ago but dont think its fixed yet. Everytime ACF updates i have to go in the file api/api-helpers.php in the plugin and change the function acf_get_current_url() ..
And change the line: $url = substr_replace($url, ”, $pos, $length);
To: $url = substr_replace($url, ‘/’, $pos, $length);
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.