-
Openlitespeed WordPress .htaccess
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^/index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress &nb...- 248
- 0
-
Helpdesk Apache / Nginx静态化方法
Apache RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] ErrorDocument 404 /404/ Nginx location / { index index.php index.html...- 363
- 0
-
WordPress主题自动给图片添加Alt标签
/** 自动给图片添加Alt标签 */ function image_alt_tag($content){ global $post;preg_match_all('/<img (.*?)\/>/', $content, $images); if(!is_null($images)) {foreach($images[1] as $ind...- 217
- 0
-
Xenforo Nginx Apache 靜態化
location ~ \.php$ { try_files $uri =404; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/run/php/php7.0-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } location /co...- 447
- 0
-
Chevereto Nginx 伪静态规则
location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index...- 650
- 0
-
Nginx环境下magento2实行静态化的方法
location / { index index.html index.php; ## Allow a static html file to be shown first try_files $uri $uri/ @handler; expires 30d; } location /var/export/ { ## Allow admins only to view export folder ...- 696
- 0
-
WordPress Nginx伪静态
先建立一个nginx.conf 文件,然后填入以下内容: location / { index index.html index.php; if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/ind...- 595
- 0
-
全球各大搜索引擎、獨立博客提交入口。
搜狗URL提交:http://zhanzhang.sogou.com/index.php/urlSubmit/index 360URL提交:http://zhanzhang.so.com/?m=PageInclude&a=index 百度搜索網址提交入口:http://zhanzhang.baidu.com/sitesubmit/index 百度死鏈提交入口:http://zhanzhan...- 1.2k
- 0
-
Nginx以及单页面http自动跳转https方法
在配置80端口的文件里面,写入以下内容即可。 server { listen 80; server_name localhost; rewrite ^(.*)$ https://$host$1 permanent; location / { root html; index index.html index.htm; } 单页面中配置http自动跳转https方法 在需要强制为https的页面上加...- 959
- 0
-
VestaCP自定义主机的index.html文件
VestaCP的默认index文件位置为 代码 (Text): /usr/local/vesta/data/templates/web/skel/public_html/index.html 替换掉相应文件即可 调用变量: %domain% ---虚拟主机的域名- 756
- 0
-
vestacp设置默认首页顺序
VestaCP自定义首页访问顺序只需要在网站根目录的.htaccess第一行添加如下代码即可 代码 (Text): DirectoryIndex index.php index.html 特别说明: 1.DirectoryIndex index.php index.html这3个单词中间一定要保留一个空格。 2.系统默认先读取第一个首页文件index.php,你自己可以调整默认文件的先后顺序 3....- 801
- 0
❯
搜索
掃碼打開當前頁
返回頁首
幸運之星正在降臨...
點擊領取今天的簽到獎勵!
恭喜!您今天獲得了{{mission.data.mission.credit}}積分
我的優惠劵
-
¥優惠劵使用時效:無法使用使用時效:
之前
使用時效:永久有效優惠劵ID:×
沒有優惠劵可用!