blr044 Posted February 12, 2008 Posted February 12, 2008 I am having a bit of concern regarding lack of visitors. A few days back, I moved my store folder up a level to eliminate oscommerce2 from mu URL address. Now for the store, all is working with no problems. But have noticed hits to my site is down from anywhere from 10 to 45 a day to (A Big Zero). When viewing stats or from link partners, it still shows my address as http://brs-giftshop.com/oscommerce2/catalog/index.php Like, do I need to contact my host, or GoDaddy (that is were my domain is registered) or what do I need to do? Because this hurting sales!! In need of desperate help... Thanks in advance. blr044
Jack_mcs Posted February 12, 2008 Posted February 12, 2008 You need to add code to your .htaccess file to redirect from the oscommerce2/catalog directory to the root. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
blr044 Posted February 12, 2008 Author Posted February 12, 2008 The .htaccess was has been changed you are referring to catalog/.htaccess are you not? this is what is in there: Options +FollowSymLinks RewriteEngine On RewriteBase /catalog/
Jack_mcs Posted February 13, 2008 Posted February 13, 2008 The .htaccess was has been changed you are referring to catalog/.htaccess are you not? this is what is in there: Options +FollowSymLinks RewriteEngine On RewriteBase /catalog/ No, it should be the .htaccess file in the root and it should beRewriteEngine On RewriteBase / RewriteRule ^catalog/(.*)$ /$1 [R=301,NC,L] Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
blr044 Posted February 13, 2008 Author Posted February 13, 2008 Thanks Jack Before I moved my files, I had an .htaccess ss follows: domaim-name/oscommerce/catalog/.htaccess As it is, I d not have a .htaccess file in the root directory. So do I need to create one with the text as you described? bennett
blr044 Posted February 13, 2008 Author Posted February 13, 2008 Spent nearly six hours yesterday and and close to that today reading thread regarding moving files to delete the oscommerce folder. They all say the same thing, after the move, edit both config files. Also followed the instructions in the contribution found here. They say anything about the .htaccess file. Maybe because when is not in the root directory, that file does not exist. Not sure. I did add a.htaccess file withe the text you mention. Still when go to google webmaster tools to verify, still am getting a 404 error code. It still points to the following: https://www.brs-giftshop.com:443/oscommerce2/catalog/ This is what my directory tree looks like: .htmaster xxxxxxxx:xxxxxxxx brs-giftshop.com xxxxxxxx:xxxxxxxx ext xxxxxxxx:xxxxxxxx logs xxxxxxxx:xxxxxxxx ssl.conf xxxxxxxx:xxxxxxxx .cshrc xxxxxxxx:xxxxxxxx .htaccess xxxxxxxx:xxxxxxxx .htaccess bak xxxxxxxx:xxxxxxxx .login xxxxxxxx:xxxxxxxx .login_conf xxxxxxxx:xxxxxxxx .mail_aliases xxxxxxxx:xxxxxxxx .mailrc xxxxxxxx:xxxxxxxx .profile xxxxxxxx:xxxxxxxx .rhosts xxxxxxxx:xxxxxxxx .shrc xxxxxxxx:xxxxxxxx .wsrc xxxxxxxx:xxxxxxxx google6d404f2a20d8f3b7 html xxxxxxxx:xxxxxxxx phpinfo.php bak xxxxxxxx:xxxxxxxx robots.txt xxxxxxxx:xxxxxxxx sitemap.xml xml document =============================================== domain-name/catalog/ /google6d404f2a20d8f3b7 html xxxxxxxx:xxxxxxxx /robots.txt xxxxxxxx:xxxxxxxx /sitemap.xml xml document This is the answer I got from my host. When the oscommerce is installed from the control panel it will be placed on a sub-folder under your domain folder, for example brs-giftshop.com/oscommerce/catalog/index.php the term "public-html" would mean the folder where you put your HTML files (website files) so that it is available on public. On our system this would mean the domain folder, so if the tutorial is talking about "public-html/index.php" it would be "brs-giftshop.com/index.php" on our system. I'm afraid we cannot change this, since this setting is coming from the H-sphere system. If you upload and install osCommerce manually, using FTP, you can have it installed on your primary domain folder, for example http://brs-giftshop.com/index.php So moving my files, it is going to be a big problem? My host has not responded back to me as of yet. I agree I have come a ways in working with osc but still a lot to learn. Thanks. Bennett
Jack_mcs Posted February 14, 2008 Posted February 14, 2008 Thanks Jack Before I moved my files, I had an .htaccess ss follows: domaim-name/oscommerce/catalog/.htaccess As it is, I d not have a .htaccess file in the root directory. So do I need to create one with the text as you described? bennett Your shop was located here: oscommerce/catalog, so that should be used in the code I posted. Uploading the shop to the root will work fine once setup properly. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
blr044 Posted February 14, 2008 Author Posted February 14, 2008 Appreciate your help Jack. But my host I can not move it because the way it was installed. Googlebot kept getting error code 404. Now for a little bit over two days, my host has not replied. I am sorry, there are things I am in dark with, but I read the forums and the doc at the host web site for answers. I just can not be in the dark with the search engines. If they can not find me, the customers will not either. Bennett
Jack_mcs Posted February 14, 2008 Posted February 14, 2008 Appreciate your help Jack. But my host I can not move it because the way it was installed. Googlebot kept getting error code 404. Now for a little bit over two days, my host has not replied. I am sorry, there are things I am in dark with, but I read the forums and the doc at the host web site for answers. I just can not be in the dark with the search engines. If they can not find me, the customers will not either. Bennett I can't think of a reason why you couldn't move your shop to a different directory. Maybe there is something in the root that you need, like another shop? But that statement along with no response in two days should signal it's time to change hosts, in my opinion. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.