Hello to all,
I’m using WordPress quite a while now and been experimenting with theme development.I have created a custom page template and using it for google custom search results.It works like a champ on my test install…
My problem started when I try it on the old permalink structure like:
My custom google search code:
<form name="g_search" action="/?page_id=6339/" id="search" method="get"> <input id="gsearcher" name="q" onblur="check1()"; onkeypress="check1()"; type="text" value="<?php the_search_query(); ?>" /> <button type="submit" class="image-button">Search</button> </form>
Currently it returns to home page and adds the query like “/?q” in the end.
Is it possible to display the search results like “/?page_id=6339/?q=blablabla”? I mean just same as using page title as permalink?
sorry for my poor english and thanks in advance…
ps:I have to use old permalinks because I need keep facebook and twitter counts…
[ Please do not bump, that’s not permitted here. ]
- The topic ‘Permalink trouble with Google Custom Search…’ is closed to new replies.