I thought I would go ahead and show everyone what I'm trying to do, and maybe that will help.
My current .htaccess file that is in there, that I didn't create, read as follows:
Code:
RewriteEngine off
#RewriteCond %{HTTP_HOST} ^shop.parasailmyrtlebeach.com$ [OR]
#RewriteCond %{HTTP_HOST} ^www.shop.parasailmyrtlebeach.com$
#RewriteRule ^/?$ "http\:\/\/127\.0\.0\.1\:12002%{REQUEST_URI}" [P,QSA,L]
DirectoryIndex index.html index.htm index.php
What I thought would fix what I need is the following:
Code:
## Can be commented out if causes errors, see notes above.
# Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Redirect 301 /index.php index.php?do=accessories
DirectoryIndex index.html index.htm index.php
But when I create that second .htaccess file, I just get a 404 error.
Hopefully this helps with someone troubleshooting