PDA

View Full Version : How to remove "/forums" from thread URLS.


mrsjanuary
12-14-2011, 11:28 AM
I have moved the forum into the root of a subdomain, and I am still having issues with it adding "/forums" to the URL's. I am using the correct .htaccess file, and I have removed the line that tells it to add "/forums" to the URL's, and it's still not working.

Any suggestions on what might be wrong?

URL: http://forum.mrsjanuary.com

Thank you!

kh99
12-14-2011, 02:43 PM
Did you check the options in the adminCP, Settings > Options > Help Site Name / URL / Contact Details and make sure nothing has /forum on it?

Max Taxable
12-14-2011, 02:48 PM
Checking your link, in my addressbar I do not see the trailing "/forums" I see only forum.mrsjanurary.com

And you need a favicon.

kh99
12-14-2011, 02:57 PM
Checking your link, in my addressbar I do not see the trailing "/forums" I see only forum.mrsjanurary.com

But if you go to the site and click on "Main Forum" you can see it's adding /forums.

Lynne
12-14-2011, 04:10 PM
Take a look at the file class_friendly_url.php. They define the $rewrite_segment for forums in there. I have no idea what changing that will do though since I haven't tried it.

mrsjanuary
12-14-2011, 06:42 PM
Checking your link, in my addressbar I do not see the trailing "/forums" I see only forum.mrsjanurary.com

And you need a favicon.



Will be adding the favicon later.

--------------- Added 1323891798 at 1323891798 ---------------

Did you check the options in the adminCP, Settings > Options > Help Site Name / URL / Contact Details and make sure nothing has /forum on it?

Yep, nothing in there with /forum.

--------------- Added 1323891931 at 1323891931 ---------------

Take a look at the file class_friendly_url.php. They define the $rewrite_segment for forums in there. I have no idea what changing that will do though since I haven't tried it.

Hmm, I'll look into that. Thank you!
com/Main-Forum[/url]

--------------- Added 1323909990 at 1323909990 ---------------

I'm still having problems with this. Can anyone help? I can't get /forums to go away. I also see numbers in the URLS.

For example, one forum URL looks like this:
http://forum.mrsjanuary.com/forums/2-Main-Forum

I want it to look like this:
http://forum.mrsjanuary.com/Main-Forum

Help please!