Welcome to Centmin Mod Community
Register Now

OpenCart Opencart Seo

Discussion in 'Ecommerce / Shopping cart usage' started by Shaiffulnizam Mohamad, Sep 21, 2016.

Tags:
  1. Shaiffulnizam Mohamad

    Shaiffulnizam Mohamad New Member

    29
    8
    3
    Jun 6, 2014
    Ratings:
    +9
    Local Time:
    3:08 PM
    1.7.0
    5.5
    Hi, for those who are looking for Opencat SEO

    Code:
    rewrite ^/sitemap.xml$ /index.php?route=feed/google_sitemap last;
     rewrite ^/googlebase.xml$ /index.php?route=feed/google_base last;
     rewrite ^/download/(.*) /index.php?route=error/not_found last;
    
        if (!-f $request_filename) {
            set $rule_3 1$rule_3;
        }
    
        if (!-d $request_filename) {
            set $rule_3 2$rule_3;
        }
    
        if ($uri !~ ".*.(ico|gif|jpg|jpeg|png|js|css)") {
            set $rule_3 3$rule_3;
        }
    
        if ($rule_3 = "321") {
            rewrite ^/([^?]*) /index.php?_route_=$1 last;
        }
    Insert it under.. / between

    Code:
    location / {
    
    }
    I have use this on my website Apasaja.MY - Harga Muroh Sokmo
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    29,033
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    5:08 PM
    Nginx 1.13.x
    MariaDB 5.5
    thanks @Shaiffulnizam Mohamad for sharing a much needed OpenCart configuration for folks that are looking :D
     
  3. Shaiffulnizam Mohamad

    Shaiffulnizam Mohamad New Member

    29
    8
    3
    Jun 6, 2014
    Ratings:
    +9
    Local Time:
    3:08 PM
    1.7.0
    5.5
    No problem eva, because I'm using it too..
     
    • Like Like x 1
  4. cloud9

    cloud9 Premium Member Premium Member

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    8:08 AM
    1.11.x
    10.x
    • Like Like x 2