![]() |
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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]
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+)<r=(\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 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. |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
|||
|
|||
|
Quote:
Appart from this very personal requirement, vba links directory works like a charm. Thanks Brian. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |