Tagged Questions
1
vote
1answer
78 views
Using wp_redirect and .htaccess to re-route searches (and pass along the remaining GET vars)
I'm trying to use wp_redirect() to redirect searches to a format that I have established in .htaccess. Unfortunately, I'm running into some problems doing this.
I need to redirect search to a series ...
0
votes
1answer
129 views
custom naming of search permalink /search/
I found this snippet online …
function search_url_rewrite_rule() {
if ( is_search() && !empty($_GET['s'])) {
wp_redirect(home_url("/search/") . urlencode(get_query_var('s')));
...
0
votes
1answer
202 views
rewriting search-permalink with htaccess - search results are are “opened” automatically?
when typing "a" into my search field (/?s=a) I my search.php template is loaded and all results that match that letter are shown.
If I add this to my .htacess …
RewriteCond %{REQUEST_URI} ^/$
...
1
vote
1answer
95 views
Worried I have a funky .htaccess for WP site in light of strange search engine behavior
My friend started a new (non-commercial) blog 5+ months ago, but Google + Bing are acting like we're telling it to not be indexed.
I don't mean it ranks poorly. I mean it doesn't rank at all.
I ...
