Forums / All Other Contributions/Addons / htaccess and Simple SEO redirects not showing homepage

htaccess and Simple SEO redirects not showing homepage

Locked

Views: 1,395

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Sep 2010, 3:54 PM
#1
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

htaccess and Simple SEO redirects not showing homepage

I am having a major problem. Please look at my homepage here:
http://www.lasilhouettelingerie.com/

It will redirect you to this page:
http://www.laislhouettelingerie.com/store/

The store used to be under the folder /store and now it's under the folder: /shop. It has been working fine but last night I deleted the /store folder and database since it is no longer useful to me.

Today i cleaned out my cookies and my homepage will not go to: http://www.lasilhouettelingerie.com/ (I do have an index.php page which is custom made and different from my store).

So I am guessing this has to be .htaccess files right? (I do have Simple SEO URL's installed)

In my root folder (public_html) I have an .htaccess file that is blank. I then have a folder which is /shop which has my zen cart files. The .htaccess file located in the /shop folder is as follows:

#### BOF SSU
Options +FollowSymLinks
RewriteEngine On
# Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase / 
RewriteBase /shop/
# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU

Why is my homepage (index.php) redirecting to an old folder of: /store that is no longer existant? (and the main .htaccess file is blank and does not point to the old file of /store.com)

Please help!

Building a better web, one site at a time: Dayton Web Design

15 Sep 2010, 3:39 AM
#2
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: htaccess and Simple SEO redirects not showing homepage

Anyone? All I have in my public_html folder is a blank .htacess file and a seperate index.php file (that is my current homepage and not related to zen cart). Then I have a folder called: /shop that has all my zen cart files and the redirect .htaccess file.

How would my store redirect to a folder (/store) that has been removed and there is nothing pointing to this?

Building a better web, one site at a time: Dayton Web Design

15 Sep 2010, 3:47 AM
#3
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: htaccess and Simple SEO redirects not showing homepage

Got it!! My index.php file had this in it:

<?
Header( "HTTP/1.1 301 Moved Temporarily" ); 
Header( "Location: [URL]http://www.lasilhouettelingerie.com/store/[/URL]" ); 
?> 

Apparently, I deleted the wrong index.php file while cleaning up my folders. :blush:

Building a better web, one site at a time: Dayton Web Design