vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
New vBSEO Discount Level for Network Builders Meet vBSEO Team in New York (Nov. 3rd & 4th) vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Htaccess Problem

This is a discussion on Htaccess Problem within the Troubleshooting forums, part of the vBSEO SEO Plugin category; In the instructions it says: C. Upload the vBSEO .htaccess file (located in the 'htaccess' folder) to your forum root ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools
  #1  
Old 06-28-2008, 10:02 PM
Junior Member
 
Real Name: Colonel Ingus
Join Date: Jun 2008
Posts: 11
Question Htaccess Problem

In the instructions it says:

Quote:
C. Upload the vBSEO .htaccess file (located in the 'htaccess' folder) to your forum root folder.
However when we do this the entire site goes offline and when you try to access it all you get are server errors. How should we proceed to remedy this?

UPDATE: We just opened up the htaccess file and there is a lot of "yourdomain" paths. Are we supposed to edit this file to our domain first? The instructions said nothing about editing it...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-28-2008, 11:29 PM
Loco's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Brandon Sheley
Join Date: Oct 2005
Location: Kansas
Posts: 1,897
Blog Entries: 1
Send a message via AIM to Loco Send a message via MSN to Loco Send a message via Yahoo to Loco
Col,

those "yourdomain" are commented out with the #

did you have an .htaccess file before adding the vbseo .htaccess?
I've had to copy the vbseo htaccess info, and added it in with an existing htaccess file.. This may be your case as well.


-Brandon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-28-2008, 11:40 PM
Junior Member
 
Real Name: Colonel Ingus
Join Date: Jun 2008
Posts: 11
Red face

Quote:
Originally Posted by Loco View Post
did you have an .htaccess file before adding the vbseo .htaccess?
Hi Brandon. No we did not have one before.

I know it's the htaccess file causing the problem because as soon as I deleted it off the server, the forum automatically reappeared.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 06-29-2008, 01:31 AM
Michael Biddle's Avatar
vBSEO Staff
vBSEO Total Customer Support
 
Real Name: Michael Biddle
Join Date: Jan 2007
Location: Southern California
Posts: 2,898
Blog Entries: 5
Please post your htaccess here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 06-29-2008, 01:52 AM
Junior Member
 
Real Name: Colonel Ingus
Join Date: Jun 2008
Posts: 11
Smile

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 %{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]

We just noticed something while looking at the file. It mentions the admincp and modcp folders. We renamed our admin and mod folders. So where it says admincp should we change it to what our admin folder is called?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 06-29-2008, 02:03 AM
Michael Biddle's Avatar
vBSEO Staff
vBSEO Total Customer Support
 
Real Name: Michael Biddle
Join Date: Jan 2007
Location: Southern California
Posts: 2,898
Blog Entries: 5
Yes you can replace the admincp's with the new name of your directories. What errors is it showing when you put this online?

(Note, when a line starts with #, it is commented out, so the yourdomain part does not matter)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 06-29-2008, 04:22 AM
Junior Member
 
Real Name: Colonel Ingus
Join Date: Jun 2008
Posts: 11
Smile

It's a standard 500 server error. Click here to see it. Changing the admincp/modcp names on the htaccess file didn't seem to help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 06-29-2008, 09:55 PM
Loco's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Brandon Sheley
Join Date: Oct 2005
Location: Kansas
Posts: 1,897
Blog Entries: 1
Send a message via AIM to Loco Send a message via MSN to Loco Send a message via Yahoo to Loco
Might be best to open a Support ticket Col.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 06-29-2008, 10:06 PM
Ace Shattock's Avatar
vBSEO Staff
vBSEO Total Customer SupportCommunity Builder
 
Real Name: Ace Shattock
Join Date: Jul 2005
Location: New Zealand
Posts: 2,881
Smells like a lack of mod_rewrite functionality to me.. are you certain that mod_rewrite is enabled on your server, and that .htaccess is supported?
__________________
Ace Shattock / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 06-29-2008, 10:47 PM
Junior Member
 
Real Name: Colonel Ingus
Join Date: Jun 2008
Posts: 11
Lightbulb

According to this GoDaddy help article, yes, it should be fine:

Quote:
Mod_rewrite is an Apache web server module installed on all of our Linux severs by default; it does not have to be installed or enabled. Our Linux hosting accounts support most mod_rewrite functionality.Mod_rewrite is an Apache web server module installed on all of our Linux severs by default; it does not have to be installed or enabled. Our Linux hosting accounts support most mod_rewrite functionality.


You do not need to enable mod_rewrite in your httpd.conf, as this is handled at a global level. All you need to do is add the desired code to the body of your .htaccess file.
NOTE:The .htaccess file containing the rewrite rules must be in the same directory as the target files.
I am going to try to double check it now to confirm.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 06-30-2008, 01:24 AM
Joe Ward's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Joseph Ward
Join Date: Jun 2005
Location: Puerto Rico
Posts: 19,320
Blog Entries: 7
Try this:
[How to] Check if mod_rewrite is working for my site
__________________
Joe Ward / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 06-30-2008, 02:53 AM
Junior Member
 
Real Name: Colonel Ingus
Join Date: Jun 2008
Posts: 11
Unhappy

Thanks Joe

Just to be clear to make sure we did it right here is the htaccess file:

Code:
RewriteEngine on
RewriteRule testpage\.html http://www.google.com [R]

# 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]
And here is the result

I read somewhere in another thread about Go Daddy servers where the path could be wrong (it needs to be shorter). Could this be the cause?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 06-30-2008, 03:16 AM
Ace Shattock's Avatar
vBSEO Staff
vBSEO Total Customer SupportCommunity Builder
 
Real Name: Ace Shattock
Join Date: Jul 2005
Location: New Zealand
Posts: 2,881
Try it with just the following in it:

Code:
RewriteEngine on
RewriteRule testpage\.html http://www.google.com [R]
__________________
Ace Shattock / Crawlability Inc.
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 06-30-2008, 03:50 AM
Junior Member
 
Real Name: Colonel Ingus
Join Date: Jun 2008
Posts: 11
Red face

We tried that. It stayed the same
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 06-30-2008, 04:10 PM
Michael Biddle's Avatar
vBSEO Staff
vBSEO Total Customer Support
 
Real Name: Michael Biddle
Join Date: Jan 2007
Location: Southern California
Posts: 2,898
Blog Entries: 5
Hey Ingus, please open a ticket with admincp access, ftp, and your vbseocp password so we can try to get your board up and running.
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


Similar Threads

Thread Thread Starter Forum Replies Last Post
.htaccess problem inparadise Troubleshooting 8 02-04-2008 01:34 AM
htaccess problem trigon Deutsch 31 01-03-2008 01:32 PM
Problem with htaccess Hawork General Discussion 1 04-13-2007 09:23 PM
.htaccess problem right off eJM Custom Rewrite Rules 10 08-01-2006 11:27 PM
htaccess file problem / vbseo problem Bestgfe Troubleshooting 6 04-05-2006 10:21 AM


All times are GMT -4. The time now is 01:03 PM.


Powered by vBulletin Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.