How to Change Mantis URL

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Ashwinntt
Posts: 24
Joined: 12 Aug 2013, 07:15

How to Change Mantis URL

Post by Ashwinntt »

Hi
How to change the url of the mantis means say old url mantisdms.com to new url mantisdmstool.com :D
Ashwinntt
Posts: 24
Joined: 12 Aug 2013, 07:15

Re: How to Change Mantis URL

Post by Ashwinntt »

I have opened the config_inc.php file to edit the $g_path but the string $g_path is not present in the file config_inc.php, how to change the Mantis URL now?
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Change Mantis URL

Post by atrol »

Ashwinntt wrote:$g_path is not present in the file config_inc.php, how to change the Mantis URL now?
Copy the option from file config_defaults_inc.php to config_inc.php and adjust to your needs.
Please use Search before posting and read the Manual
Ashwinntt
Posts: 24
Joined: 12 Aug 2013, 07:15

Re: How to Change Mantis URL

Post by Ashwinntt »

Even in config_defaults_inc.php the $g_path (url) is not present , where I can change the URL to access the Mantis?
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Change Mantis URL

Post by atrol »

Ashwinntt wrote:Even in config_defaults_inc.php the $g_path (url) is not present
$g_path is set in config_defaults_inc.php if you use an original unchanged version of MantisBT.
Someone changed the file on your installation.
Please use Search before posting and read the Manual
Ashwinntt
Posts: 24
Joined: 12 Aug 2013, 07:15

Re: How to Change Mantis URL

Post by Ashwinntt »

Hi atrol,
Now we want to change the url and I have checked the files the modification date is same as the day when we installed it no one has changed it
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Change Mantis URL

Post by atrol »

I double checked our repository at github and our downloads at sourceforge.
I can just repeat: $g_path is set in config_defaults_inc.php if you use an unchanged MantisBT 1.2.15.
Please use Search before posting and read the Manual
Ashwinntt
Posts: 24
Joined: 12 Aug 2013, 07:15

Re: How to Change Mantis URL

Post by Ashwinntt »

Hi atrol
The path is "$g_path = $t_protocol . '://' . $t_host . $t_path;" in the config_defaults_inc.php file is it the default/unchanged one or it is changed

It would be really very helpful if you provide a sample config_inc.php file in which the $g_path is configured so that we can change our config_inc.php file accordingly
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: How to Change Mantis URL

Post by atrol »

Please use Search before posting and read the Manual
Post Reply