Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: SEO Keyword isn't changing the URL to a friendly one  (Read 8021 times)

TopWebNames

  • Guest
SEO Keyword isn't changing the URL to a friendly one
« on: August 23, 2013, 05:10:34 AM »
I added a short, simple SEO Keyword to the first Category that I added, and changed the .htaccess.txt file to .htaccess, but the URL is still:

  MyAbanteCartStore.com/index.php?rt=product/category&path=1

Instead of a "friendly URL":

  MyAbanteCartStore.com/short_keyword/

What's wrong?

TopWebNames

  • Guest
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #1 on: August 23, 2013, 03:27:55 PM »
This morning, a few hours after I added the Category and set the SEO short keyword late last night, the short keyword URL is showing as the link in the top menu:

  ClassicTeeShirts.com/short_keyword

But when I click it and am taken to exactly that URL, I get this error message:

  "ERROR 404 - PAGE NOT FOUND"

I just tried the original, not-SEO link/URL:

  ClassicTeeShirts.com/index.php?rt=product/category&path=1

And it works.

Now what's wrong?  Why doesn't the SEO short keyword URL work?
« Last Edit: August 23, 2013, 03:43:25 PM by TopWebNames »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #2 on: August 23, 2013, 11:38:07 PM »
Check that .htaccess file have correct permissions. Set to 644
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

TopWebNames

  • Guest
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #3 on: August 23, 2013, 11:45:35 PM »
Check that .htaccess file have correct permissions. Set to 644

I just also received a reply from HostGator tech support.  He said that he changed the htaccess.txt file to .htaccess... and it now works properly.

Huh? I already did that. So I looked... there is an htaccess.txt file in the root folder, AND in the Admin folder, and nothing was said about this in the User Manual... that there are TWO htaccess.txt files.  Is this a problem having two?  Can this cause conflicts?

What should I do about this?

And... this should be addressed in the User Manual. Again... I'm NOT complaining, just trying to be as helpful as I can :)

Thank you.


Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #4 on: August 23, 2013, 11:54:37 PM »
I am not clear where we have two identical files. I do not see that.
There is a note in the admin SEO setting about renaming the file
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

TopWebNames

  • Guest
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #5 on: August 24, 2013, 12:14:42 AM »
I am not clear where we have two identical files. I do not see that.
There is a note in the admin SEO setting about renaming the file

Yes, I saw read the note in the admin SEO setting about renaming the htaccess.txt file to .htaccess, and I even read the contents to learn more.  However, I just checked again, the abantecart_v1.1.6.zip that I downloaded a few days ago and am using, has an htaccess.txt file in the root folder, AND in the admin folder.  Which one should I delete?

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #6 on: August 24, 2013, 12:03:16 PM »
You need both files. They are not duplicate.
in admin there is .htaccess that it it set correctly to protect your admin directory form access.
Do not delete it.
This file can NOT conflict with the file in the root.


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

TopWebNames

  • Guest
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #7 on: August 24, 2013, 04:50:54 PM »
You need both files. They are not duplicate.
in admin there is .htaccess that it it set correctly to protect your admin directory form access.
Do not delete it.
This file can NOT conflict with the file in the root.

Thanks for this very important information. This and more about this needs to be included in the Documentation / User Manual.

Offline gulshannegi

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
    • Website
Re: SEO Keyword isn't changing the URL to a friendly one
« Reply #8 on: November 06, 2023, 04:16:12 PM »
It sounds like you might have missed enabling SEO URLs in your store settings or there could be an issue with your .htaccess configuration. Make sure that 'Use SEO URLs' is set to 'On' in your AbanteCart settings and double-check the rewrite rules in your .htaccess file are correct and that mod_rewrite is enabled on your server.
Life does not give second chance

 

Powered by SMFPacks Social Login Mod