Bug 404 with new DBSEO .htaccess

Status
Not open for further replies.

Actualidad tma

Customer
Hi.

I'm installing DBseo following steps in the readme.txt and vbseo import.txt

When I paste the new .htaccess code from DBseo to my old .htaccess, I get this 404 error in the whole site. AdminCP and DBseoCP work.

Code:
Not Found
The requested URL /kunden/homepages/36/d686759195/htdocs/tmas/foro/dbseo.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

This is the .htaccess that makes my site crash (I have commented out the files about vbseo as readme says).

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 /foro/

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

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

#RewriteCond %{REQUEST_URI} !(CUSTOM ADMINCP/|CUSTOM MODCP/|cron|vbseo_sitemap|api\.php)
#RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !/(CUSTOM ADMINCP|CUSTOM MODCP|clientscript|cpstyles|images)/
#RewriteRule ^(.+)$ vbseo.php [L,QSA]

RewriteEngine On

# If you are having problem with "None Could Be Negotiated" errors in Apache, uncomment this to turn off MultiViews
# Options -MultiViews

RewriteCond %{QUERY_STRING} !dbseourl=
RewriteCond %{REQUEST_URI} !(CUSTOM ADMINCP/|dbseocp/|CUSTOM MODCP/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
RewriteRule ^(.*\.php)$ dbseo.php?dbseourl=$1 [L,QSA]

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

Any help? Thanks.

PS: I assume I have to modify the .htaccess located at /forum/
 
It works! Thanks.

Now: when trying to access www.mysite.es/foro/, it redirects me to www.mysite.es

I don't know if the problem is that the folder is named "foro" instead of "forum" I have looked into DBSeo options and saw nothing about it.

One more problem:
One of my subforum url have changed from http.mysite.es/foro/subforum/name-of-thread.html to http.mysite.es/foro/subforum-a/name-of-thread.html

Why that -a is added to the url? It only happens in that subforum.

Thanks!
 
Now: when trying to access www.mysite.es/foro/, it redirects me to www.mysite.es
Make sure you've set the correct forum home URL in the settings, and that your RewriteBase is set correctly.

One more problem:
One of my subforum url have changed from http.mysite.es/foro/subforum/name-of-thread.html to http.mysite.es/foro/subforum-a/name-of-thread.html

Why that -a is added to the url? It only happens in that subforum.
Because the forum's name ends in a number. This is working as intended and is not something that will ever be optional.
 
Make sure you've set the correct forum home URL in the settings, and that your RewriteBase is set correctly.

Hello Bellazor.

I've checked all DBseo options and I haven't seen any specific value for entering the correct forum home url. Where do you mean?

It happens in the very first moment I activate DBseo product - even with the old .htaccess - and /foro/ url works again when I deactivate again the product.

http://www.xxx.es/foro/forum.php redirects to http://www.xxx.es/index.php

I'm sorry but I'm lost!
 
Last edited:
By the way, after moving to DBseo, it is safe to remove old vbseo files? I would like to get rid of those outdated files who might have security problems. Thanks.
 
Hello Bellazor.

I've checked all DBseo options and I haven't seen any specific value for entering the correct forum home url. Where do you mean?
in the global vBulletin options, there’s a setting for board URL that needs to be set correctly.
By the way, after moving to DBseo, it is safe to remove old vbseo files? I would like to get rid of those outdated files who might have security problems. Thanks.
It is, yeah :)
 
Hi again,

Global vBulletin options have always been set correctly. I have already fix it and this was the problem:

Dbseo control panel -> URL Rewrite Settings -> General Rewrite Settings -> Force Forum Directory Index (Set to NO). Now the redirection to index.php is gone and forum.php is back.

One more doubt:

Are these f and p before the available variables correct?

sy0WJSy.png


Thanks!
 
Hello @Actualidad tma,

We hope your ticket regarding DragonByte SEO has been addressed to your satisfaction. This ticket has now been closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

Legacy DragonByte SEO

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