Question Function to rewrite URLs

Status
Not open for further replies.

brock258

Customer
I need to rewrite thread and member URL for microdata information. (static url not linked)

With VBSEO, we could rewrite URLs with vbseo_thread_url_row(). Does DBSEO have something like this?
 
Thread URL:
PHP:
DBSEO_Url_Create::create('Thread_Thread', $threadInfo);

Member URL:
PHP:
DBSEO_Url_Create::create('MemberProfile_MemberProfile', $userInfo);

If you're using this code outside of the vB context, you'll want to initialise DBSEO with this block of code (assuming you have DIR set):
PHP:
		// Set important constants
		define('DBSEO_CWD', 	DIR);
		define('DBSEO_TIMENOW', TIMENOW);
		define('IN_DBSEO', 		true);

		// Make sure we nab this class
		require_once(DBSEO_CWD . '/dbtech/dbseo/includes/class_core.php');

		// Init DBSEO
		DBSEO::init(true);
 
No problem :)

If you have any further questions or issues, please feel free to start a new ticket. Thanks!
 
Status
Not open for further replies.

Similar threads

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,194
Customer rating
5.00 star(s) 1 ratings
Back
Top