RSS Forums RSS
Please support our Linux Servers and Apache advertiser: Programming Forums
Views: 2259 | Replies: 1
Reply
Join Date: Jan 2006
Posts: 1
Reputation: cather is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
cather cather is offline Offline
Newbie Poster

regarding vbulletin mod rewrite

  #1  
Jan 17th, 2006
hi,

i wish to include the forum session in my site

i want the exact procedure and steps to be followed for the mod rewrite of urls.

the urls should describe the domain name followed by the forum name and then by the forum number that has been posted.

i.e. it should look like

http://www.site.com/forum/forum-1.(php/htm anyhting)
http://www.site.com/forum/forum-2.(php/htm anyhting)

etc;


can you please help me...........
Last edited by cscgal : Feb 24th, 2006 at 9:32 pm. Reason: URLs examplified to conform with forum policy
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2004
Location: VA, USA
Posts: 459
Reputation: TKS will become famous soon enough TKS will become famous soon enough 
Rep Power: 6
Solved Threads: 17
TKS's Avatar
TKS TKS is offline Offline
Posting Pro in Training

Re: regarding vbulletin mod rewrite

  #2  
Apr 19th, 2006
Here's the mod_rewrite I use to forward all things from my old addy to my new one and rerwite everything after the myurl.com portion. Place this in the directives for the virtual site or in .htaccess:

RewriteEngine on
	   RewriteCond %{HTTP_HOST}  ^youroldsite\.com$
	   RewriteRule ^(/)(.*)  http://yournewsite.com/$2 [R]
My Home Away from Home: Yet Another Linux Blog
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:56 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC