Author Topic: Add catégories backstore see it but on the storefront = 404 URL not fount  (Read 9681 times)

Offline Beginner34

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
This looks like SEO related problem.

If you enabled SEO, please make sure you have file .htaccess.txt renamed to .htacess

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline Beginner34

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
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
« Last Edit: May 27, 2013, 10:03:03 AM by Beginner34 »

Offline Beginner34

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
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  ;)

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Great post!
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline Beginner34

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
Happy to help ;D

Offline hafreen

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
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.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
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
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline hafreen

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
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.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Add the file that I posted to your main abantecart directory. It should not be 0 size.

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline hafreen

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
It works! Thank u so much!

 

Powered by SMFPacks Social Login Mod