*

MagicM

  • *
  • 5 posts
Rename main directory URL
« on: May 01, 2019, 03:25:13 PM »
How can i change dir name from URL/companies?

I mean, in which files is coded the "companies" reference so I can replace with a custom one?

In case of updates will be needed the same replacement as I expect or is a one-time process?

Thanks

*

MB Themes

Re: Rename main directory URL
« Reply #1 on: May 02, 2019, 11:35:45 AM »
@MagicM
You can find osc_add_route function in index.php of plugin, urls are generated here
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MagicM

  • *
  • 5 posts
Re: Rename main directory URL
« Reply #2 on: May 06, 2019, 01:13:43 PM »
Thank you,
so if I rename the 2 instances here all is going smooth until next update?
osc_add_route('bpr-list', 'companies', 'companies', osc_plugin_folder(__FILE__).'form/home.php', false, 'bpr', 'home');

*

MB Themes

Re: Rename main directory URL
« Reply #3 on: May 06, 2019, 04:12:18 PM »
Yes
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots