RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^edent3.zz\.mu [NC] RewriteRule (.*) http://www.edent3.zz.mu/$1 [R=301,L] # Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working RewriteBase / # DO NOT REMOVE THIS LINE AND THE LINES BELOW ERRORPAGEID:qyLuQy ErrorDocument 404 /404.html # DO NOT REMOVE THIS LINE AND THE LINES ABOVE qyLuQy:ERRORPAGEID # The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
This question has been answered by multiple community members. See the first response.
Is the site in a subdirectory?Site is in root directory.
I also tried to change ht.access, but it gave me no result
Do you have the tag <base href="[[++site_url]]"> in your template's head?Yes,
<!DOCTYPE html> <html> <head> <link rel="shortcut icon" href="/assets/images/favico.png" type="image/png"> <title>[[++site_name]] - [[*pagetitle]]</title> <base href="[[++site_url]]" /> </head> ...
Yes.I also tried to change ht.access, but it gave me no resultDid you rename it to .htaccess
Do you have multiple front-end contexts (i.e., other contexts besides 'web')?I'm not sure, i think - no.
With Friendly URLs enabled, the MODX makeURL() function will create a URL like "page.html". ...
... and gives it to MODX as "index.php?q=page.html". Then MODX parses that to determine which resource has that alias, or alias path in the case of "q=parent/page.html".this part works as should.
Try turning off the FURLs System Setting, logging out, deleting all files in the core/cache directory, then logging in and turning them back on.
If you just go to yoursite.com, does your home page come up?
Is the site running IIS (as opposed to Apache), or nginx?