• Support will be limited until May 1st, as I will be out of the office travelling. Thank you for your patience and understanding.
Status
Not open for further replies.

jjohns12

Customer
Hi,

Hope you can help me out with this. I have vBTubePRO running in my forum and all works great to i enable DB SEO and just the main page will be displayed on Vtube, all other links redirect me to my forum home page.

I think it is due to vBTubePRO ReWriteRule as follows

# vBTube
ReWriteRule ^media/home vbtube.php [QSA]
ReWriteRule ^media/rss vbtube.php?do=rss [QSA]
ReWriteRule ^media/category-(\d+)-(.*)$ vbtube.php?do=cat&id=$1&t=$2 [QSA]
ReWriteRule ^media/photo-categories vbtube.php?do=list&ctype=2 [QSA]
ReWriteRule ^media/adult-categories vbtube.php?do=list&ctype=4 [QSA]
ReWriteRule ^media/categories vbtube.php?do=list [QSA]
ReWriteRule ^media/best-videos vbtube.php?do=topvideos [QSA]
ReWriteRule ^media/best-photos vbtube.php?do=topphotos [QSA]
ReWriteRule ^media/most-viewed vbtube.php?do=most_viewed [QSA]
ReWriteRule ^media/most-voted vbtube.php?do=most_voted [QSA]
ReWriteRule ^media/upload vbtube_add.php?do=add&pt=0 [QSA]
ReWriteRule ^media/mymedia-u=(\d+)$ vbtube.php?do=mymedia&u=$1 [QSA]
ReWriteRule ^media/myfavorites-u=(\d+)$ vbtube.php?do=myfavs&u=$1 [QSA]
ReWriteRule ^media/youtube youtube_browser.php [QSA]
ReWriteRule ^media/acp vbtube_admin.php?do=appro2 [QSA]
ReWriteRule ^media/(\d+)-(.*)$ vbtube_show.php?tubeid=$1&sti=$2 [QSA]
ReWriteRule ^media/(\d+)$ vbtube_show.php?tubeid=$1 [QSA]

They did give instructions if I had VBSEO intalled as follows if this helps ( NEVER HAD INSTALLED! )

'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+)&t=(\d+)&startid=(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+)&startid=(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+)&startid=(\d+)' => 'videos/$1-$4/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+)&t=(\d+)' => 'videos/$1/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+)' => 'videos/$1/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&t=(\d+)&startid=(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&startid=(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&startid=(\d+)' => 'videos/$1-$4/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&t=(\d+)' => 'videos/$1/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)' => 'videos/$1/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)' => 'videos/$1.html'
'^vbtube\.php\?do=cat&id=(.*)&o=(.*)&t=(.+)&page=(.*)' => 'category/$1-$3-$2-$4'
'^vbtube\.php\?do=cat&id=(.*)&o=(.*)&t=(.+)' => 'category/$1-$3-$2-0'
'^vbtube\.php\?do=myfavs&u=(.*)&page=(.*)' => 'my_favorites/$2/$1'
'^vbtube\.php\?do=mymedia&u=(.*)&page=(.*)' => 'my_media/$2/$1'

'^vbtube\.php\?do=list&ctype=2' => 'photo-categories'
'^vbtube\.php\?do=list&ctype=3' => 'adult-categories'

'^vbtube\.php\?do=topvideos&page=(.*)' => 'top_videos-$1'
'^vbtube\.php\?do=topphotos&page=(.*)' => 'top_photos-$1'
'^vbtube\.php\?do=most_viewed&page=(.*)' => 'most_viewed-$1'
'^vbtube\.php\?do=most_voted&page=(.*)' => 'most_voted-$1'
'^vbtube\.php\?do=topvideos' => 'top_videos'
'^vbtube\.php\?do=topphotos' => 'top_photos'
'^vbtube\.php\?do=most_viewed' => 'most_viewed'
'^vbtube\.php\?do=most_voted' => 'most_voted'
'^vbtube\.php\?do=myfavs' => 'my_favorites'
'^vbtube\.php\?do=mymedia' => 'my_media'
'^vbtube\.php\?do=list' => 'video-categories'
'^vbtube\.php\?do=rss' => 'media-rss'
'^youtube_browser\.php' => 'youtube-browser'
'^vbtube\.php' => 'media'

The Question How can i get SEO and Vtube to play nice together? :)

Thanks you
 
Disable the vBTube htaccess rules and paste the "vBSEO Suggested" content into the "(Pro) Custom Rewrite Rules" field in DBSEO CP -> URL Rewrite Settings -> General URL Rewrite Settings :)
 
Now I get Page not found

Hi,

Now i get Page not found with the vBseo rules in Custom Rewrite Rules

Should i try to reinstall VBtube with this new rewrite?

Thanks

I did receive a php error
[02-May-2014 17:52:13 America/Denver] PHP Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 38 ////// dbtech/dbseo/includes/library/custom.php on line 110
 
Last edited:
Try using these rewrites:
Code:
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+) &t=(\d+)&startid=(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+) &startid=(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+) &startid=(\d+)' => 'videos/$1-$4/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+) &t=(\d+)' => 'videos/$1/$2.html'
'^vbtube_show\.php\?do=tube&tubeid=(\d+)&name=(.+) ' => 'videos/$1/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&t=(\d+) &startid=(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&startid =(\d+)&id=(\d+)&pt=(\d+)' => 'videos/$1-$3-$4-$5/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&startid =(\d+)' => 'videos/$1-$4/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)&t=(\d+) ' => 'videos/$1/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)&name=(.+)' => 'videos/$1/$2.html'
'^vbtube_show\.php\?tubeid=(\d+)' => 'videos/$1.html'
'^vbtube\.php\?do=cat&id=(.*)&o=(.*)&t=(.+)&page=( .*)' => 'category/$1-$3-$2-$4/'
'^vbtube\.php\?do=cat&id=(.*)&o=(.*)&t=(.+)' => 'category/$1-$3-$2-0/'
'^vbtube\.php\?do=myfavs&u=(.*)&page=(.*)' => 'my_favorites/$2/$1/'
'^vbtube\.php\?do=mymedia&u=(.*)&page=(.*)' => 'my_media/$2/$1/'

'^vbtube\.php\?do=list&ctype=2' => 'photo-categories/'
'^vbtube\.php\?do=list&ctype=3' => 'adult-categories/'

'^vbtube\.php\?do=topvideos&page=(.*)' => 'top_videos-$1/'
'^vbtube\.php\?do=topphotos&page=(.*)' => 'top_photos-$1/'
'^vbtube\.php\?do=most_viewed&page=(.*)' => 'most_viewed-$1/'
'^vbtube\.php\?do=most_voted&page=(.*)' => 'most_voted-$1/'
'^vbtube\.php\?do=topvideos' => 'top_videos/'
'^vbtube\.php\?do=topphotos' => 'top_photos/'
'^vbtube\.php\?do=most_viewed' => 'most_viewed/'
'^vbtube\.php\?do=most_voted' => 'most_voted/'
'^vbtube\.php\?do=myfavs' => 'my_favorites/'
'^vbtube\.php\?do=mymedia' => 'my_media/'
'^vbtube\.php\?do=list' => 'video-categories/'
'^vbtube\.php\?do=rss' => 'media-rss/'
'^youtube_browser\.php' => 'youtube-browser/'
'^vbtube\.php' => 'media/'
 
Hi, Thank you so much up and running again.

I did try that code but found i needed to disable a the option mod_rewrite & htaccess in vBtube settings.

Thanks again! :D :D

Just found one issue I receive when i click on a category
The page isn't redirecting properly error in my browser some thing must be wrong with that rewriterule.

Any idea's or should i just contact VBtube.

Thanks
 
Last edited:
Hi
Sorry i did not get back to you sooner!
The error was just a browser message "page isn't redirecting properly" Most likely server 500 no other php error's in loges.

I did get a chance to play around with this issue and found if i comment out

'^youtube_browser\.php' => 'youtube-browser/'
'^vbtube\.php' => 'media/'

resolves the issue the youtube-browser and media will not wok with the query strings but work great without the rewrite rule.

Thank you
 
Try this instead:
Code:
'^youtube\_browser\.php$' => 'youtube-browser/'
'^vbtube\.php$' => 'media/'
 
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,190
Customer rating
5.00 star(s) 1 ratings
Back
Top