php - how to write .htaccess for subdirectory files? -


This question may be duplicated. What is the original .htaccess file for a sub-directory website with a newbie php programmer?

Ex: The index page of my website can be easily opened. But when I try to open www.example.com/subdirectory/post1.php, it will give me www.example.com/index Will show .php

Thank you in advance.

You can enter the .httaccess file in that subdirectory to close the redirect for that folder . In the file, you will need to enter the following line:

the revivet engine off

or you can rewrite that .htaccess file to leave that folder.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -