
前端
冯子一
这个作者很懒,什么都没留下…
展开
-
WordPress index.php Redirects to Base Url
ProblemRecently, I was working on a website that needed to display a temporary home page, while an installation of WordPress was being worked on. The custom home page was being displayed as index.html. WordPress uses index.php, combined with mod_rewrite,原创 2020-09-05 13:33:46 · 296 阅读 · 0 评论 -
Permanent link to Renaming WordPress index.php
=Now as any developer who’s dabbled with WordPress knows, it’s easy to change the root directory location of WordPress so that directory structure wise different CMS systems can play nicely alongside one another.What about, however, the situatio原创 2020-09-05 13:25:31 · 469 阅读 · 0 评论 -
thinkPHP 5 nginx 部署时,只跳转首页的问题解决
在使用tp5时候把它部署到服务器上发现一个奇葩的事情,就是它默认访问config配置的默认页,无论怎么跳转到其他接口都不好使,最终重写了 Nginx 的配置文件解决了这个问题server{ listen 80; server_name www.XXXX.com; index index.php index.html index.htm; root /var/www/didu;原创 2020-06-29 11:12:56 · 914 阅读 · 0 评论 -
如何构建一个中型的 web 应用(全栈技术)
计算机界的轮子已经如此之多,我的观点是技术不转化成应用是没有价值的,本文主要挑选了一些技术,复用一些优秀的轮子,用最小的成本构建自己的 web 应用。主要内容界面设计boostrap twitter 出品的响应式框架,可以快速构建优美的前端界面material-design-lite Google 出品的Material Design 风格的前端框架前端库 /框架jquery 方便快捷地操纵 do转载 2017-06-01 23:43:17 · 377 阅读 · 0 评论 -
无法建立目录wp-content/uploads/xxxx/xx。有没有上级目录的写权限的解决方法
// 设置用户和群组sudo chown -R www:www /var/www// 设置文件夹权限为755sudo find /var/www -type d -exec chmod 755 {} ;// 设置文件权限为644sudo find /var/www -type f -exec chmod 644 {} ;环境二:虚拟主机安装Wordpress首先确认wp-conten...原创 2019-05-04 16:23:17 · 8278 阅读 · 0 评论 -
wordpress页面属性中没有模板选项下拉菜单
一、前言在wordpress后台新建页面的时候,页面属性中会有模版选项。但是发现,自己的wordpress新建页面中,并没有这个选项,这是为什么?二、解决办法出现以上的问题是由于php禁用了scandir函数。解决办法:1、编辑php.ini配置文件:vim /usr/local/php/etc/php.ini2、通过vim的查找,快速定位到scandir的位置,在disabl...原创 2019-05-07 12:01:59 · 2031 阅读 · 0 评论