*

webcity

  • *****
  • 278 posts
Custom search page structure
« on: June 28, 2025, 10:27:58 AM »
Hi,

I am trying to configure the Custom search page structure in v8.3 using the Zeta theme.

I would like the URL: https://zeta.mb-themes.com/search/city,7862204/sLocation,Ireton to show as https://zeta.mb-themes.com/a/ireton
I have put the
Code: [Select]
{sCity} in the Search url rule "A" but it doesn't work as there is a sLocation appended at the end of all city URL's. I can put
Code: [Select]
{sCity}/{sLocation} in the rule but this then shows as https://zeta.mb-themes.com/a/ireton/ireton , I don't want to repeat the city name.

Can you suggest a solution to the problem?

Many thanks

*

MB Themes

Re: Custom search page structure
« Reply #1 on: June 28, 2025, 05:09:29 PM »
Maybe you don't need to pass sLocation on search, you can try to find it's input and change name to just name=""
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

webcity

  • *****
  • 278 posts
Re: Custom search page structure
« Reply #2 on: June 29, 2025, 04:48:57 AM »
Thanks for your help and reply.

I notice that the default Sigma theme uses a different URL search structure than the Zeta theme.

To show the For Sale listings for Ireton City the URL is : https://demo.osclasspoint.com/en/search/region,Iowa/city,Ireton/category,for-sale

The Zeta theme For Sale listings in Ireton is : https://zeta.mb-themes.com/search/category,1/city,7862204/sLocation,Ireton

And the custom search page structure would be a lot better too if the Zeta theme used the same structure as Sigma as I could use : https://demo.osclasspoint.com/en/a/search/iowa/ireton/for-sale

What code do I need to change in the Zeta theme to use the same URL format as the default theme? As the default theme URL structure is a lot more search engine friendly and easier to understand.

« Last Edit: June 29, 2025, 05:09:27 AM by webcity »

*

MB Themes

Re: Custom search page structure
« Reply #3 on: June 29, 2025, 10:31:09 AM »
Depends on parameters used in search form.
Anyway these uros are not for human and your sitemap will still be fine so its not a big deal.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

webcity

  • *****
  • 278 posts
Re: Custom search page structure
« Reply #4 on: June 30, 2025, 03:54:52 PM »
Thanks for the reply.

Location based categories are very important for classified sites. Long tail search results that include both the location and category bring in the most search engine traffic to my site. Most of the popular classified sites have url's that just include the category name and location name as Google and others do use the URL content as well as other factors to rank your site.

Example: https://www.gumtree.com/for-sale/uk/london  https://www.freeads.co.uk/leicester/for-sale/   https://www.tradingpost.com.au/cars-for-sale/in-wa/perth_region-region 

Using the Custom search page structure option should help with making the URL's more search engine friendly. Could you tell me where I would need to look to remove the sLocation reference in the search URL's for the Zeta theme?

Many thanks

*

MB Themes

Re: Custom search page structure
« Reply #5 on: July 01, 2025, 10:38:58 AM »
search.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots