modx revo friendly urls

2019-09-13 01:49发布

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.

Using nginx and php-fpm, FURLs are ON in .htaccess

So what am I doing wrong? Thank you very much

3条回答
我只想做你的唯一
2楼-- · 2019-09-13 02:20

The only thing that disturbs me is NGINX & .htaccess... htaccess is meant to be used with Apache web server. I guess having a look at http://rtfm.modx.com/display/revolution20/Nginx+Server+Config might be of any use :)

Hope that'll help.

查看更多
孤傲高冷的网名
3楼-- · 2019-09-13 02:20

Remember

Options +FollowSymlinks
RewriteEngine On
RewriteBase /

Or

Options +FollowSymlinks
RewriteEngine On
RewriteBase /your-path-from/

I've had no problems with friendly URLs in any of my...50 modx-pages over the years.

查看更多
女痞
4楼-- · 2019-09-13 02:43

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:

Use Friendly Alias Path = on

Check for Duplicate URIs Across All Contexts = on

Automatically generate alias = on [not necessary, just handy]

Are you getting the modx 404 error page or the apache 404?

But it sounds like you have not enabled furls in modx system->settings->freindly urls

查看更多
登录 后发表回答