Warning: Use of undefined constant url - assumed 'url' (this will throw an Error in a future version of PHP) in /www/wwwroot/boke/wp-content/themes/boke/framework/functions/theme-functions.php on line 2211
Warning: Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /www/wwwroot/boke/wp-content/themes/boke/framework/functions/theme-functions.php on line 2211
apache伪静态文件.htaccess转换成IIS伪静态文件
其实操作很简单,步骤如下:
下载IIS伪静态模块文件
中文版:https://www.microsoft.com/zh-CN/download/details.aspx?id=7435
英文版:https://www.microsoft.com/en-US/download/details.aspx?id=7435
安装完成后,IIS管理器里会多出个“URL Rewrite”
1、点击要设置伪静态的站点,点击“URL Rewrite”
2、右边有个导入规则
3、选择apache伪静态文件,并导入
4、最后点击应用