I originally created the site with 1.5.6.4 and have had qphoria upgrade it to 2.0.3.1. I have added the description to the SEO Keyword field and I have set Use SEO URLs to yes. However when I try to access the links to the pages that I have added the SEO keywords to, I get a "not found" error. I have refreshed the modifications page and still get this error. Is there a way to have the SEO URLs work without having to rebuild all of these pages?
Last edited by WavMixer on Sat Aug 22, 2015 1:52 am, edited 1 time in total.
Make sure you have .htaccess file in the root folder with the following content
Code: Select all
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
It is actually included but as .htaccess.txt file not as .htaccess file.zedrally wrote:That is brilliant, I always wondered why my SEO URL's never worked but it makes me wonder why the code wasn't included in the setup?
Thank you very much.
In order not to mess up with an existing .htaccess file I guess.
@deepvision: I am having a surprising problem in oc-2031, I have SEO enabled in admin and .htaccess file has SEO settings enabled(rewrite engine on) and I have done the changes in database via "url_alias" method but I find that many links for example http://www.mysite.com/index.php?route=product/special is still present whereas I have changed its url_alias in database as query=product/special to keyword="greatoffers" but it does not show as http://www.mysite.com/greatoffers.
Can you suggest some solution please.
Thank you for your time.
Can you suggest some solution please.
Thank you for your time.
Regards,
Sun Systems
Industrial Electronics and Instrumentation
Sorry for the late reply. Have not used the forum much.sunsys wrote:@deepvision: I am having a surprising problem in oc-2031, I have SEO enabled in admin and .htaccess file has SEO settings enabled(rewrite engine on) and I have done the changes in database via "url_alias" method but I find that many links for example http://www.mysite.com/index.php?route=product/special is still present whereas I have changed its url_alias in database as query=product/special to keyword="greatoffers" but it does not show as http://www.mysite.com/greatoffers.
Can you suggest some solution please.
Thank you for your time.
Maybe those links are hard coded?
@sunsys: If you still have an issue with the links you mentioned, you might find this extension to be the solution.
http://www.opencart.com/index.php?route ... load_id=41
We use this in several stores. Easy to install & works great!
http://www.opencart.com/index.php?route ... load_id=41
We use this in several stores. Easy to install & works great!
Thank you for your reply, I am sorry so see that the reviews are not favourable so I will not use the extension till issues are sorted out. I mean just for having friendly urls I cannot afford to have my cart function screwed up.xaneinc wrote:@sunsys: If you still have an issue with the links you mentioned, you might find this extension to be the solution.
http://www.opencart.com/index.php?route ... load_id=41
We use this in several stores. Easy to install & works great!
Regards,
Sun Systems
Industrial Electronics and Instrumentation
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
Who is online
Users browsing this forum: No registered users and 36 guests