How can I stop WordPress from appending a URL and instead go to an absolute one?
By this, I mean I have a form which posts to a php page, and in the action parameter I have
action="www.oursite.com/feedbackpage/"
( I have also tried just feedbackpage/), but WordPress always just appends it to the current URL (so it would be http://www.oursite.com/pagewithform/www.oursite.com/feedbackpage/)
How do I get wordpress to redirect the user to an absolute URL?
You need to make sure you either hardcode the http:// or set it to a proper relative path (so
http://www.oursite.com/feedbackpageor/feedbackpage/).Without the http:// your link is being treated as relative so it is looking for the ‘www.oursite.com’ folder in the current folder ‘feedbackpage’.