MyBB Community Forums

Full Version: Need HELP with .htaccess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys - need help with a problem I'm having. Everything was working just dandy until I added and installed Google SEO 1.6 Plugin. Since then, my home page "www.thenerdlounge.com" has resulted in a "Site Not Found". What's interesting is that I have a redirect installed via CPanel that sends TheNerdLounge.com --> TheNerdLounge.com/Forum/portal.php . All the sudden, that redirect is not taking place.... probably has something to do with the edits to .htaccess I had to make.

SO, to go over again,...

1) Redirect is IN PLACE sending TheNerdLounge.com -> TheNerdLounge.com/Forum/portal.php , but is no longer working

2) I DID make changes to .htaccess to allow Google SEO to work correctly, and sine then the redirect has broken.

3) My PORTAL is located at http://www.thenerdlounge.com/Forum/portal.php

4) I need to get the redirect working again.

HELP!
*bump*

Common guys, SOMEBODY has to know what happened.
Problem Fixed!!!

Here's what I added to my .htaccess:

RewriteCond %{HTTP_HOST} ^thenerdlounge.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.thenerdlounge.com$
RewriteRule ^/?$ "http\:\/\/www\.thenerdlounge\.com\/Forum\/portal\.php" [R=301,L]

Works!