*

Ghany

  • ****
  • 227 posts
How to make theme work with city subdomains.
« on: September 01, 2017, 08:03:16 AM »
i have successfully configured the city based sub domains, but issue was that
when i type city.domain.com its working fine, and also when i click cities in footer then also working great,
but when searched from search bar, the it was not redirecting to city.domain.com  how it make work?

its possible?

if its possible how to rectify this?
Unlock the power of visibility without breaking the bank - https://www.adycart.in/

*

MB Themes

Re: How to make theme work with city subdomains.
« Reply #1 on: September 02, 2017, 04:56:43 PM »
@Ghany
Is there any pattern or function specific for city-based engine?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ghany

  • ****
  • 227 posts
Re: How to make theme work with city subdomains.
« Reply #2 on: September 02, 2017, 05:11:06 PM »
yeah
http://prntscr.com/gg7m4o

you know very well then me.
Unlock the power of visibility without breaking the bank - https://www.adycart.in/

*

MB Themes

Re: How to make theme work with city subdomains.
« Reply #3 on: September 03, 2017, 09:51:10 PM »
@Ghany
That is just setting.

URLs for items in autocomplete are generated in file:
oc-content/themes/veronika/contact.php

line:
Code: [Select]
$prepare[$i]['item_url'] = osc_item_url_ns($prepare[$i]['pk_i_id']);

As you can see it's osclass core function. You may need to add some parameters here, not sure. What is sample URL for any listing that leads to subdomain?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots