SunQuest
           Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 22nd, 2004, 09:56 PM
Hero Doug Hero Doug is offline
Self Proclaimed
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 249 Hero Doug User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 56 sec
Reputation Power: 5
Mod Rewriting vBulletin 2.x URL's

I have an install and want to do two things.

First and most importantly is to remove the session ID from the URL.

Secondly it to make the URL's a bit more friendly to search engines.

The problem is that the URL code is automatically generated by vBulletin. Is there a way to rewrite outgoing URL's, or do I need to do some editing in the code to change the URL the forum dynamically produces.
__________________
Norics.com Web Developer Community

Reply With Quote
  #2  
Old August 22nd, 2004, 10:07 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,299 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 1 h 54 m 17 sec
Reputation Power: 760
Please be sure to post in the correct forum in the future.


You will need to modify the links in the vBulletin templates yourself (eg, /176817/showthread.html). You then use mod_rewrite to transparently rewrite those URLs back to how the vBulletin scripts wants them (/showthread.php?t=176817). If you get to the point where you have a specific question about mod_rewrite and/or a rewrite rule, post in the Apache forum.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old August 23rd, 2004, 05:11 PM
Hero Doug Hero Doug is offline
Self Proclaimed
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 249 Hero Doug User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 56 sec
Reputation Power: 5
I didn't know this forum existed, guess I'll have to refamilarise myself with it.

Anyways, thanks for the answer, I should be able to get it working with that.

One question though, if you know. Will removing the session ID from the URL cause any problems with the board?

Reply With Quote
  #4  
Old August 23rd, 2004, 06:20 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,299 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 1 h 54 m 17 sec
Reputation Power: 760
The session ID should only be visible when the user does not allow cookies. I know when I come here before I'm logged in, the session ID shows in the URL. But once I log in, it disappears. Are you having a different experience? It could be something in the board settings.

Last edited by jharnois : September 9th, 2004 at 04:11 PM. Reason: Unsubscribed.

Reply With Quote
  #5  
Old August 25th, 2004, 04:31 PM
Hero Doug Hero Doug is offline
Self Proclaimed
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 249 Hero Doug User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 56 sec
Reputation Power: 5
I've just been going into the templates and removing them manually. So far everything is working fine and there aren't any weird bugs.

P.S. Do you know which template controls this page

http://www.norics.com/f24.html

Reply With Quote
  #6  
Old September 9th, 2004, 03:56 PM
dotcomBOT dotcomBOT is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: Bangladesh
Posts: 12 dotcomBOT User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
is there any mod/addon available for this?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Mod Rewriting vBulletin 2.x URL's


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway