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

Question DBSEO htaccess file - confirm settings

Status
Not open for further replies.

mrklein

Customer
I'm replacing VBSEO and I want to confirm that my htaccess file will work correctly. Here it is:

# 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\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

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

#RewriteCond %{QUERY_STRING} !(dbseourl=|do=)
RewriteCond %{REQUEST_URI} !(memberlist|report|admincp/|modcp/|chat|cron|login|private|profile|register|search|subscription|moderation|calendar|newreply|newthread|inlinemod|newattachment|attachment|editpost|infraction|clientscript|psistats|misc|index|reputation|dbseocp.php)
# 16-SEP-2011: Inserted for kill switch
RewriteCond %{REQUEST_URI} !^/circuitbreaker(.*)$
# 10-AUG-2012: Added exception for forumrunner application
RewriteCond %{REQUEST_URI} !^/forumrunner(.*)$
# 22-AUG-2012: Added exception for dbtech for vbquiz assets
RewriteCond %{REQUEST_URI} !^/dbtech(.*)$
# 14-SEP-2012: Added exception for dbseo_sitemap
RewriteCond %{REQUEST_URI} !^/dbseo_sitemap(.*)$
RewriteRule ^(.*\.php)$ dbseo.php?dbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ dbseo.php?dbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ dbseo.php?dbseourl=$1 [L,QSA]

Thanks!
 
Code:
<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} !(memberlist|report|admincp/|modcp/|chat|cron|login|private|profile|register|search|subscription|moderation|calendar|newreply|newthread|inlinemod|newattachment|attachment|editpost|infraction|clientscript|psistats|misc|index|reputation|dbseocp.php)
	RewriteCond %{REQUEST_URI} !^/circuitbreaker(.*)$
	RewriteCond %{REQUEST_URI} !^/forumrunner(.*)$
	RewriteCond %{REQUEST_URI} !^/dbtech(.*)$
	RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
	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]
</IfModule>
 
Hello mrklein,

This ticket has now been closed with the status Answered.

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,190
Customer rating
5.00 star(s) 1 ratings
Back
Top