I am having problems with FURLs, I thought it was going to be
just like the Evo FURLs. So it is partially working.
I don’t have aliases hand written so I enabled automatic alias creation,
I have all four FURL settings set to Yes: enables, aliases, path and the other one...
This is my .htaccess:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_abc*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
#Options -Indexes
AuthName mydomain.com
AuthUserFile /home/domain/public_html/_abc_pvt/group.pwd
AuthGroupFile /home/domain/public_html/_abc_pvt/group.grp
# MODx supports Friendly URLs via this .htaccess file. You must serve web
# pages via Apache with mod_rewrite to use this functionality, and you must
# change the file name from ht.access to .htaccess.
#
# Make sure RewriteBase points to the directory where you installed MODx.
# E.g., "/modx" if your installation is in a "modx" subdirectory.
#
# You may choose to make your URLs non-case-sensitive by adding a NC directive
# to your rule: RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
RewriteEngine On
RewriteBase /
# Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^example-domain-please-change\.com [NC]
#RewriteRule (.*) http://example-domain-please-change.com/$1 [R=301,L]
#
# or for the opposite domain.com -> www.domain.com use the following
# DO NOT USE BOTH
#
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]
# Rewrite secure requests properly to prevent SSL cert warnings, e.g. prevent
# https://www.domain.com when your cert only allows https://secure.domain.com
#RewriteCond %{SERVER_PORT} !^443
#RewriteRule (.*) https://example-domain-please-change.com.com/$1 [R=301,L]
# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC]
The top lines are the ones that I need for hosting...
I did not include all the stuff that is commented out
in the MODx ht.access file.
When I go to a page it does not shows the ?id=4 anymore,
it shows the doc numbers:
http://www.mydomain.com/1/3/17
some of them without the html, some with:
http://www.mydomain.com/1/2/28.html
I have a feeling that it is not working for the documents created
before I activated the FURLs because the latest document shows something
like this:
http://www.mydomain.com/1/2/7/The-new-topic.html
Anybody knows how to fix this behaviour?