Zencart156c使用nginx的伪静态规则
rewrite "^(.)-p-(.).html" /index.php?main_page=product_info&products_id=$2&% last;rewrite "^(.)-c-(.)" /index.php?main_page=index&cPath=$2&% last;rewrite "^(.*)-m-([0-9]+).html" /index.php?main_page=i
rewrite "^(.)-p-(.).html" /index.php?main_page=product_info&products_id=$2&% last;rewrite "^(.)-c-(.)" /index.php?main_page=index&cPath=$2&% last;rewrite "^(.*)-m-([0-9]+).html" /index.php?main_page=i
Rspamd需要在https://pkgs.org/里搜索对应系统版本的Rspamd开发包,下载后安装sudo dpkg -i /tmp/opensmtpd-filter-rspamd_0.1.7-1_amd64.deb Postfix无法启动的原因是hostname必须改成mail.yourdomain.comhostnamectl set-hostname mail.yourdomain.co
安装pm2sudo apt install npmsudo npm install -g pm2安装rustdesk serversudo apt install wgetwget --no-check-certificate https://github.com/rustdesk/rustdesk-server/releases/download/1.1.10-3/rustdesk-server
1.国内服务器出现curl: (7) Failed to connect to raw.githubusercontent.comecho 199.232.68.133 raw.githubusercontent.com >> /etc/hosts 2.修改服务器备注后变成”离线”久不恢复systemctl restart nezha-agent 3.启动nezha-agent还是一直
1、Docker安装后,项目访问地址为 http://1.2.3.4:2532、创建网站 www.xxx.com3、网站管理里找到反向代理,添加4、代理名称随意,目标URL填 http://1.2.3.4:253 ,发送域名默认自动生成 $host 5、确定
修改/admin/includes/functions/extra_functions/pzen_marcus_template.php文件中的function pzen_marcus_generate_fontfamily_pull_down直接把https://www.google.com/webfonts里的名称复制粘贴追加到最后即可
修改2个文件/includes/templates/xxxx/templates/tpl+advanced_search.php/includes/modules/pages/advanced_search_result/header_php.php
参考 https://blog.csdn.net/dddgggd/article/details/1224119691、安装Squidyum install squid -y2、编辑squid配置文件cd /etc/squid/ vim squid.conf3、修改内容为dns_v4_first on http_port 3228 # 修改端口,默认为 3128 http_access allow
可以选择以下缓存系统:Memcached:内存缓存系统,访问速度最快。Redis:内存缓存系统,功能强大。APCu:PHP内置缓存系统,易于使用。然后修改/includes/configure.php文件define('CACHE_ENABLED', true);define('CACHE_TYPE', 'memcached');define('MEMCACHED_HOST', 'localhos
自带的联系方式太少了,于是又自己增加了一些。Step 1:数据库加字段INSERT INTO pzen_marcus_template (opt_id, lang_id, opt_name, opt_value) VALUES (994, 0, 'store_amazon', '0'); Step 2:修改后台的模板文件/admin/pzen_marcus_
新闻列表 /news_archive关于我们 /about_us运输和回款 /shippinginfo使用说明 /conditions隐私条款 /privacy新进商品 /products_new精选商品 /featured_products特价商品 /specials联系我们 /contact_usFAQ(非系统自带) /faq我们的优势(非系统自带) /why_us付款方式(非系统自带) /p
工具下载解压到任意文件夹下,然后直接运行2个exe可执行文件即可。Any2WebpTool为将jpg、png、gif等常见图片格式转换为webp格式,个人经验压缩配置选“有损”,压缩品质选“75%”的效果最佳。Webp2AnyTool为将webp格式的图片转换为jpg、png、gif等常见图片格式,并支持批量调整尺寸。
没办法,ZC的EZ Pages功能没法自定义伪静态地址,只好自己上,以新建一个test_page为例:1、在/includes/modules/pages/下新建test_page目录,目录下创建一个header_php.php文件,内容参考其他页面2、在/includes/filenames.php里新增加常量定义FILENAME_TEST_PAGEdefine('FILENAME_D
1、先在数据库的表里加字段数字类型ALTER TABLE products ADD products_hide_type INT(6) NULL DEFAULT '0' AFTER products_family;字符串类型ALTER TABLE products ADD products_amazon_url varchar(512) DEFAULT NULL AFTER products_fa
有些客户不喜欢系统自带的下拉框样式,于是自己用JS写一个。在页首的php文件中(譬如/includes/templates/marcus/common/tpl_header_v1.php)增加对应的JS功能,然后再增加两个对应的图片按钮,示范如下:function chgLan(obj){ var cUrl = window.location.href; if (cUrl.incl
1、首页的SEO三要素是必须的,标题、关键字、描述,以下图为例标题一般就是3-4个词的短句,示例:Introducing ChatGPT - OpenAI关键字就是客户可以通过关键字找到你网站的索引。可以多个,用英文逗号分开,示例:chatGPT,Best shoes of China,free vps,What's my ip描述是一小段话,示例:ChatGPT is a sibling mod
1、先定义sql语句再查询<?php $zc_sql = "SELECT a.products_image as pImg,a.products_model as pNo,b.products_name as pName FROM " . TABLE_PRODUCTS . " a," . TABLE_PRODUCTS_DESCRIPTION .