AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: SEMBAA on August 04, 2016, 10:23:32 PM

Title: Products Pages Problems
Post by: SEMBAA on August 04, 2016, 10:23:32 PM
I log in to Admin and go to a view of my home page.  Featured products are there and my 2 categories are in the breadcrumbs.  All looks good.  When I click on a product, I get the HTTP 404 error page of Page Not Found.  Is there something I'm missing on how to link products?
Title: Re: Products Pages Problems
Post by: Basara on August 05, 2016, 01:06:54 AM
Hello.

Maybe you have enabled Seo URL's but forgot to configure your .htaccess file?
http://docs.abantecart.com/pages/tips/enable_seo.html
Title: Re: Products Pages Problems
Post by: SEMBAA on August 05, 2016, 11:01:28 AM
Thanks Basara.  But I'm not very adept at coding, so I'll explain what I see.

In AbanteCart Admin: System - Settings - System: Use SEO URL's is ON

In cPanel - File Manager - public_html: .htaccess has the following data in it when opened for editing (I don't have a file named htaccess.txt):

# To set your custom php.ini, add the following line to this file:
# suphp_configpath /home/yourusername/path/to/php.ini
# php_value mbstring.func_overload 4 # Required for PWSB support. Please do not uncomment this line.

The AbanteCart manual says this: "Use SEO URLs: To use SEO URL's Apache module mod-rewrite must be installed and you need to rename the htaccess.txt file to .htaccess"

I don't know how to check to see if I have "Apache module mod-rewrite" installed, or even how to install it.  Am I in the correct file directory?  Any and all help is very much appreciated.
Title: Re: Products Pages Problems
Post by: SEMBAA on August 05, 2016, 11:30:00 AM
mod_rewrite is loaded on all my host servers by default.

Referencing my post above, the .htaccess file in public_html folder does not have any "RewriteBase" instructions in it.  My store is in a subfolder, but how can I change the RewriteBase if it's not in .htaccess?
Title: Re: Products Pages Problems
Post by: SEMBAA on August 05, 2016, 12:39:02 PM
Finally, it's fixed.  I was not looking in the correct file folder for the .htaccess.txt file.  I made the name change to .htaccess and also included the subfolder name and my products are enabled now.  The SEO URL's fix worked.  Thanks very much for your help.