Tell me how to set a page as a home page in a php based site?
Answer Posted / Ravishankar
To set a specific PHP file as the homepage of your website, you can modify the .htaccess file or server configuration files (such as httpd.conf for Apache servers) to specify the file path for the default index. You can also create an .htaccess file in the root directory and add 'DirectoryIndex filename' to specify the PHP file you want to use as the homepage.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is trait in php?
Write a program using while loop?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
How to calculate the difference between two dates using php?
What sized websites have you worked on in the past?
Explain me is it possible to destroy a cookie?
List some features of php that are deprecated in php7?
What is the difference between htmlentities() and htmlspecialchars()?
Tell me what kind of things have you done on the social side?
What is the current stable version of php? What advance thing in php7?
How to create a web form?
how to detect a mobile device using php
Which variable declarations within a class is invalid in php?
What is the current stable version of php?
sort term descripttion form, report and uery