Hi,
I've installed OpenCart and really like the features and options, but it seems to be lacking a SEF URL from something like this:
/index.php?route=extension/extension/info&extension_id=9999
to something like this:
/category/apple/accessories.html
Is this possible? Is there a module that I can buy to make it work this way with SEF URLs?
Thanks,
Shane
I've installed OpenCart and really like the features and options, but it seems to be lacking a SEF URL from something like this:
/index.php?route=extension/extension/info&extension_id=9999
to something like this:
/category/apple/accessories.html
Is this possible? Is there a module that I can buy to make it work this way with SEF URLs?
Thanks,
Shane
All you have to do is rename the ".htaccess.txt" file in your document root to ".htaccess" and then turn on SEO Urls in the admin "System > Settings > Edit > Server > Use SEO URLs". Then, you'll notice each category and product has an SEO Keyword field that you can use to define what the friendly URL should look like. There are even extensions that will auto-populate these fields by slugifying your product or category names.
OpenCart Extensions, Technical Support & Custom Development | Have I helped you?
Oooo.. perfect.. I missed that. I had already copied the .htaccess, but turning that feature "on" was missing.
Thanks again for the quick response!
Thanks again for the quick response!
I just tried this i renamed the file
to.htaccess.txt
but right after i do that i get a.htaccess
em i missing something and it doesn't make a difference if i set-up the sef url from the setting first as soon as i rename the file i'm screwedServer error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
mike = http://www.gorillagear.ca
Once this was commented out i'm good to go
i'm a trial and error type guy so do i need this stuff i commented out?
Code: Select all
#Options +FollowSymlinks
# Prevent Directoy listing
#Options -Indexes
mike = http://www.gorillagear.ca
Johnathan wrote:That probably means your .htaccess file has bad rewrites. Re-upload the .htaccess file for your version of OpenCart.
Thanks it worked
Life is a Gift! and it offers us the privilege, opportunity, and responsibility to give something back by becoming more......
so i have done just about everything i could find, changed the htaccess file name checked the SEO in the admin, entered the SEO words in with -, re-uploaded the htaccess file and renamed it again, but still nothing, the URL's are changing but i keep getting ERROR 404- PAGE NOT FOUND?
Any suggestions?
Any suggestions?
HI,
Just backup your .htaccess file and and upload this code.
# SEO URL Settings
RewriteEngine On
RewriteBase /Your_sub_directory_name/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Hope it works.
Just backup your .htaccess file and and upload this code.
# SEO URL Settings
RewriteEngine On
RewriteBase /Your_sub_directory_name/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Hope it works.
Thanks and Best Regards,
Axansh Sheth
Our Opencart Module
All in ONE SEO |
Multi-purpose pop |
Restaurant theme |
Store time save module
nope still nothing, opencart say talk to hostgator, hostgator say talk to opencart, i'm at a loose end keep looking over the files and i cannot see anything that may be effecting it, but i am a noob and i'm no were near a code genius. it is probably something very simple that i have not seen, but this has been a problem for around 2 weeks now and I'm on the verge of giving up on it, but then it will annoy me every time i go to my webpage.
Who is online
Users browsing this forum: No registered users and 15 guests