Laragon and .htaccess RewriteRule problem


  • | 185 points

    Hello

    I have a weird, for me, problem with 4.0.16 laragon and htaccess.

    The problem is when i try to use the RewriteRule with a pattern beginning by the same letters (here logo) ...
    RewriteRule ^logo-food logo-food.php # rewrite 1
    RewriteRule ^logo logo.php # rewrite 2

    will always print # rewrite 2 page...
    I had to change the pattern in order to have a correct printing...
    I have tried with another redirection, and the problem systematically appears for the same first letters in pattern...
    I look for a solution for a while (in production i have inversed the wording of the page ex : https://www.aozu.fr/portfolio) but i do not understand what's happen...

    any help will be very welcome !!! Regards
    Eric


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.