问题描述
刚刚开始使用MODX Revo.当我在MODX(Revo)中制作新文档时,填写其别名(例如' TESTALIAS ')并尝试获取 mydomain/TESTALIAS .我收到错误消息 404 .
Just started to use MODX Revo.When I make new document in MODX(Revo), fill its alias (for example 'TESTALIAS') and trying to get mydomain/TESTALIAS I'm receiving mistake 404.
使用nginx和php-fpm,在 .htaccess
Using nginx and php-fpm, FURLs are ON in .htaccess
那么我在做什么错了?非常感谢
So what am I doing wrong? Thank you very much
推荐答案
如果您已经建立了站点,浏览了一下,然后打开了Furl,请清除您的modx缓存. [实际上删除所有文件]还要确保不仅在modx中启用了Furl,而且还确保:
If you have built the site, browsed around a bit and THEN turned on furls, clear your modx cache. [actually delete all the files]Also make sure that not only furls are enabled in modx but that:
使用友好别名路径=上
检查所有上下文中是否有重复的URI =
Check for Duplicate URIs Across All Contexts = on
自动生成别名= [不需要,就方便了
Automatically generate alias = on [not necessary, just handy]
您是否收到modx 404错误页面或apache 404?
Are you getting the modx 404 error page or the apache 404?
但是听起来您尚未在modx系统->设置->友善的网址中启用url
But it sounds like you have not enabled furls in modx system->settings->freindly urls
这篇关于modx revo友好网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!