Report this

What is the reason for this report?

weird redirection

Posted on March 4, 2014

Even without. Htaccess and without the rewriter assets apache module if I call meudominio.com.br / page it will first search page.html not find it it will fetch pagina.php.

How do I disable this “redirect” as this problem on my giving. Htaccess

I use apache 2.22 PHP 5.4.9 on ubuntu 12:04 and 13:04 (I tested in both dist and gives the same problem) in the Cloud DigitalOcean.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

That is because your server is going to find .html before .php <br> <br>The default file for .php is index.php, not other .php files <br> <br>I tried to go your url meudominio.com.br on Chrome , but it doesn’t work. something is not correct… <br> <br>if you want to redirect your url to a specific page, then you need to write an .htaccess rule so that your url get redirected there. <br>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.