vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   How to remove "/forums" from thread URLS. (https://vborg.vbsupport.ru/showthread.php?t=275484)

mrsjanuary 12-14-2011 11:28 AM

How to remove "/forums" from thread URLS.
 
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

Quote:

Originally Posted by Max Taxable (Post 2277711)
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

Quote:

Originally Posted by Max Taxable (Post 2277711)
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 [DATE]1323891798[/DATE] at [TIME]1323891798[/TIME] ---------------

Quote:

Originally Posted by kh99 (Post 2277708)
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 [DATE]1323891931[/DATE] at [TIME]1323891931[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 2277737)
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 [DATE]1323909990[/DATE] at [TIME]1323909990[/TIME] ---------------

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!


All times are GMT. The time now is 06:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01053 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete