[Revised] vBulletin Mod_rewrite Tutorial

Reply

Join Date: Feb 2002
Posts: 12,047
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #21
Nov 5th, 2004
In external.php,

  1. echo "\t\t<link>$vboptions[bburl]/showthread.php?t=$thread[threadid]&amp;goto=newpost</link>\r\n";
would need to be replaced with
  1. echo "\t\t<link>$vboptions[bburl]/newpostinthread$thread[threadid].html</link>\r\n";

and

  1. echo "\t\t<guid isPermaLink=\"false\">$vboptions[bburl]/showthread.php?t=$thread[threadid]</guid>\r\n";
would need to be replaced with
  1. echo "\t\t<guid isPermaLink=\"false\">$vboptions[bburl]/thread$thread[threadid].html</guid>\r\n";
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 47
Reputation: I, Brian is an unknown quantity at this point 
Solved Threads: 1
I, Brian's Avatar
I, Brian I, Brian is offline Offline
Light Poster
Join Date: Feb 2002
Posts: 12,047
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #23
Nov 7th, 2004
Aww, thanks Brian
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 47
Reputation: I, Brian is an unknown quantity at this point 
Solved Threads: 1
I, Brian's Avatar
I, Brian I, Brian is offline Offline
Light Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #24
Nov 7th, 2004
Dani, just one small issue with external.php - when calling up syndicated content for individual vB3 sub-forums, you use something like:

  1. external.php?forumids=38

to call up a feed of that subforums.

However, it doesn't seem to like this on the workaround to static HTML. I *presume* it's an issue to be corrected with .htaccess, but I'm not quite sure about how to go about it.

Would you possibly have any suggestion?
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 6
Reputation: ToOnZ is an unknown quantity at this point 
Solved Threads: 0
ToOnZ ToOnZ is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #25
Nov 10th, 2004
Alright im implementing this new revised on a new site of mine, and it doesnt really go smoothly, had to figure alot of things out myself Btw the htaccess code was wrong i thought, as the threads you clicking into will have the title in the filename, you need something like this

  1. RewriteEngine on
  2. Options +FollowSymLinks
  3. RewriteRule ^t([0-9]+)-(.*).html$ showthread.php?t=$1 [L]
  4. RewriteRule ^lastpostinthread([0-9]+).html$ showthread.php?goto=lastpost&t=$1 [L]
  5. RewriteRule ^newpostinthread([0-9]+).html$ showthread.php?goto=newpost&t=$1 [L]
  6. RewriteRule ^f([0-9]+)-(.*).html$ forumdisplay.php?f=$1 [L]

Im having this error "Parse error: parse error, unexpected T_STRING in /home/musicp/public_html/forums/includes/functions_online.php on line 164" when i go to who online or try to view a profile. Im really quite new to PHP, any idea guys ?
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 16
Reputation: Natch is an unknown quantity at this point 
Solved Threads: 0
Natch Natch is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #26
Nov 11th, 2004
Good catch on that one Nordinho: Dani: this (probably) should be edited into the original post of this thread...
Natcher00 ... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
[vB.org] PNG24 transparency with IE * DaniWeb: mod_rewrite your vB
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2
Reputation: infiniterb is an unknown quantity at this point 
Solved Threads: 0
infiniterb infiniterb is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #27
Dec 1st, 2004
Got a problem. The rewite works fine, except that I'm seeing duplicate forum names. Any idea what I need to edit to fix this?

www.clantt.com/vb/ is the url in question.

Thanks in advance. Nice work.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 24
Reputation: eWebTalk is an unknown quantity at this point 
Solved Threads: 0
eWebTalk's Avatar
eWebTalk eWebTalk is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #28
Dec 2nd, 2004
Excellent tutorial...nice job. Should be very handy..I might try this
»» EwebTalk: Web Discussion Community
»» Sign Up Today & Gain Access to "eTools"
»» Click Here Now http://www.ewebtalk.com
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 17
Reputation: hysteriaweb is an unknown quantity at this point 
Solved Threads: 0
hysteriaweb hysteriaweb is offline Offline
Newbie Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #29
Dec 3rd, 2004
I agree with ewebtalk great tutorial!
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 118
Reputation: Arizona Web is an unknown quantity at this point 
Solved Threads: 2
Arizona Web's Avatar
Arizona Web Arizona Web is offline Offline
Junior Poster

Re: [Revised] vBulletin Mod_rewrite Tutorial

 
0
  #30
Dec 9th, 2004
I just installed the first VB forum that I own yesterday (www.mysportsforum.com) and this tutorial is DA BOMB baby!

Thanks everybody!
Need a website designer? arizona web design : phoenix web design : MCP Media intelligent web design and web development solutions. MCP Media is owned and operated by Chris Hooley - who happens to be a real nerd... on purpose :-)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC