Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

.htaccess redirect issue with directory listing

Started by Sam_78, August 22, 2019, 05:47:20 PM

Previous topic - Next topic

Sam_78

Hi I have started a new project but I am having issue with .htaccess or directory listing.
when I installed AbanteCart for the first time it was showing me directory list. I contacted host and they suggested me to add .htaccess files so I installed Abantecart by going to https://kylescrafts.com/index.php and everything works fine. but when I click on logo or go to home page which is https://kylescrafts.com it says page not found. My .htaccess is same as here https://github.com/abantecart/abantecart-src/blob/master/public_html/.htaccess.txt no changes. I have enabled SEO url as mentioned here


Right now my site works if I add /index.php but I don't want that I want it to work at kylescrafts.com

I am not able to understand why it says page not found on home page. My link in store details is https://kylescrafts.com/ for both

Basara

Hello.
First of all you have to review your .htaccess file. Take a note that this is something related to your server (hosting) and how it was configured.
Here is default set of htaccess rules we provide https://github.com/abantecart/abantecart-src/blob/master/public_html/.htaccess.txt it should work on most of servers but you hosting may not allow some of them.
Anyway make sure you have same set of rules

Sam_78

I am using that same .htaccess and contacted host they are saying something is wrong with .htaccess if I remove .htaccess my website shows list of directories. I am wondering why is my home page saying 'page not found' where as website.com/index.php works correctly

llegrand

Looking up your domain info -  looks like you're on a Windows server.   Did you use GoDaddy's Installatron  for your installation or did you do it manually?


HADY

HI!

everything is working fine on your website :D I think you have to clean your browser cache.



regards
Thank you In Advanced
Regards
HADY

Sam_78

Actually I escalated this issue for web hosting and they figured out the issue they went to WHM and set directory priority for index.html at first position and it worked correctly.

Basara


Forum Rules Code of conduct
AbanteCart.com 2010 -