vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   .htaccess problem (https://vborg.vbsupport.ru/showthread.php?t=253553)

bb911s 11-12-2010 02:41 PM

.htaccess problem
 
I have 3 sites 1 wordpress, 1 vbulletin, 1 website everything was working fine for months nothing was changed suddenly the blog started throwing a 404, the vbulletin was fine the website was fine. Server tech support traced to .htaccess which has vbseo code in it. Whenever I activate the .htaccess with the vbseo the blog throws a 404 and the sitemap gets generated and sent to search engines, when I put in the simplified .htaccess the blog and everything works fine however no search engine submittal. "Nothing was manually changes to cause this I am totaly lost and server side is not familiar with vbseo! HELP Please Cut and paste of 2 .htaccess files below. Thanks to anyone for ideas on how to solve.
vbseo version"
AddType x-mapp-php5 .php
# 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
RewriteCond %{HTTP_COOKIE} _bb_welcome
RewriteRule .* - [F]
# 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\.mysiteforums\.com
RewriteRule (.*) http://www.mysiteforums/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|vbseo_sitemap)
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]

Short version:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysiteforums.com [NC]
RewriteRule ^(.*)$ http://www.mysiteforums.com [L,R=301]
RewriteRule testpage\.html http://www.google.com [R]
AddType x-mapp-php5 .php
Options +FollowSymLinks
Thanks,
bb

FreshFroot 11-14-2010 04:48 AM

I think you should ask this at vBseo in the forums. They have great knowledge of this stuff.

I know I have vBSEO and sometimes I have random problems like this once in a blue moon.


All times are GMT. The time now is 03:06 PM.

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.01002 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete