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)

DragonByte Tech 05-22-2016 05:59 PM

Quote:

Originally Posted by tuRiver (Post 2571172)
Where can i get the "Authentication Code
Enter the authentication code received from Google here." from google?

Make sure your browser is set to allow popups from your domain, as the previous form should have opened a new tab where you're asked to authorise via your Google account. At the end of this authorisation, you'll be given the code :)


Fillip

dariyos 05-23-2016 06:30 AM

how to exclude search.php with no search results from sitemap?

Google Webmastertools (search console) shows links from search.php with no search results.
these are deadlinks with status code 404 - "Not found"

Links like:

http://www.sps-forum.de/search.php?searchid=5744456
http://www.sps-forum.de/search.php?searchid=2889119
http://www.sps-forum.de/search.php?searchid=2993290

These links should not be crawled, only links WITH a search result.

how to handle that?

dariyos 05-24-2016 05:09 AM

Hello,

how to rewrite URLs like this:

http://www.sps-forum.de/showthread.p...mit-VB-Script=

when you open the link there is "Thread not found"

But the URL exist:

http://www.sps-forum.de/faq/15348-pr...vb-script.html


All links with "showthread.php?" shows this wrong message.

how can I rewrite these showthread links, also?

DragonByte Tech 05-24-2016 07:51 PM

Quote:

Originally Posted by dariyos (Post 2571193)
how to exclude search.php with no search results from sitemap?

Google Webmastertools (search console) shows links from search.php with no search results.
these are deadlinks with status code 404 - "Not found"

Links like:

http://www.sps-forum.de/search.php?searchid=5744456
http://www.sps-forum.de/search.php?searchid=2889119
http://www.sps-forum.de/search.php?searchid=2993290

These links should not be crawled, only links WITH a search result.

how to handle that?

It is impossible to have them as links with a search result, as search results expire after a certain amount of time and all information is deleted.

I would recommend editing your robots.txt file and setting search.php as being disallowed :)

Quote:

Originally Posted by dariyos (Post 2571245)
Hello,

how to rewrite URLs like this:

http://www.sps-forum.de/showthread.p...mit-VB-Script=

when you open the link there is "Thread not found"

But the URL exist:

http://www.sps-forum.de/faq/15348-pr...vb-script.html


All links with "showthread.php?" shows this wrong message.

how can I rewrite these showthread links, also?

You will need to disable vBulletin's Friendly URL library in order for DBSEO to work as intended.


Fillip

dariyos 05-25-2016 05:46 AM

Quote:

Originally Posted by DragonByte Tech (Post 2571284)
You will need to disable vBulletin's Friendly URL library in order for DBSEO to work as intended.

how to do that?

these are my settings:

vBulletin Settings -> Friendly Urls -> URL Type -> Standard URLs

vBulletin Settings -> Friendly Urls -> Enforce Canonical URL -> OFF

vBulletin Settings -> Friendly Urls -> Enforce Canonical URL for Registered Users -> YES

vBulletin Settings -> Friendly Urls -> Friendly URL Unicode -> Ignore

vBulletin Settings -> Friendly Urls -> NCR Encode UTF-8 URLs for IE -> No

vBulletin Settings -> Friendly Urls -> Standard URL Routing Variable -> r


The Problem is the "="-Character in the end of the links, when i remove this "=" the link will work:

With "="
http://www.sps-forum.de/showthread.p...mit-VB-Script=
Without "="
http://www.sps-forum.de/showthread.p...-mit-VB-Script

But the rewrited link is:
http://www.sps-forum.de/faq/15348-pr...vb-script.html


EDIT:

I found also links like this:

http://www.sps-forum.de/showthread.p...-Integer/page5

Code:

Warnung (PHP Warning): file_exists(): open_basedir restriction in effect. File(....//showthread.php/17309-Char-umwandeln-in-Integer) is not within the allowed path(s): (/www/htdocs/w00665de/:/tmp:/usr/bin:/www/htdocs/w00665de:/bin:/usr/local/bin:/usr/share/php:/dev/urandom) in ..../dbtech/dbseo/hooks/init_startup.php (Zeile 82)

Warnung (PHP Warning): Cannot modify header information - headers already sent by (output started at ..../includes/class_core.php:5801) in ..../includes/functions.php (Zeile 4381)

This is very bad ...

This is the rewrited link I found with the forum search:

http://www.sps-forum.de/simatic/1730...n-integer.html

This is my .htacess file:

Code:


# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.sps-forum\.de
#RewriteRule (.*) http://www.sps-forum.de/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ dbseo_sitemap/dbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|images|reviewpost|classifieds|photopost)/
RewriteRule ^(.+)$ dbseo.php [L,QSA]

RewriteEngine On
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ dbseo_sitemap/dbseo_getsitemap.php?sitemap=$1 [L]

I have installed the version DB SEO v2.0.19

should I update it to v2.0.31 ?

What's new?

after updating the version in my testforum-> same problem.

DragonByte Tech 05-27-2016 10:42 PM

Can you try editing /dbtech/dbseo/hooks/init_startup.php and find
PHP Code:

$_SERVER['DBSEO_FILE'] = isset($matches[1]) ? (file_exists($matches[1]) ? $matches[1] : '') : ''

replace with
PHP Code:

$_SERVER['DBSEO_FILE'] = isset($matches[1]) ? (@file_exists($matches[1]) ? $matches[1] : '') : ''

And let me know if that works for you?


Fillip

dariyos 05-30-2016 04:50 AM

still not work:

Code:

Warnung (PHP Warning): file_exists(): open_basedir restriction in effect. File(....//showthread.php/17309-Char-umwandeln-in-Integer) is not within the allowed path(s): (/www/***/***/:/tmp:/usr/bin:/www/***/***:/bin:/usr/local/bin:/usr/share/php:/dev/urandom) in ..../dbtech/dbseo/hooks/init_startup.php (Zeile 82)

tuRiver 05-30-2016 10:14 AM

In vbseo i was using $_SERVER[VBSEO_URI]} to get the URL for sharing purposes, what can i use here?

DragonByte Tech 05-30-2016 01:35 PM

Quote:

Originally Posted by dariyos (Post 2571451)
still not work:

Code:

Warnung (PHP Warning): file_exists(): open_basedir restriction in effect. File(....//showthread.php/17309-Char-umwandeln-in-Integer) is not within the allowed path(s): (/www/htdocs/w00665de/:/tmp:/usr/bin:/www/htdocs/w00665de:/bin:/usr/local/bin:/usr/share/php:/dev/urandom) in ..../dbtech/dbseo/hooks/init_startup.php (Zeile 82)

Can you show me what's on line 82 just so I'm sure I have the right area?

Quote:

Originally Posted by tuRiver (Post 2571459)
In vbseo i was using $_SERVER[VBSEO_URI]} to get the URL for sharing purposes, what can i use here?

Sorry, what do you mean sharing purposes?


Fillip

DragonByte Tech 05-30-2016 08:42 PM

DragonByte SEO v2.0.32

Bug Fixes:
  • An issue where remote titles containing a zero would omit the zero has been resolved


DragonByte SEO v2.0.33

Bug Fixes:
  • Fixed an issue where page 2 of blog entry comments would not load correctly
  • Fixed an issue where not using user IDs in member URLs could cause a DB error


Fillip


All times are GMT. The time now is 09:28 AM.

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.02601 seconds
  • Memory Usage 1,767KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)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