ModX Revo: friendly URLs not working

一笑奈何 提交于 2019-12-23 05:09:30

问题


This seems to be a common issue but I have tried all the suggestions and none work.

The issue is when I turn on Friendly URLs in ModX Revo all my links get broken (404s). The URLS do appear correct with the alias after them.

Heres what I've tried:

  • Changing ht.access to .htaccess
  • Ensuring the correct path is present in MODX_BASE_PATH in the confic.inc.php file
  • Ensuring all FURL settings in System Settings are ok and correct
  • Clearing browser and ModX caches

If anyone can suggest something I've missed that would be great! Thanks


回答1:


Need some mroe info:

Are you developing locally (WAMP, MAMP..)? If you are make sure that you have mod_rewire enabled in your apache settings. If not make sure it's enabled with your host.

Are you typing the urls in the browser manually (without wayfinder)? (www.yoursite.com/somepage)




回答2:


OK I set FURL Lowercase Alias's to 'No' in the ModX System Settings and it now works... I do not know why but there you have it...

Perhaps this is because I specified the Resources Alias' before I turned FURLs on and thus they did not actually convert them to lower case




回答3:


I realize this is an old question but I just install REVO tonight and had issues with FURLs returning 404 errors after I enabled all the settings. What I DIDN'T do was rename the htaccess. Once I renamed that to .htaccess everything is fine. Stupid mistake made with too little sleep but I thought I should post it in hopes I can save someone some wasted time.



来源:https://stackoverflow.com/questions/12487540/modx-revo-friendly-urls-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!