HTACCESS stops functioning correctly in the environment exchange

1

I have to migrate from a rookie hosting site to a dedicated server hosting, and my htaccess simply resolved to stop responding to urls thus sending url to the error page.

It even mounts the url as it can be seen here by hovering over the properties but clicking it goes to a error page that is the home page of the site.

I'm trying to solve the problem but I can not. In the links below, the old and new server settings and the htaccess file in question can be observed.

Old environment

http://www.colnaghi.com.br/info.php

New environment

http://www.colnag.com.br/info.php

.htaccess

DirectoryIndex index.html index.htm index.php

# AddHandler php56-script .php
# suPHP_ConfigPath /home/colnag/

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^([a-z0-9]\-]+)=([0-9-]+)$ http://colnag.com.br/imovel_detalhe?cod_consulta=$2 [P]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
  

Can anyone help me solve it?

I could not see the Apache version in old hosting .

    
asked by anonymous 03.03.2015 / 21:11

0 answers