简体   繁体   中英

I am developing website using php and mysql.my each page file extension end with .php extension how do i avoid that?

I am developing website using php and mysql.my each page file extension end with .php extension how do i avoid that?what I have to do for that?

I don't have any framework language.I want to learn the mvc pattern. I want to know which framework is easy level because I always benefited by stack team.According to me stack team will give easy way for me.

For ex: http://academy.in/services.php I have change to http://www.academy.in/services

You need to create a .htaccess file

A bit like this....

Options +FollowSymLinks
Options +Indexes
RewriteEngine on
RewriteBase /

RewriteRule ^/?services/$ services.php [NC,L]

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