mardi 28 avril 2015

Php htaccess 404 Not Found Page

I have a website and its link structure is like that;

http://ift.tt/1bcM4Mo -> page.php
site.com/blog/ -> blog homepage
http://ift.tt/1HXAgvW -> post page

and index, contact page and so on.

All I want to do is create a htaccess file and check all pages that doesn't exit.

But I don't know how to check pages if they exist or not.

For example, http://ift.tt/1bcM4Mq -> this page exists, I can check it. but I can not check the page like that http://ift.tt/1HXAgvY

Any idea?

Aucun commentaire:

Enregistrer un commentaire