Author Topic: SEO friendly URL shows but returns to home page  (Read 9427 times)

Offline rspencer129

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
SEO friendly URL shows but returns to home page
« on: October 26, 2013, 10:42:41 PM »
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?

Offline rspencer129

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: SEO friendly URL shows but returns to home page
« Reply #1 on: October 26, 2013, 10:53:01 PM »
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?

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: SEO friendly URL shows but returns to home page
« Reply #2 on: November 01, 2013, 07:07:57 PM »
Did you rename .htaccess.txt to .htaccess? Do you use sub directory in your site. If you post URL it will help
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 rspencer129

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: SEO friendly URL shows but returns to home page
« Reply #3 on: November 13, 2013, 09:54:48 AM »
I did rename the .htaccess 

the site is vinylstatement.com

The site is installed in a sub directory.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: SEO friendly URL shows but returns to home page
« Reply #4 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
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 sowerswebtech

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: SEO friendly URL shows but returns to home page
« Reply #5 on: October 16, 2015, 04:58:02 AM »
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?

Offline sowerswebtech

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: SEO friendly URL shows but returns to home page
« Reply #6 on: October 21, 2015, 06:22:15 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/"

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Re: SEO friendly URL shows but returns to home page
« Reply #7 on: October 21, 2015, 06:29:30 PM »
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

Lee


Offline Deepika

  • Newbie
  • *
  • Posts: 1
  • Karma: +1/-0
    • View Profile
Re: SEO friendly URL shows but returns to home page
« Reply #8 on: February 03, 2016, 12:42:18 AM »
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

 

Powered by SMFPacks Social Login Mod