Editing The SEO Of Member Search Results Pages

Link: https://support.brilliantdirectories.com/support/solutions/articles/5000682656-editing-the-seo-of-member-search-results-pages

What are Member Search Results Pages?

Member Search Results pages are what a visitor to the website will see when they search for members on the site. These searches can be done by keyword, category, and/or location.

For example, to see a search results page that contains all of the searchable members of the site, go the /search_results page (EG: http://www.demobootstrap.com/search_results).

"Pretty" URLs and "Not So Pretty" URLs

When a visitor to the site searches for a member by keyword, category, and/or location, the search results page will have a "Not So Pretty" URL.  It will look something like this (this is a search for members in the category "Restaurants" in the location "Las Vegas, Nevada"):

For comparison sake, a search on Google.com for "Restaurants in Las Vegas, Nevada", can look something like this:

As we can see, the URL that the visitor sees in both cases is "Not So Pretty".  

For most of these search results pages, there is also a "Pretty" URL version of the page, that shows the same search results.

For example, the "Pretty" URL version of a search for members in the category "Restaurants" in the location "Las Vegas, Nevada" will look like this:

(Note: http://www.demobootstrap.com/nevada/las-vegas/restaurants - without united-states in the URL - would also show the same results)

The URL of this page is much prettier!  

Why Have 2 URLs For The Same Page?

The search engine on the site uses all of the information in the "Not So Pretty" URL to drive some of the advanced search functionality such as Service Areas, Search Radius Distance Calculations, and more.

However, a "Not So Pretty" URL like this is not as desirable for sharing on social media, sending in an email, or for SEO purposes.

The system automatically creates a "Pretty" URL version of member search results pages for all of the reasons listed above.

We created the Advanced Setting: 

"Enable All Location Features For "Pretty URL" Search Results Pages (Additional Google Maps API Cost)" .

This setting allows the "Pretty" URL version of a member search results to take into account the advanced locations features mentioned above (such as Service Areas and Membership Plan Search Priority).


NOTE: To allow all "Pretty URL" location search results pages to include these location features please set this Advanced Setting to ON

When this setting is ON, loading a "Pretty URL" location search results page will require a Google Maps API query to enable location search features, like including Service Areas. This may impact the Google Maps API bill if it is enabled.

Once this setting is enabled, the creation of a separate Google Maps Key is needed please see the process on how to set it up: Set Up Pretty URLs With Google Maps 

Where Can I Edit the SEO Elements of a Member Search Results Page?

There are 2 different ways to access the SEO elements of a search results page - while viewing the page on the front end of the website, and when viewing the Admin area of the site.

Important Note: The instructions below describe how to edit the SEO elements and content of all member search results pages.  If the goal is to edit the SEO elements and content of only one specific member search results page, please see this article for more information.

Editing SEO Templates From The Front End

First, login to the Admin area of the site and click on the "Visit Website" link at the top of the screen:

This will allow to view the front end of the website while having extra Admin abilities.

Next, navigate to the member search results page to be edited.  It's possible to navigate to either the "Pretty" or "Not So Pretty" URL version of the page - the SEO elements of both versions of the page are edited from the same place.

Once on the member search results page that would like to edit, click on the "Edit SEO Template" icon in the left Admin navigation bar:

This will take the admin directly to the correct SEO Template to edit the SEO elements of this page.

Edit SEO Templates From The Admin Area

All of the SEO Templates for member search results pages can also be accessed by navigating to Content >> SEO Templates in the left navigation menu of the Admin area:

There are 45 Default SEO Templates available, starting with ID #100:

Using the search box on the right side of the screen will allow to easily search for any existing SEO template :

Member Search Results SEO Templates

All of the SEO Templates related to member search results pages have ID numbers in the 200 range - #200 through #232.

Information about which types of search results each template is for can be found on the "Page Details" column.  

For example, #200 is the "Default" search results page template, meaning it is the template that is used when navigating to the /search_results page on the site, or if searching for members on the site without specifying a keyword, category, or location.  In other words, this page will display all of the searchable members on the site, as this page does for example: http://www.demobootstrap.com/search_results

Here are some other examples:

#201 - Search Results - Members - Main Category Only

This is the SEO Template used when performing a search by main category only.

"Pretty" URL example of this type of search results page ("Food" is the main category): http://www.demobootstrap.com/food

"Not So Pretty" URL example of this type of search results page: http://www.demobootstrap.com/search_results?sid=17&tid=&location_value=

#204 - Search Results - Members - Country Only

This is the SEO Template used when only a country is searched for. 

"Pretty" URL example of this type of search results page ("United States" is the country): http://www.demobootstrap.com/united-states

"Not So Pretty" URL example of this type of search results page: http://www.demobootstrap.com/search_results?sid=&tid=&location_value=united+states&country_sn=US&location_type=country&swlat=18.9106768&nelat=71.3867745&swlng=172.4458955&nelng=-66.95028609999997&lat=37.09024&lng=-95.71289100000001&faddress=United+States&place_id=ChIJCzYy5IS16lQRQrfeQ5K5Oxw

#225 - Search Results - Members -State / City / Main Category

This is the SEO Template used when a state (province), city and main category, all specified in a search.

To edit one of the templates, simply find the one in the list that applies for the type of search results page and click on "Edit":

Editing a template will impact both the "Pretty" and "Not So Pretty" URL versions of that type of search results page.

Also, any content added to the Hero Section of the "Pretty" URL will impact as well the "Not So Pretty" URL version of a member search results page.

To learn more about how to edit the different elements of SEO templates, refer to this article:

How to Edit The Different Elements of SEO Templates