*

slaven

  • ***
  • 81 posts
How to change a URL name
« on: September 21, 2021, 10:29:34 PM »
How can the "faq" URL be changed after the domain?
It's probably simple, but you're an expert at it.

Example:

osclasspointsite.com/faq

osclasspointsite.com/questions-and-asnwers


Tnx
Osclass

Marked as best answer by alexborg on September 22, 2021, 12:29:27 PM
*

MB Themes

Re: How to change a URL name
« Reply #1 on: September 22, 2021, 07:21:22 AM »
@alexborg
If you go to index.php of plugin, find here:
Code: [Select]
osc_add_route('faq-home', 'faq/', 'faq/', osc_plugin_folder(__FILE__).'form/home.php', false, 'faq', 'home');

Replace with:
Code: [Select]
osc_add_route('faq-home', 'questions-and-answers/', 'questions-and-answers/', osc_plugin_folder(__FILE__).'form/home.php', false, 'faq', 'home');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slaven

  • ***
  • 81 posts
Re: How to change a URL name
« Reply #2 on: September 22, 2021, 12:29:09 PM »
That's it. Great plugin. Thank you !
Osclass

*

MB Themes

Re: How to change a URL name
« Reply #3 on: September 22, 2021, 06:10:54 PM »
Welcome ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots