DTO vBulletin Product Support


Go Back   Drive Thru Online - Support | Drive Thru Online vBulletin Products > Pre-Sales Questions > General Product Questions and Information

General Product Questions and Information Questions and information that apply to all DTO products.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-02-2010, 12:54 PM
Nathan Nathan is offline
Director - Product Support
 
Join Date: Jan 2009
Location: Ohio
Posts: 537
Default Rewrite Rules with DTO Products when migrating from 3.2.2 to 3.5.1

When updating vBSEO from 3.2.2 to 3.5.1 all custom rewrite rules are commented out during the process. Simply remove the // to make the rules work properly again.

Example

After the update the rewrite rules for Vendor Tools looks like:

Code:
/// DTO Vendor Tools - rewrite rules
// '^dto_vendor\.php$' => 'vendor'
// '^dto_vendor\.php\?do=vendorinfo&id=(\d+)' => 'vendor/$1'
// '^dto_vendor\.php\?view=(\w+)$' => 'vendor/list-by-$1'
// '^dto_vendor_help\.php$' => 'vendor/help'
// '^dto_vendor\.php\?do=click&id=(\d+)$' => 'vendor-site/$1'
// '^dto_vendor\.php\?do=reg$' => 'vendor/register'
//'^dto_vendor\.php\?do=regproc$' => 'vendor/registerprocess'
Fixed version

Code:
/// DTO Vendor Tools - rewrite rules
 '^dto_vendor\.php$' => 'vendor'
 '^dto_vendor\.php\?do=vendorinfo&id=(\d+)' => 'vendor/$1'
 '^dto_vendor\.php\?view=(\w+)$' => 'vendor/list-by-$1'
 '^dto_vendor_help\.php$' => 'vendor/help'
 '^dto_vendor\.php\?do=click&id=(\d+)$' => 'vendor-site/$1'
 '^dto_vendor\.php\?do=reg$' => 'vendor/register'
 '^dto_vendor\.php\?do=regproc$' => 'vendor/registerprocess'
__________________
-----
Nathan Freedenberg
Director - Product Support
Drive Thru Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 10:07 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2021, vBulletin Solutions, Inc.