I have set up my site to allow seo friendly urls. I have added categories, subcategories and products. When I click on a product, The address bar shows the correct seo friendly url but, I am taken to the homepage. Any idea what is causing this?
If it helps, I just turned off the system setting to disable seo url. The pages work just fine. Maybe this will help narrow down where the issue may be?
Did you rename .htaccess.txt to .htaccess? Do you use sub directory in your site. If you post URL it will help
I did rename the .htaccess
the site is vinylstatement.com
The site is installed in a sub directory.
If you have abantecart in sub directory, please read instructions inside .htaccess file:
# 3. Edit file .htaccess. If abantecart is installed in yourdomain/ subfolder change configuration line RewriteBase / to RewriteBase /subfolder/.
# Example: yourdomain.com/store use RewriteBase/store/
# Important to have / at the end of the line.
:o
I am having a similar issue here - I have setup "SEO-Friendly" URLs and they are working if I am clicking on products from my store page index BUT - If I copy/paste the "embed product" code and then paste somewhere else on my website it does not give me the seo-friendly url for the link source. It actually uses the data attribute tag to pass the product id in a url string to the index page. Is there any way to get the SEO-Firendly version of the url passed into the embed code?
Quote from: abantecart on November 15, 2013, 08:20:59 PM
If you have abantecart in sub directory, please read instructions inside .htaccess file:
# 3. Edit file .htaccess. If abantecart is installed in yourdomain/ subfolder change configuration line RewriteBase / to RewriteBase /subfolder/.
# Example: yourdomain.com/store use RewriteBase/store/
# Important to have / at the end of the line.
:o
This doesn't work for me... Your specific example seems to be missing a much need space(" ") between 'RewriteBase' and the 'subfolder'.
It should be: "RewriteBase /subfolder/" NOT "RewriteBase/subfolder/"
Thank you for correction of the typo in the 2013 thread - I know lots of users don't search the documentation for answers. It is however quite improved since 2013 8)
Here's the link with a bit more info about the seo url and htacess for others who might read this.
http://docs.abantecart.com/pages/settings/system.html (http://docs.abantecart.com/pages/settings/system.html)
Lee
Hello,
If the URL is returning to home page, then the URL may be redirecting to the home. Check in your .htaccess file and remove redirect. All you have to learn about SEO URL friendly is written in this page thirtydrums.com/seo-friendly-urls. Have a sneak peek and explore more on making SEO friendly URL's.
Regards,
Deepika