Horje Website
How change wordpress search slug?
1.28K viewsWordPress
0
1 Comment

Can anyone guide me to change wordpress search slug?

Answered question

Just open achieved theme’s fuctions.php
and add following code end.

0

Our free printable coloring pages are a great resource for parents and teachers in the classroom or at home. To pass idle time or for unicorn-themed events, they are ideal!

Answered question
0

There are deadly traps and enthralling puzzles in store for you! If you’ve always wanted to enjoy a real adventure, then you’ve come to the right place! Take control of two elemental characters, fireboy and watergirl, in these amazing and addictive games.

Answered question
0

Are you willing to train your ducks to overcome tens of thousands of obstacles? Duck Life is a famous game that has received 150 million downloads worldwide.

Answered question
0

Just open achieved theme’s fuctions.php
and add following code end.

function wpb_change_search_url() {
    if ( is_search() && ! empty( $_GET['s'] ) ) {
        wp_redirect( home_url( "/search/" ) . urlencode( get_query_var( 's' ) ) );
        exit();
    }  
}
add_action( 'template_redirect', 'wpb_change_search_url' );

Answered question

 

Horje © 2011 - 2022