-
- 56 Posts
I am experiencing a very similar issue but I am not using Gallery.
Using Modx version 2.2.14 traditional.
Everything was working normally until I set up friendly url's.
htaccess forces the site to go to www.exampledomain.com
However, when I opened manager i had been using exampledomain/manager.com, the result was nothing was working in manager.
After i log out & back in using www.exampledomain/manager.com I found that the only part not working is the resources tree. In Elements & Files I can save stuff.
The icons are no longer available in Resources and I can no longer create new pages (even when using 'site/newdocument' i get access denied when trying to save it.
I have tried every conceivable combination of flushing cache/permissions & browser cached but nothing seems to work.
Anyone got any ideas what I can do here?
I just got friendly urls working, I do not want to remove them already.
Make sure cookies for your domain are deleted.
Just making sure that you don't have any stale cookies hanging around.
Try going to the /manager/ directory and copying the ht.access file there to .htaccess; all it should be doing is turning the RewriteEngine off for the manager.
-
- 56 Posts
Hmmmm,
I found in Manager directory one .htaccess file, it only has one line;
RewriteEngine Off
Surely this is correct???
I don't know what these lines do
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*(default|index)\.(html|php|htm)\ HTTP/ [NC]
RewriteRule ^(([^/]+/)*)(default|main|index)\.(html|php|htm)$ http://www.example.com/$1 [L,R=301]
The Manager uses a lot of AJAX, so it's quite possible that something in the root directory's .htaccess could be interfering with the AJAX requests.
-
- 56 Posts
Its purpose is to return only 1 url, for the home page there were 3 variants of the url so this is viewed as duplicate content.
The code works for the homepage (always 1 url returned) although I'm unsure what other implications that using this can produce (i just c&p the code from a google search).