Linux Nginx 环境伪静态
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$1 last;
}链接:https://www.jianshu.com/p/7968d1405836
joe主题当前页面打开列表文章
解决办法
打开usr/themes/Joe-master/assets/js/joe.index.min.js文件,然后搜索target="_blank",将它替换为空字符串
打开/myProject/php/typecho/usr/themes/Joe-master/archive.php文件,然后搜索target="_blank",将它替换为空字符串
Typecho独立页面实现跳转其他网站
1.新建 PHP 文件:jump.php
代码如下:
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php
/**
* jump
*
* @package custom
*/
?>
<meta http-equiv="refresh" content="3;url='https://seer.cool'"> 2.将文件上传至当前网站使用主题根目录
3.网站后台新建独立页面,使用模板。

4.独立页面模板处选择刚才创建的文件

评论 (0)