简体   繁体   中英

conflict name affects folder and php file

in my web site folder I have a folder named area-nursing containing other php file and a php file named area_nursing.php . When I transform through .htaccess area_nursing.php to area-nursing I got a conflict name between php file and folder name.How can I resolve it?

I would say your best bet is to just rename the file. I'm not sure what you are doing in your .htaccess file but I'm assuming you are rewriting the URL without the .php extension.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM