Mevcut bir dosya veya klasör yazarsanız nasıl i (mod_rewrite ile), kullanıcıların 404 sayfaya yönlendirebilirsiniz?

0 Cevap php

Mevcut bir dosya veya klasör yazarsanız nasıl i (mod_rewrite ile), kullanıcıların 404 sayfaya yönlendirebilirsiniz?

Örnek:

I have 2 files at my site: www.example.com/index.php - The homepage www.example.com/about.php - The about page

I don't want to be accesible at index.php and about.php. I want it this way only: www.example.com/ www.example.com/about

Ve ben oluşturmak her dosya için bu şekilde çalışmak istiyorum.

0 Cevap