Hi there, first time posting here so bear with me. Have been developing a site for the past few weeks. My problems occurs when I try to redirect a user to the index page once they have successfully completed some input on a form. I'm using the wp_direct() function. The odd thing is that it works fine in one form but doesn't work at all in the form in question, on submit the form just reappears.
/code
wp_redirect(get_bloginfo( 'url' ), . '/' );
/code
The site is being developed offline at the moment so the url is "http://localhost:8888". I've echoed get_bloginfo( 'url' ) and it is providing the correct URL.
Any ideas people?