how can i change all my php page to show as html page in the browser ?
What will be the file name when they will save a x.php file ?
相关问题
- .htaccess rule, redirecting old unexistent address
- Improve converting string to readable urls
- HTTP to HTTPS 301 Redirection Code is Not Working,
- Htaccess cache issues
- Allow access in htaccess based on the HTTP:X-FORWA
Try putting the following in a .htaccess file at the main directory of your site (public_html or www), or httpd.conf (or similar) if you aren't on shared hosting and have root access to the server:
When someone tries to save the page, it will save as .html (they will never know it was really a .php file!)