*

Cecile D

  • **
  • 27 posts
country subdomain based on country code not country name
« on: June 17, 2024, 07:00:49 PM »
How can I change the country subdomain to be based country code, not country slug(name) as it is currently

*

MB Themes

Re: country subdomain based on country code not country name
« Reply #1 on: June 17, 2024, 09:43:38 PM »
Change slugs to codes.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Cecile D

  • **
  • 27 posts
Re: country subdomain based on country code not country name
« Reply #2 on: June 18, 2024, 12:53:42 AM »
where to change that

*

MB Themes

Re: country subdomain based on country code not country name
« Reply #3 on: June 18, 2024, 10:40:01 AM »
Country settings
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Bronwyn

  • **
  • 5 posts
Re: country subdomain based on country code not country name
« Reply #4 on: July 27, 2024, 01:15:11 PM »
Hello there :)

Try to follow these steps to switch the country subdomain from using a country name to a country code I hope these will helpful for you 

In order to show the new subdomains based on country codes; update your DNS records.
To take into account the new subdomain structure; update the settings on your web server. Changing rewrite rules setups may be necessary for this.
Update the logic to use country codes in place of names if your program requires them for sending .
Verify that your application works as planned and that the new subdomain resolve correctly.


*

MB Themes

Re: country subdomain based on country code not country name
« Reply #5 on: July 28, 2024, 01:20:27 PM »
You just need to change slugs.
Slug is used in URLs as unique meaningful shortcut.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots