vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Customer Account Tools vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! vBSEO Helps Forum Earn $100/day from Google AdSense Discover the Power of "Long Tail Search" Crawlability Inc. Files for SEO Technology Patent
se sw

Some .htaccess questions

This is a discussion on Some .htaccess questions within the Pre-Sales Questions forums, part of the Announcements & Pre-Sales category; Hi, just thinking of making a purchase, I wanted to check there wouldn't be any clashes with my existing set ...

Go Back   vBulletin SEO Forums > Announcements & Pre-Sales > Pre-Sales Questions

Enhancing 80 million pages.

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-06-2008, 06:49 AM
Junior Member
 
Real Name: David
Join Date: Mar 2008
Posts: 1
Some .htaccess questions

Hi, just thinking of making a purchase, I wanted to check there wouldn't be any clashes with my existing set up. Firstly, my forum lives in the /forums/ directory of the site, there's no .htaccess in the root forum folder.

In the root of the domain I already have a .htaccess file that's pointing the pointing the www to the non www version of the site and also a redirect of a section to another section thus:

Code:
RewriteEngine On

Options +FollowSymLinks
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^site\.co.uk$
RewriteRule (.*) http://site.co.uk/$1 [R=301,L]

Redirect permanent /example http://site.co.uk/example/2005
Now, I know a lot of people use similar .htaccess files, but I was wondering if that would pose any problems for vBseo, and if it would continue to forward the www to the non www within the /forums/ folder?

Also, I have modcp and admincp folders password protected - will vbseo interfere with them in any way?

I must point out rewrites and .htaccess files are a bit of a mystery to me so if these questions seem a bit dull, my apologies!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-06-2008, 07:12 AM
Mert Gökçeimam's Avatar
vBSEO Moderator
vBSEO Total Customer SupportDesign for SEO
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 6,161
Blog Entries: 2
Send a message via MSN to Mert Gökçeimam
Hello David ,

Your .htaccess will not cause any trouble at all. Here is the default .htaccess content that comes with vBSEO. As you can see it will not be a problem at all

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 /

#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 %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

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

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Wordpress htaccess + vbseo htaccess chris06 URL Rewrite Settings 1 11-01-2007 11:56 AM
3 questions.. butty vBSEO.com 1.0 Style 5 10-05-2007 02:04 AM
.htaccess in forum root w/ exisiting .htaccess? OttoBomb Troubleshooting 5 07-03-2007 03:45 PM
htaccess questions chrisj8221 Troubleshooting 5 09-07-2006 10:22 AM
Some questions Dactyl Pre-Sales Questions 2 12-26-2005 12:16 PM


All times are GMT -4. The time now is 11:15 PM.


Powered by vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.