Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 25 Sep 2016, 15:54
talhatc talhatc is offline
 
Join Date: Jul 2016
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?
Reply With Quote
  #2  
Old 25 Sep 2016, 18:10
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
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.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 26 Sep 2016, 02:56
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
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.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #4  
Old 26 Sep 2016, 14:34
talhatc talhatc is offline
 
Join Date: Jul 2016
Originally Posted by Replicant View Post
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?

Last edited by talhatc; 26 Sep 2016 at 14:59.
Reply With Quote
  #5  
Old 26 Sep 2016, 16:38
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
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.
__________________

Love and support one another #vote2020
I offer Managed IT Services in Kansas
Reply With Quote
  #6  
Old 26 Sep 2016, 18:51
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
Originally Posted by talhatc View Post
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.
__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #7  
Old 26 Sep 2016, 19:24
talhatc talhatc is offline
 
Join Date: Jul 2016
Originally Posted by Replicant View Post
Categories and forums. Not threads thread.

So the individual posts url will remove the /forum/ from it too?
Reply With Quote
  #8  
Old 26 Sep 2016, 20:45
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Real name: Mel
The individual threads will have the url path of their parent.

On my forum:
before changing the 69-72-first-gen forum url
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

after changing the url in sitebuilder


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote
  #9  
Old 28 Sep 2016, 12:04
Mattwhf Mattwhf is offline
 
Join Date: May 2016
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.
__________________
Web Hosting Forum - Learn web hosting and offer your hosting services for FREE!
Bếp từ nhập khẩu châu âu chất lượng cao.
Reply With Quote
  #10  
Old 29 Sep 2016, 00:16
talhatc talhatc is offline
 
Join Date: Jul 2016
Originally Posted by Replicant View Post
The individual threads will have the url path of their parent.

On my forum:
before changing the 69-72-first-gen forum url
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

after changing the url in sitebuilder


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
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
Reply With Quote
  #11  
Old 29 Sep 2016, 00:43
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Do a variable replacement in Styles > Replacement Variable Manager in AdminCP.

Search for Text: href="http://www.xyz.com/forums/forum/

Replace with Text: href="http://www.xyz.com/forums/
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic

Last edited by noypiscripter; 03 Oct 2016 at 20:56.
Reply With Quote
  #12  
Old 03 Oct 2016, 10:40
MokeyII MokeyII is offline
 
Join Date: Mar 2015
Originally Posted by noypiscripter View Post
Do a variable replacement in Styles > Replacement Variable Manager in AdminCP.

Search for Text: href="http://www.xyz.com/forums/forum/

Replace with Text: href="http://www.vbulletin.com/forums/
This replaced the URL but broke all my links that used to use forums/forum/
Reply With Quote
  #13  
Old 03 Oct 2016, 21:07
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Originally Posted by MokeyII View Post
This replaced the URL but broke all my links that used to use forums/forum/
Did you change the URLs as Replicants suggested? My post was a direct response to talhatc who changed the URLs but still seeing /forums/forum/ in the Activity stream.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
  #14  
Old 04 Oct 2016, 15:25
MokeyII MokeyII is offline
 
Join Date: Mar 2015
Yeah, sorry for not responding. I figured out a few hours later...
Reply With Quote
Reply


Tags
forumhome, htaccess, settings, url, vbulletin 5


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 02:02.

Layout Options | Width: Wide Color: