AbanteCart Community
Shopping Cart Operations => Support => Topic started by: ali on December 19, 2013, 07:53:40 AM
-
Hello all,
I found out that the SEO URL is not working when I enable it. i had changed the .htaccess.txt to .htaccess . Now when I click any link for example categories or products, only page '404 not found' will appear.
Help me please.
-
please use forum search.
i see a lot of answers in results for you.
-
thanks for ur reply .. i read all answers still its not working ,, pls help me out
-
if possible can u let me know step by step procedure how to setup seo in abantecart ....
-
1. be sure that your server supports url rewriting (for ex. mod_rewrite for apache)
2. rename file .htaccess.txt to .htaccess
3. change directive rewriteBase if you have cart installed not in root of domain.
4. go to abantecart settings page and turn seo-support to on.
-
still not working after trying all ways ...
i tried this also
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 ;)
still not working pls help me
-
RewriteBase /
Is this correct in your case? Do you have AbanteCart installed in web root directory?
-
i tried both ways . still 404 not available.
-
my files are in Web Root (public_html/www) directory .
-
You can not try both. It has to be one way, depending on how your site is set up. What is your site URL to abantecart?
-
Since you have abantecart on the root of the domain, you do not need to change anything in original .htaccesss file
https://github.com/abantecart/abantecart-src/blob/master/public_html/.htaccess.txt
Just rename to .htaccess and enable in the admin.
-
Can we somehow automate step 3? without editing url_aliases
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
-
Can we somehow automate step 3? without editing url_aliases
Hello. When You create product or category SEO Keyword value automatically generated from product name