Hi,
I'm new with Abarantecart I was with a another before and I start to config my store this week. My first language is french so please don't look the mistake and incoherence word or sentence :-[
I add new catégories and in my backstore I see them but when I try to clic on in my storefront I had 404 URL not found ???
On the Template in the storefront Makup does'nt word to= 404 URL not found BUT the others categories works ???
Store : https:caclicmonbijou.com (if you want to check clic on catégorie TEST and you will see. Makup to = 404
Help me please
This looks like SEO related problem.
If you enabled SEO, please make sure you have file .htaccess.txt renamed to .htacess
I do A test for add a product and the same thing happening :(
My files in my directory :
I have 3 in my *public_html =color]
(1) .htaccess
my port is there and my URL ok
(2) .htacess. and (3) .htacces.txt (same text)
Order deny,allow
Deny from all
FilesMatch
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond REQUEST_FILENAME !-f
RewriteCond REQUEST_FILENAME !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 L,QSA
* /admin = .htacces<Files *.php>
order allow,deny
deny from all
Files
*/resources/dowload = .htaccess
order deny,allow
deny from all
*/system = .htaccesOrder Deny,Allow
Deny from all
* admin/system/backup = .htaccess<Files *.*>
order allow,deny
deny from all
Files
I think for .htaccess it's ok
Maybe He have text inside wrong ???
Thank you
hi,
I search in Google for my answer and I find someone who explain with full détails (but it' s for a other opensource ecommerce solution but it's work very well) I will give you if you have this problem :
3 steps to setup SEO URLs in Abantecart :
Step 1. : Enable the SEO URLs from the Admin section.
Go to System -> Server -> Use SEO URL's
Step 2. : Rename the .htaccess.txt to .htaccess (Remove the .txt file extension)
folder: admin
catalog
dowload
image
install
system
.htaccess.txt
config.php
error_log
index.php
php.ini
** if like me you have 3 time htaccess = (1) .htaccess (2) .htacess. and (3) .htacces.txt
I erase .htaccess.txt (3) after I rename (1) .htaccess. and finally rename (2) .htaccess
Step 3. : Fill in the SEO Keyword for all the Categories and Products.
SEO Keyword is unique. No duplicate is allowed.
SEO Keyword no space in between each word.
Go to Catalog -> Products -> Data -> Seo Keyword
Done ! Refresh your store shopping cart website to view the result.
If you are still having a problem on it, please check that Is your Abantecart installed into the Subfolder or subdirectory of your domain name ?
For example , http//www.your_domain_name.com
Your store is under [store] folder , http//www.your_domain_name.com/store
In this case , you have to do a minor modification on the .htaccess file located in the AbanteCart folder.
Open .htaccess, go to the Line 20
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
[Solution] : Edit RewriteBase / to RewriteBase /store/
Source Code after editing
# SEO URL Settings
RewriteEngine On
RewriteBase /store/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
Done ! Refresh your Abantecart from the browser again, SEO URLs should be working correctly.
Enjoy !
Thank's Abantecart to reply to my question ;)
Great post!
Happy to help ;D
Hello all,
I found out that the SEO URL is not working when I enable it. I've check with my hosting provider and they have confirmed mod-rewrite for apache module is currently installed on my server and the .htaccess is already there but the .htaccess files are empty. Now when I click any link for example categories or products, only page '404 not found' will appear.
Help me please.
You need to make sure that your main .htaccess file is renamed from .htaccess.txt
I refer to file on main abantecart directory.
File is here if you are missing it.
https://github.com/abantecart/abantecart-src/blob/master/public_html/.htaccess.txt
The file is already named as .htaccess and I cannot find any .htaccess.txt file. But the size of .htaccess is 0 bytes.
I also don't understand what I have to do with the file link that you've given. Assist me please.
Add the file that I posted to your main abantecart directory. It should not be 0 size.
It works! Thank u so much!