PDA

View Full Version : vBSEO & .htaccess file problem


Harmachis
01-29-2009, 12:40 PM
Im facing a strange problem.

I installed vBSEO 3.2 few days ago. i need to edit my .htaccess file (before that it was blank)

i added this code there:

# 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)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

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

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



before, when i (or someone) reply to a thread it autometically add below the last post (page not refrash) well its the default vBulletin system....

but after adding those code at .htaccess file...now when i reply the showthread page refrash autometically, then show me: Thanks for posting, if you add poll, it.....blah blah & then autometically redirect & the thread open

well, what should i do now?

punchbowl
01-29-2009, 12:42 PM
<a href="http://www.vbseo.com" target="_blank">www.vbseo.com</a>

snakes1100
01-29-2009, 12:44 PM
You should post at the vbseo site for support as punchbowl stated, but if what you posted is actually in your htaccess file, remove the top line as its a duplicate.

Harmachis
01-29-2009, 02:02 PM
You should post at the vbseo site for support as punchbowl stated, but if what you posted is actually in your htaccess file, remove the top line as its a duplicate.

ya. im sure its .htaccess problem

what do u mean by top line ?

snakes1100
01-29-2009, 02:32 PM
What was in your first post was changed, you had a duplicate line of code there earlier.

The rewrite code looks correct now.

If the issue goes away after you disable vbseo via the product manager and removing the htaccess code, then you need to go post at vbseo.com and request support of their products.

veenuisthebest
01-29-2009, 02:36 PM
Its a bug in vbseo with vbulletin 3.7.5 and 3.8.x, get the patched vbseo.php at the official site.

freewilley
01-29-2009, 06:39 PM
yes I am sure that should solve the problem..

Harmachis
01-30-2009, 03:47 AM
oops sorry. i look at vbseo.com & found the solve

actually i need to install the patch for vb 3.8.x

& it working fine now