Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Nginx rewrite rule to remove ?route=common

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, May 22, 2016.

  1. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    12:54 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I am looking for some help to create a rewrite rule and remove from my link the ?route=common:

    Code:
    http://www.domain.com/?route=common/home
    and make it:

    Code:
    http://www.domain.com/home
    Thank you