Hello. I recently got new hosting, and when I moved all my files and got set up I decided to move everything into the root folder so that it's not in a subfolder as it used to be. I have a lot of old links such as on facebook when I was advertising my site that have the address with the subfolder in it, so I've been trying to figure out how to redirect from the subfolder to the root, that's one issue. But, aside from that, even just going to my site and then clicking on any category or product goes immediately to the old subfolder page and nothing is there because the files are no longer there. I changed my configure file so that it no longer says my files are in a subfolder, so this shouldn't be happening. This is what I have in my configure.php, the part that matters for this concern:
PHP Code:
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
My subfolder used to be /store, and I removed all instances of this in this file.
This is my .htacess file that I have in my public.html folder:
#<IfModule mod_rewrite.c>
#RewriteEngine On
#RewriteBase /
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^www\.blackorchidcouture\.com
#RewriteRule (.*) http://www.blackorchidcouture.com/$1 [R=301,L]
#</IfModule>
RewriteEngine On
RewriteRule ^subfolder/(.*)$ / [R=301,L]
My site is www.blackorchidcouture, and it goes there fine, then clicking on anything tries to go to the old /store folder and can't find anything. Should I just put all the files in the /store folder for now? I really just want the subfolders to be forgotten on google, just start fresh with my root domain. Any ideas? Thanks ahead of time!
Bookmarks