AbanteCart Community

eCommerce construction => Installation and Configuration => Fresh Installation => Topic started by: TopWebNames on August 23, 2013, 05:10:34 AM

Title: SEO Keyword isn't changing the URL to a friendly one
Post by: TopWebNames 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?
Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: TopWebNames 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?
Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: abantecart on August 23, 2013, 11:38:07 PM
Check that .htaccess file have correct permissions. Set to 644
Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: TopWebNames 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.

Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: abantecart 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
Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: TopWebNames 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?
Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: abantecart 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.


Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: TopWebNames 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.
Title: Re: SEO Keyword isn't changing the URL to a friendly one
Post by: gulshannegi 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.