Openlitespeed WordPress .htaccess
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^/index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f Rewr...
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^/index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f Rewr...
Apache RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php ...
/** 自动给图片添加Alt标签 */ function image_alt_tag($content){ global $post;preg_match_all('/<img (.*?)\/>/',...
location ~ \.php$ { try_files $uri =404; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/run/php/php7.0-fpm.sock; ...
location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.ph...
location / { index index.html index.php; ## Allow a static html file to be shown first try_files $uri $uri/ @handler; ex...
先建立一个nginx.conf 文件,然后填入以下内容: location / { index index.html index.php; if (-f $request_filename/index.html){ rewrite (.*)...
搜狗URL提交:http://zhanzhang.sogou.com/index.php/urlSubmit/index 360URL提交:http://zhanzhang.so.com/?m=PageInclude&a=index...
在配置80端口的文件里面,写入以下内容即可。 server { listen 80; server_name localhost; rewrite ^(.*)$ https://$host$1 permanent; location / {...
VestaCP的默认index文件位置为 代码 (Text): /usr/local/vesta/data/templates/web/skel/public_html/index.html 替换掉相应文件即可 调用变量: %domain%...
VestaCP自定义首页访问顺序只需要在网站根目录的.htaccess第一行添加如下代码即可 代码 (Text): DirectoryIndex index.php index.html 特别说明: 1.DirectoryIndex ind...