Relative links from form created by shortcode
-
I’m mystified by the behaviour of twentytwelve on my site.
If I create a tiny form on a test page as below via the editor everything is fine:
<form action=”list”>
<input type=”submit” name=”submit” value=”submit” />
</form>But if I create the form via a shortcode on a page whose slug is ‘searchform’, with apparently identical code appearing on the resulting page, I get one of those “This is somewhat embarrassing…” messages because the page requested is …/searchform/list.
All the pages are ‘ordinary’ pages with no parents and use the default template.
Anyone know what is happening and how to deal with it?
The topic ‘Relative links from form created by shortcode’ is closed to new replies.