# If your MODx installation is in a subdirectory, change the following line to match the physical # path to the "root" of the site as follows: # RewriteRule ^(.*)$ /path/to/subdirectory/index.php?q=$1 [L,QSA]
RewriteRule ^(.*)$ /modx/index.php?q=$1 [L,QSA]
I gave this a try but I get the same result. I go to the main page fine but when I click on a link I get the same 404 error saying it couldn’t find the page. These links work fine if I switch to non-furl mode.
# If your MODx installation is in a subdirectory, change the following line to match the physical # path to the "root" of the site as follows: # RewriteRule ^(.*)$ /path/to/subdirectory/index.php?q=$1 [L,QSA]
is probably the answer to your problem. If you have your MODx installed in a subfolder of your web space (such as /modx/) then you need to use the above line, like
RewriteRule ^(.*)$ /modx/index.php?q=$1 [L,QSA]
Yes, go to modx.pngid.com and then click on Simple Blog or Easy Comments. Thanks for taking a look
Do you have a link so we can take a look at what’s happening?
I don’t understand your question well enough to answer it accurately. What is a "hosting root folder?" At the 1and1 domain admin panel, I set up a "destination" for any domain or subdomain. In my specific case, I have modx.pngid.com set to the destination directory "name_modx1". As far as I know, this directory is now considered the "root". I did not add any sub directories. I installed the MODx 0.9.2.1 files via an FTP client into this "root" directory.
What is the actual directory from your hosting root folder?
e.g. /subdomains/modx ?
# Make sure RewriteBase points to the directory where you installed MODx.
In my FTP client, index.php is in the root, so it would be /index.php.
What is your full path to your index.php file?
example: /home/sites/mysite.com/public_html/
RewriteBase /
This discussion is closed to further replies. Keep calm and carry on.