vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - [DBTech] DragonByte SEO v2 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=308615)

Chadi 05-02-2014 03:16 AM

The 8way media mod stopped working (past the main page) after installing dbseo.

https://vborg.vbsupport.ru/showthread.php?t=240677

.htaccess for media

Code:

    # Media Library from Video Directory
    RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
    RewriteRule ^video\.php$ media.php?do=details&mid=%1
    RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+)
    RewriteRule ^video\.php$ media.php?do=category&cid=%1
    RewriteCond %{QUERY_STRING} viewuser&userid=(\d+)
    RewriteRule ^video\.php$ media.php?do=user&uid=%1
    RewriteCond %{QUERY_STRING} viewtag&tag=(.*)
    RewriteRule ^video\.php$ media.php?do=tag&tid=%1
    ReWriteRule ^video\.php$ media.php

Would appreciate an explanation on fixing this. If I click any video or category, it redirects to my home page.

bzcomputers 05-02-2014 03:37 AM

Quote:

Originally Posted by Chadi (Post 2495784)
The 8way media mod stopped working (past the main page) after installing dbseo.

https://vborg.vbsupport.ru/showthread.php?t=240677

.htaccess for media

Code:

    # Media Library from Video Directory
    RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
    RewriteRule ^video\.php$ media.php?do=details&mid=%1
    RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+)
    RewriteRule ^video\.php$ media.php?do=category&cid=%1
    RewriteCond %{QUERY_STRING} viewuser&userid=(\d+)
    RewriteRule ^video\.php$ media.php?do=user&uid=%1
    RewriteCond %{QUERY_STRING} viewtag&tag=(.*)
    RewriteRule ^video\.php$ media.php?do=tag&tid=%1
    ReWriteRule ^video\.php$ media.php

Would appreciate an explanation on fixing this. If I click any video or category, it redirects to my home page.

Try placing your video mod rewrite rules ABOVE the DBSEO rewrite rules in htaccess.

Let me know if that works.

Disco_Dave 05-02-2014 07:06 AM

Anyone know how I'd stop DBTech's Gallery mod reading like this:

PHP Code:

gallery/gallery/album/315-monster-reef-photos-easter-2014-

Would be nicer with just one gallery instead of gallery/gallery?

Using the Pro version of the Gallery and the lite version in DBseo

Spangle 05-02-2014 02:05 PM

Quote:

Originally Posted by Disco_Dave (Post 2495805)
Anyone know how I'd stop DBTech's Gallery mod reading like this:

PHP Code:

gallery/gallery/album/315-monster-reef-photos-easter-2014-

Would be nicer with just one gallery instead of gallery/gallery?

Using the Pro version of the Gallery and the lite version in DBseo


You've got a folder called gallery, inside a folder called gallery, and another folder called album inside that.
Just move album into the main gallery folder, then delete the second gallery folder.

Chadi 05-02-2014 09:33 PM

Not sure if this is related to dbseo or litespeed:

Anytime a member (even me as admin) tries to view their own profile it gives off this error:

This user has not registered and therefore does not have a profile to view.

I'm logged in however.

I removed those 2 lines. However, now anytime a member (even me as admin) tries to view their own profile it gives off this error:

This user has not registered and therefore does not have a profile to view.


I'm logged in however.


EDIT / UPDATE:

I moved some stuff around and now profile works, but the 8way media is not working (clicking videos or categories takes me to the forum home page)

Code:

RewriteEngine On

RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.talkjesus\.com
RewriteRule (.*)  http://www.talkjesus.com/$1 [L,R=301]

RewriteCond %{REQUEST_URI} !(adminXXXX/|modsXXXX/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ dbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(adminXXXX|modsXXXX|clientscript|cpstyles|images|gallery)/
RewriteRule ^(.+)$ dbseo.php [L,QSA]

## Rewrites
<ifmodule mod_rewrite.c>
    RewriteEngine on
    Options +FollowSymlinks

    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]

    # Media Library
    ReWriteRule ^media/m(\d+).*/tags$ media.php?do=tags_edit&mid=$1 [QSA]
    ReWriteRule ^media/m(\d+).*/edit$ media.php?do=details_edit&mid=$1 [QSA]
    ReWriteRule ^media/m(\d+).*/report$ media.php?do=report&mid=$1 [QSA]
    ReWriteRule ^media/m(\d+).*/c(\d+)$ media.php?do=comment_edit&cmt=$2 [QSA]
    ReWriteRule ^media/m(\d+).*/p(\d+).*$ media.php?do=details&mid=$1&pid=$2 [QSA]
    ReWriteRule ^media/m(\d+).* media.php?do=details&mid=$1 [QSA]
    ReWriteRule ^media/p(\d+).*/edit$ media.php?do=playlist_edit&pid=$1 [QSA]
    ReWriteRule ^media/p(\d+).* media.php?do=playlist&pid=$1 [QSA]
    ReWriteRule ^media/c(\d+).* media.php?do=category&cid=$1 [QSA]
    ReWriteRule ^media/u(\d+).* media.php?do=user&uid=$1 [QSA]
    ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$1 [QSA]
    ReWriteRule ^media/results/(.*) media.php?do=results&query=$1 [QSA]
    ReWriteRule ^media/advresults/(.*) media.php?do=advresults&query=$1 [QSA]
    ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$1 [QSA]
    ReWriteRule ^media/browse.* media.php?do=browse [QSA]
    ReWriteRule ^media/search.* media.php?do=search [QSA]
    ReWriteRule ^media/random.* media.php?do=random [QSA]
    ReWriteRule ^media/submit.* media.php?do=submit [QSA]
    ReWriteRule ^media/tagcloud.* media.php?do=tagcloud [QSA]
    ReWriteRule ^media/playlists.* media.php?do=playlists [QSA]
    ReWriteRule ^media/pcreate.* media.php?do=playlists_create [QSA]
    ReWriteRule ^media/pmine.* media.php?do=playlists_mine [QSA]
    ReWriteRule ^media/favorites.* media.php?do=favorites [QSA]
    ReWriteRule ^media/subscriptions.* media.php?do=subscriptions [QSA]
    ReWriteRule ^media/admin/edit/s(\d+).* media.php?do=admin_host_edit&sid=$1 [QSA]
    ReWriteRule ^media/admin/delete/s(\d+).* media.php?do=admin_host_delete&sid=$1 [QSA]
    ReWriteRule ^media/admin/export/s(\d+).* media.php?do=admin_host_export&sid=$1 [QSA]
    ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$1 [QSA]

    # Media Library from Video Directory
    RewriteCond %{QUERY_STRING} do=viewdetails&videoid=(\d+)
    RewriteRule ^video\.php$ media.php?do=details&mid=%1
    RewriteCond %{QUERY_STRING} viewcategory&categoryid=(\d+)
    RewriteRule ^video\.php$ media.php?do=category&cid=%1
    RewriteCond %{QUERY_STRING} viewuser&userid=(\d+)
    RewriteRule ^video\.php$ media.php?do=user&uid=%1
    RewriteCond %{QUERY_STRING} viewtag&tag=(.*)
    RewriteRule ^video\.php$ media.php?do=tag&tid=%1
    ReWriteRule ^video\.php$ media.php

    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    ReWriteRule ^entries/.* entry.php [QSA]

    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]

    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
   
</ifmodule>

## Expires
<ifModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType text/css "access plus 1 year"
    ExpiresByType text/javascript "access plus 1 year"
    ExpiresByType application/javascript "access plus 1 year"
    ExpiresByType application/x-javascript "access plus 1 year"
</ifModule>

#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>

RewriteCond %{HTTP_HOST} ^talkjesus\.org$ [OR]
RewriteCond %{HTTP_HOST} ^www\.talkjesus\.org$
RewriteRule ^/?$ "http\:\/\/www\.talkjesus\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^talkjesus\.co\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.talkjesus\.co\.uk$
RewriteRule ^/?$ "http\:\/\/www\.talkjesus\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^talkjesus\.us$ [OR]
RewriteCond %{HTTP_HOST} ^www\.talkjesus\.us$
RewriteRule ^/?$ "http\:\/\/www\.talkjesus\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^talkjesus\.info$ [OR]
RewriteCond %{HTTP_HOST} ^www\.talkjesus\.info$
RewriteRule ^/?$ "http\:\/\/www\.talkjesus\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^talkjesus\.mobi$ [OR]
RewriteCond %{HTTP_HOST} ^www\.talkjesus\.mobi$
RewriteRule ^/?$ "http\:\/\/www\.talkjesus\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^talkjesus\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.talkjesus\.net$
RewriteRule ^/?$ "http\:\/\/www\.talkjesus\.com\/" [R=301,L]
<Files 403.shtml>
order allow,deny
allow from all
</Files>


DragonByte Tech 05-02-2014 09:48 PM

Quote:

Originally Posted by 6piston (Post 2495640)
I installed product but site suddenly runs incredibly slow. Disable is dbseo, htaccess add the code, after start slowing down. problem is dbseo htaccsess code :(

This product may not run on all servers, especially shared hosts that limit resources in a big way. You can enable Datastore caching in config.php if your server supports it to reduce the resource usage.

Quote:

Originally Posted by Disco_Dave (Post 2495805)
Anyone know how I'd stop DBTech's Gallery mod reading like this:

PHP Code:

gallery/gallery/album/315-monster-reef-photos-easter-2014-

Would be nicer with just one gallery instead of gallery/gallery?

Using the Pro version of the Gallery and the lite version in DBseo

Quote:

Originally Posted by Spangle (Post 2495833)
You've got a folder called gallery, inside a folder called gallery, and another folder called album inside that.
Just move album into the main gallery folder, then delete the second gallery folder.

That will happen because "Gallery" is the name of the review instance. It cannot be omitted.


@ issues with various media mods: We cannot guarantee compatibility with 3rd party modifications that also use .htaccess. The Pro version has the ability to add custom rewrite rules, which may be required if shifting .htaccess position does not work.


Fillip

DragonByte Tech 05-02-2014 09:52 PM

DragonByte SEO v1.0.14

Changes To Existing Features:
  • Meta Keywords are now also built based on keywords from the first post in the thread

Bug Fixes And Issue Fixes:
  • (vB3) Fixed an issue with the forum exclusion drop-down


Fillip

jjohns12 05-02-2014 11:30 PM

Quote:

Originally Posted by Disco_Dave (Post 2495805)
Anyone know how I'd stop DBTech's Gallery mod reading like this:

PHP Code:

gallery/gallery/album/315-monster-reef-photos-easter-2014-

Would be nicer with just one gallery instead of gallery/gallery?

Using the Pro version of the Gallery and the lite version in DBseo

Had the same issue looked into and found if you go to:

1) Instance Management and click edit
2) Go to Short Name and rename to what you want

Yes its used to tell vB what tab you are on the 2nd gallery will be whatever you named it!

Worked for me :D

vinku 05-03-2014 04:48 AM

plz reply to my question too?

when i use ur services to install, do you apply best seo practice?

Disco_Dave 05-03-2014 02:49 PM

Quote:

Originally Posted by Spangle (Post 2495833)
You've got a folder called gallery, inside a folder called gallery, and another folder called album inside that.
Just move album into the main gallery folder, then delete the second gallery folder.


I don't have two gallery folders, this is why I asked. Thanks.....


All times are GMT. The time now is 01:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01909 seconds
  • Memory Usage 1,800KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete