开发者

Htaccess redirect

开发者 https://www.devze.com 2022-12-16 13:48 出处:网络
Does anyone have a simple way of rdirected in .htaccess all pages that 开发者_运维知识库were once .asp to now be .php. For example index.asp is now index.php etc. Server is apache.RewriteEngine on

Does anyone have a simple way of rdirected in .htaccess all pages that 开发者_运维知识库were once .asp to now be .php. For example index.asp is now index.php etc. Server is apache.


RewriteEngine on
RewriteRule ^(.+)\.asp$ $1.php
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号