ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How to set a page as a home page in a php based site ?

user-image
تم إضافة السؤال من قبل Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited
تاريخ النشر: 2016/01/13
Mohammad Aman
من قبل Mohammad Aman , Web Developer , IHCC

Hi,

Simply add the file name index.php into your project directory(folder). If you want give other name Instead index.php create a file named .htaccess in root folder and place this line

DirectoryIndex home.php(name that you want to give)

nassreddine seydi
من قبل nassreddine seydi , Web and Hybrid Mobile apps Developer , DealTeamQatar

Hi sr, there are many means to do it through the Framework used to develop a config.php file for routing or it's enough to rename a index.php pages for priority reading by system PHP in server application.

المزيد من الأسئلة المماثلة