Problem using Url Friendly

1

Where am I going wrong in this .htaccess?

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

The site that I developed works normally on localhost, but now that I've uploaded it to the server (Cpanel Hostgator), the pages do not open properly, see the example.

IfIclickthelink,theURLredirectscorrectlytonovosite.glowseguros.com.br/home/produtos/seguro-auto#produtobutthepagedoesnotchange,itcontinuesinHome.

NowifIput.phpthesameasIdidintheimagebelowthepageisdisplayedcorrectly.novosite.glowseguros.com.br/home/produtos.php/seguro-auto#produto

    
asked by anonymous 06.07.2017 / 19:38

1 answer

2

The server's apache was with the Multiviews option disabled.

It was only forcing the option through .htaccess that the problem was solved. I added the following line in the file

Options +MultiViews
    
07.07.2017 / 00:00