vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Remove "forum" from the url /forums/forum/ - VB 5.2.2 (https://vborg.vbsupport.ru/showthread.php?t=323522)

talhatc 09-25-2016 01:54 PM

Remove "forum" from the url /forums/forum/ - VB 5.2.2
 
Hi,

We upgraded from VB 4 to VB 5.2.2 and we've expereinced many many broken links. Also, the biggest issue right now is to get rid of the "forum" from the url.

Our forums are located under the /forums/ directory which makes the url www.xyz.com/forums/forum/

We would like it to be
www.xyz.com/forums/ and that's it.

Can please someone point us in the right direction?

Paul M 09-25-2016 04:10 PM

The short answer is you cannot.

Technically you can change it to something else (not remove) if you do some direct edits in the route table.

I've heard of someone doing it via .htaccess redirects, but I would think that quite flakey.

Replicant 09-26-2016 12:56 AM

OR, you can open site builder on each forum page, edit the url and save. I did it on mine, about 60 forums/categories (at the time), took a couple hours.

talhatc 09-26-2016 12:34 PM

Quote:

Originally Posted by Replicant (Post 2576248)
OR, you can open site builder on each forum page, edit the url and save. I did it on mine, about 60 forums/categories (at the time), took a couple hours.

I have 10,000+ forum threads, so should I be changing each page? Or just the category page and all only?

Brandon Sheley 09-26-2016 02:38 PM

Enjoy the vbulletin 5 feature ;)

Also id you can edit the url path like mentioned above, you should be able to put together a db query to run it in the database. Quicker if you have 100's of edits.

Replicant 09-26-2016 04:51 PM

Quote:

Originally Posted by talhatc (Post 2576268)
I have 10,000+ forum threads, so should I be changing each page? Or just the category page and all only?

Categories and forums. Not threads thread.

talhatc 09-26-2016 05:24 PM

Quote:

Originally Posted by Replicant (Post 2576286)
Categories and forums. Not threads thread.


So the individual posts url will remove the /forum/ from it too?

Replicant 09-26-2016 06:45 PM

The individual threads will have the url path of their parent.

On my forum:
before changing the 69-72-first-gen forum url
Code:

http://www.k5blazersplus.com/forums/forum/main-forum/build-threads/chevy/69-72-first-gen/nodeid-thread-name
after changing the url in sitebuilder

Code:

http://www.k5blazersplus.com/forums/69-72-first-gen/nodeid-thread-name

Mattwhf 09-28-2016 10:04 AM

I also have a same question like yours for my forum but it is impossible to change that unless you have to do custom codes for it like I am using for my forum now.

talhatc 09-28-2016 10:16 PM

Quote:

Originally Posted by Replicant (Post 2576292)
The individual threads will have the url path of their parent.

On my forum:
before changing the 69-72-first-gen forum url
Code:

http://www.k5blazersplus.com/forums/forum/main-forum/build-threads/chevy/69-72-first-gen/nodeid-thread-name
after changing the url in sitebuilder

Code:

http://www.k5blazersplus.com/forums/69-72-first-gen/nodeid-thread-name

I've edited the page and removed the extra /forum/ but the Sub-forums in the Activity stream still shows the extra /forum/ but once clicked, it removes the extra /forum/.

Let me know how i can get rid of the extra /forum/ from the Activity Stream module


All times are GMT. The time now is 04:01 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.01392 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete