WordPress For Non-Techies

How to Change the Default Search URL Slug in WordPress

Rate this post



Are you looking to change your search URL slug in WordPress? WordPress search URLs are not user friendly normally and some users want to change this for SEO or other reasons. In this video, we will show you how to easily change the default search URL slug in WordPress to make it SEO and user friendly.

–Links–

â–ºpartner affiliate link
â–ºwritten tutorial

–Top Resources–

Use Promo Code WPBVIP
â–ºBest WordPress Contact Form Plugin
â–ºBest WordPress Analytics Plugin
â–ºBest Lead Generation Plugin
â–ºBest WordPress SEO Plugin
â–ºBest Landing Page Builder for WordPress
â–ºBest WordPress Giveaway Plugin

–Related Videos–

â–ºWordPress Tutorial – How to Make a WordPress Website for Beginners
â–ºWordPress Gutenberg Tutorial: How to Easily Work With the Block Editor
â–ºWhat is SEO and How Does it Work?
â–ºHow to Install a WordPress Theme

Normally the search URL starts with a question mark with text afterward which can be mildly confusing when viewing and not always the best for SEO. The difference between this URL structure and the normal URL structure can also be a strange experience for visitors.

For this tutorial, we will be recommending you use FTP to edit your files. If you do not know how to use FTP we would recommend taking a look at our article:

The first method we will be editing the functions file for your theme. You would want to create a child theme so your changes are not removed when your theme updates. For creating a child theme you would want to take a look at:

Your functions file you would want to go into the wp-content folder then the themes folder and find the folder with your theme’s name on it. Next, open the file with the text editor of your choice, we use Notepad++ in this video. Download the file from your live site, make your changes at the bottom of the file, and reupload the functions.php to your site.

A second option would be to edit your htaccess rather than your theme’s functions file so the setting stays if you change themes. You would want to go back to the root folder by using the ellipses(…) or double dots depending on your FTP program until you see the folders wp-admin and wp-content. Here you should see the .htaccess file to edit, if not you would want to show hidden files in your FTP program.

Text version of this tutorial

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook

Follow us on Twitter

Check out our website for more WordPress Tutorials

#WordPress #WordPressTutorial #WPBeginner

source

Mazi

Mazi has nine years of web development experience with the past five years spent honing his skills with WordPress plugins and themes. He's an expert in WooCommerce and is the author of the Simple Sales Tax plugin, a popular sales tax compliance solution for WooCommerce. Brett understands the importance of excellent communication, prides himself on producing high-quality code, and is comfortable working solo or as part of a team.

Leave a Reply

Your email address will not be published.

Back to top button