• Support will be limited until May 8th, as I will be out of the office travelling. Thank you for your patience and understanding.

Bug Redirect issue when posting

Status
Not open for further replies.

1quicksi

Customer
For some off reason, all of a sudden all posts or replies that are made look to be handled as a 404 and get redirected back to the sites home page.

For example post here:
OT: What's up with Hostboard?

Brings you here, but you end up on the sites home page.
http://www.hostboard.com/forums/#post1971778

I think this is a 404 redirect issue where DBSEO does not see that post/thread number and thinks the page does not exist so it brings you back to the home page… This happens on every thread/post on the site. Please help...
 
Not sure what I am looking for a you guys did the install. It was an upgrade from VBSEO but has been running flawlessly for many many moons...

PHP:
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Set to vbulletin directory
  RewriteBase /forums/

  # Retrieve gamedata requests and send to new dbtech locations
  RewriteRule ^arcade/gamedata/(.*) dbtech/vbarcade/media/$1 [L]

  # Retrieve crossdomain requests and send to new dbtech location
  RewriteRule ^crossdomain\.xml dbtech/vbarcade/crossdomain.xml [L]

  # Send hardcoded legacy scores to arcade instead
  RewriteCond %{REQUEST_URI} newscore\.php [OR]
  RewriteCond %{REQUEST_URI} viewgame\.php
  RewriteRule .* arcade.php?sendscore=legacy [L,QSA]

  # Send hardcoded legacy scores to arcade instead
  RewriteCond %{QUERY_STRING} func=storeScore [OR]
  RewriteCond %{QUERY_STRING} autocom=arcade [OR]
  RewriteCond %{QUERY_STRING} act=arcadelib [OR]
  RewriteCond %{QUERY_STRING} act=Arcade
  RewriteRule .* arcade.php [L,QSA]

  # Reroute v3arcade liveinstaller
  RewriteCond %{QUERY_STRING} do=liveinstall
  RewriteCond %{REQUEST_URI} v3arcade_admin\.php

  # If you renamed your admincp directory, change it here
  RewriteRule .* %{DOCUMENT_ROOT}/management/arcade_admin.php?%{QUERY_STRING}&do=review&import=browse&system=v3a [L,R=301]
</IfModule>
Options -Indexes

<IfModule mod_rewrite.c>
	RewriteEngine On

	# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
	# RewriteBase /

	# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
	# Options -MultiViews

	RewriteCond %{REQUEST_URI} !(awcoding/|groups/|tags/|cron|vbseo_sitemap|store_sitemap|management/|modcp/|dbseocp/|clientscript/|cpstyles/|images/|authors/|members/|content/|blogs/|avatars/|\.php|\.html|\.gif|\.jpe?g|\.png|\.js|\.css|\.xml)
	RewriteCond %{QUERY_STRING} !(noredirect)
	RewriteRule ([^/]+)/$ /forums/bookmark_redirect.php?forum_name=$1 [L]

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

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

	# hot-linking..
	#RewriteCond %{HTTP_REFERER} !^$
	#RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?hostboard\. [nc]
	#RewriteRule ^(.*)\.(gif|jpe?g|png)$ http://%{HTTP_HOST}/forums/hotlink.php?url=$1.$2 [R,NC,L]

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

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

	#RewriteCond %{REQUEST_FILENAME} !-f
	#RewriteCond %{REQUEST_FILENAME} !-d
	#RewriteCond %{REQUEST_FILENAME} !/(management|modcp|clientscript|cpstyles|images)/
	#RewriteRule ^(.+)$ vbseo.php [L,QSA]
</IfModule>
 
Uh yeah, someone modified the file and replaced dbseo.php references with wiki_index.php references.

You should speak to whoever made that change and ask them not to edit those entries.
 
There has been no one in the system and the only thing I can think of is I did update the Wiki software but only ran the auto installer. Anyways with my limited knowledge and your hand holding I changed it to this... Just want to make sure it is correct before I put it into production... If not I'll have to pay you to fix it... PM me in that case...

PHP:
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Set to vbulletin directory
  RewriteBase /forums/

  # Retrieve gamedata requests and send to new dbtech locations
  RewriteRule ^arcade/gamedata/(.*) dbtech/vbarcade/media/$1 [L]

  # Retrieve crossdomain requests and send to new dbtech location
  RewriteRule ^crossdomain\.xml dbtech/vbarcade/crossdomain.xml [L]

  # Send hardcoded legacy scores to arcade instead
  RewriteCond %{REQUEST_URI} newscore\.php [OR]
  RewriteCond %{REQUEST_URI} viewgame\.php
  RewriteRule .* arcade.php?sendscore=legacy [L,QSA]

  # Send hardcoded legacy scores to arcade instead
  RewriteCond %{QUERY_STRING} func=storeScore [OR]
  RewriteCond %{QUERY_STRING} autocom=arcade [OR]
  RewriteCond %{QUERY_STRING} act=arcadelib [OR]
  RewriteCond %{QUERY_STRING} act=Arcade
  RewriteRule .* arcade.php [L,QSA]

  # Reroute v3arcade liveinstaller
  RewriteCond %{QUERY_STRING} do=liveinstall
  RewriteCond %{REQUEST_URI} v3arcade_admin\.php

  # If you renamed your admincp directory, change it here
  RewriteRule .* %{DOCUMENT_ROOT}/management/arcade_admin.php?%{QUERY_STRING}&do=review&import=browse&system=v3a [L,R=301]
</IfModule>
Options -Indexes

<IfModule mod_rewrite.c>
	RewriteEngine On

	# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
	# RewriteBase /

	# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
	# Options -MultiViews

	RewriteCond %{REQUEST_URI} !(awcoding/|groups/|tags/|cron|vbseo_sitemap|store_sitemap|management/|modcp/|dbseocp/|clientscript/|cpstyles/|images/|authors/|members/|content/|blogs/|avatars/|\.php|\.html|\.gif|\.jpe?g|\.png|\.js|\.css|\.xml)
	RewriteCond %{QUERY_STRING} !(noredirect)
	RewriteRule ([^/]+)/$ /forums/bookmark_redirect.php?forum_name=$1 [L]

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

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

	# hot-linking..
	#RewriteCond %{HTTP_REFERER} !^$
	#RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?hostboard\. [nc]
	#RewriteRule ^(.*)\.(gif|jpe?g|png)$ http://%{HTTP_HOST}/forums/hotlink.php?url=$1.$2 [R,NC,L]

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

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

	#RewriteCond %{REQUEST_FILENAME} !-f
	#RewriteCond %{REQUEST_FILENAME} !-d
	#RewriteCond %{REQUEST_FILENAME} !/(management|modcp|clientscript|cpstyles|images)/
	#RewriteRule ^(.+)$ vbseo.php [L,QSA]
</IfModule>
 
Try changing the contents of the .htaccess file to this:
Code:
Options -Indexes

<IfModule mod_rewrite.c>
	RewriteEngine on

	# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
	# Options -MultiViews

	# Set to vbulletin directory
	RewriteBase /forums/

	# Retrieve gamedata requests and send to new dbtech locations
	RewriteRule ^arcade/gamedata/(.*) dbtech/vbarcade/media/$1 [L]

	# Retrieve crossdomain requests and send to new dbtech location
	RewriteRule ^crossdomain\.xml dbtech/vbarcade/crossdomain.xml [L]

	# Send hardcoded legacy scores to arcade instead
	RewriteCond %{REQUEST_URI} newscore\.php [OR]
	RewriteCond %{REQUEST_URI} viewgame\.php
	RewriteRule .* arcade.php?sendscore=legacy [L,QSA]

	# Send hardcoded legacy scores to arcade instead
	RewriteCond %{QUERY_STRING} func=storeScore [OR]
	RewriteCond %{QUERY_STRING} autocom=arcade [OR]
	RewriteCond %{QUERY_STRING} act=arcadelib [OR]
	RewriteCond %{QUERY_STRING} act=Arcade
	RewriteRule .* arcade.php [L,QSA]

	# Reroute v3arcade liveinstaller
	RewriteCond %{QUERY_STRING} do=liveinstall
	RewriteCond %{REQUEST_URI} v3arcade_admin\.php

	# If you renamed your admincp directory, change it here
	RewriteRule .* %{DOCUMENT_ROOT}/management/arcade_admin.php?%{QUERY_STRING}&do=review&import=browse&system=v3a [L,R=301]

	# hot-linking..
	#RewriteCond %{HTTP_REFERER} !^$
	#RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?hostboard\. [nc]
	#RewriteRule ^(.*)\.(gif|jpe?g|png)$ http://%{HTTP_HOST}/forums/hotlink.php?url=$1.$2 [R,NC,L]

	RewriteCond %{REQUEST_URI} !(awcoding/|groups/|tags/|cron|vbseo_sitemap|store_sitemap|management/|modcp/|dbseocp/|clientscript/|cpstyles/|images/|authors/|members/|content/|blogs/|avatars/|\.php|\.html|\.gif|\.jpe?g|\.png|\.js|\.css|\.xml)
	RewriteCond %{QUERY_STRING} !(noredirect)
	RewriteRule ([^/]+)/$ /forums/bookmark_redirect.php?forum_name=$1 [L]

	RewriteCond %{QUERY_STRING} !dbseourl=
	RewriteCond %{REQUEST_URI} !(management/|dbseocp/|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} !/(management|dbseocp|modcp|clientscript|cpstyles|images|reviewpost|classifieds|photopost)/
	RewriteRule ^(.+)$ dbseo.php [L,QSA]
</IfModule>
 
When ever I click on a post's link now it throws me back to the home page. Replying to a thread also still sends me back to the home page.
 
Could you please create and PM me with a temporary FTP and AdminCP account?

For security reasons, we recommend you create a new FTP account only for DBTech support, then disable or delete it after we have both confirmed the issue has been solved and there are no further issues.

The same applies to AdminCP accounts; they should ideally be temporary accounts created for us only. If we have created an account on your site already, you can optionally boost that account to Administrator and then de-admin this account once the issue has been solved.

If you use a .htaccess password protection for your AdminCP directory, it is recommended that you create a new authorised user for DBTech and remove this user once the issue has been solved.

Please test any temporary accounts you create to ensure that the FTP account has access to the forum files, and that the AdminCP account can access the administrative controls for the product we are assisting you with.

Ensuring this is all in order before submitting the information will significantly speed up the process of assisting you. We will alert you via PM if there's any issues with the login information you have provided.

When sending the PM, for your security you should also un-tick the "Save a copy in my Sent Items folder" checkbox. When the access details have been received, we will delete the PM from our inbox. Ensuring you have not kept a copy of the PM reduces the risk of security breaches.

Thank you for helping us debug our products and allowing us to assist you, we appreciate it :D
 
Hello 1quicksi,

This ticket has now been closed with the status Not A Bug.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
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