vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2007, 04:14 PM
GamingVidz.com GamingVidz.com is offline
Senior Member
 
Join Date: Jul 2005
Posts: 265
Default vbadvanced links directory and vbseo 3.0? .htaccess question and custom rewrite rules

vbadvanced links directory and vbseo? I'm trying to figure out how to make my .htaccess file for the links folder and the custom rewite rules.

What I currently have:

for the .htaccess file I placed in the "vidz" folder
Code:
RewriteEngine On
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$  /forum/vbseo.php?vbseourl=$1&vbseorelpath=../vidz/&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !forum/
RewriteRule ^(.*\.php)$ /forum/vbseo.php?vbseourl=$1&vbseorelpath=../vidz/&%{QUERY_STRING} [L]
the custom rewrite rules I've used:

Code:
//vidz Rewrites
'vidz/index\.php$' => 'links/'
'browselinks\.php\?do=newlinks$' => 'newlinks.html'
'browselinks\.php\?do=poplinks$' => 'top.html'
'browselinks\.php\?do=poplinks&orderby=rating$' => 'toprating.html'
'browselinks\.php\?do=poplinks&orderby=posts$' => 'topposts.html'
'browselinks\.php\?c=(\d+).*$' => 'linkcat-$1.html'
'showlink\.php\?do=showdetails&l=(\d+)&goto=lastpost.*$' => 'file$1-lastpost/'
'showlink\.php\?l=(\d+).*$' => 'showlink-$1.html'
'showlink\.php\?do=showdetails&l=(\d+).*$' => 'link-$1.html'
'vidz/search\.php' => 'search.html'
'vidz/search\.php\?do=searchresults&string=(\w+)&catid= 0&quicksearch=1' => 'search-$1.html' 
'browselinks\.php\?do=browselinks&catid=(\d+)&ltr=(\w+)&linkuserid=(\d+)' => 'linkcat-$1-$2.html'
'browselinks\.php\?do=poplinks&orderby=views' => 'topviews.html'
'misc\.php\?do=linktous' => 'linktous.html'
'addlink\.php\?c=(\d*)' => 'addlink$1.html'
'misc\.php\?do=report&linkid=(\d+)&catid=(\d+)' => 'reportlink-$1-$2.html'
//'showlink\.php\?l=(\d+)&linkurl=.*' => 'gotolink-$1-$2.html' <-doesn't work for some reason. oh well
My links directory is in a folder titled "vidz" so if you were to use the same stuff, you should change the areas that are "vidz" to "whatever your folder name is"

I'm using vBseo 3.0.

The way my "vidz" have currently been rewritten look like this after I inputted the above changes:

/vidz/linkcat-2.html (for a category)

/vidz/link-1067.html (for a video link)

Any ideas on how to fix this? I'd much rather it go something like this:

/vidz/halo-2-montages.html (for a category)

/vidz/walshys-new-montage.html (for a video link) or something like that.

You know how it works in the vBulletin forum (for thread and post titles etc.). I'd like it to be the same for the "vidz" directory (links). (Perhaps this thread can be moved to the custom rewrite rules forum that I didn't notice before).

Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 04-16-2007, 11:32 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: vbadvanced links directory and vbseo 3.0? .htaccess question and custom rewrite r

Something like that is going to require quite a few changes in order to work properly. The same SEO functions that are in vBa Blogicles right now though will be added to vBa Links with the next feature release.
Reply With Quote
  #3  
Old 04-21-2007, 07:15 PM
COBRAws COBRAws is offline
Member
 
Join Date: Jun 2004
Posts: 39
Default Re: vbadvanced links directory and vbseo 3.0? .htaccess question and custom rewrite r

Quote:
Originally Posted by Brian View Post
Something like that is going to require quite a few changes in order to work properly. The same SEO functions that are in vBa Blogicles right now though will be added to vBa Links with the next feature release.
Hey, glad to hear that. Making some urls work with the Custom Rewrite Rules on vBSEO is almost impossible and vbseo staff isnt helping at all.

Appart from this very personal requirement, vba links directory works like a charm. Thanks Brian.
Reply With Quote
Reply


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Hide All Empty Custom Fields in vBadvanced Links Directory? gyankow "How Do I..." Questions 1 09-19-2006 07:00 PM
Request/Question: Box with last x Links from vBadvanced Links Directory Hexemer Module & Modification Discussion & Requests 0 07-30-2006 04:08 PM
vBadvanced and vbSEO? zurv "How Do I..." Questions 3 02-27-2006 11:35 PM
vBadvanced Links Directory vs Andrew's Links and Files Database Lizard King Pre-Sale Questions 4 11-14-2005 08:48 PM


All times are GMT -4. The time now is 01:25 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.