Answer the question
In order to leave comments, you need to log in
Why does XAMPP redirect to localhost/dashboard when visiting friendy url MODX?
There was a problem and it arose not only for me, but I did not find an adequate solution. The bottom line is that the "Friendly URLs" feature does not work on XAMPP. The ht.access file has been renamed to .htaccess, the friendy urls settings are on the screen below:
When you navigate to the alias:
i.e. the following url:
takes me back to the localhost/dashboard/ page (I tried to write something like localhost/diagnostika.html, as indicated in the tooltip on one of the screenshots attached above, but gives an error Object not found ). Help me solve the problem, thank you very much in advance))
Answer the question
In order to leave comments, you need to log in
Hello everybody!
Check in httpd.conf check #LoadModule rewrite_module path/to/mod_rewrite.so
If present # - remove #
For XAMPP, you need to write RewriteBase /your-site-name/
in your case RewriteBase /modx-hospital in the .htaccess file in the root of your site /
All health!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question