skip to Main Content

I had open the seo url in opencart 2.2.0 but it does not change the basic url into seo friendly url. when ever i click on any it shows the url something like that.

for index link —>

 http://homemartz.pk/index.php?route=common/home

product page link–>

http://homemartz.pk/index.php?route=product/product&path=76&product_id=105

and so on….
someone kindly help me to resolve this issue

3

Answers


  1. Go into your admin then settings and store and click on the server tab and tick Yes for use SEO urls.

    Next rename htaccess.txt on to .htaccess in the root of the shop.

    Make sure all products have a unique seo keyword on the products add/edit page.

    Login or Signup to reply.
  2. To set SEO URLS

    1. Add the SEO keywords to all products and categories (unique
      keywords).
    2. To set SEO URLs – Go to System>Settings>Server>Use SEO URLs. You only
      get this option on the DEFAULT store.
    3. In your main OpenCart directory, there should be a file called .htaccess.txt. Rename it to .htaccess. If you already have an .htaccess file, Edit the .htaccess file.

    RewriteRule ^([^?]*) index.php?route=$1 [L,QSA]

    Also, refer link Enable SEO friendly URLs in Opencart

    Login or Signup to reply.
  3. You can follow below link for SEO friendly url in opencart

    http://docs.opencart.com/administration/seo/
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search