I had MODX Revolution installed by my hosting provider and subsequently I seem to have two ht.access files. One is located in the manager folder and the other is independent on its own. I have been trying endlessly to set up Friendly Urls on my site but every time I go to rename the ht.access file to .htaccess it will not let me and says the file format is not supported. Any advice on this issue will be greatly appreciated.
Step to reproduce
How to reproduce the issue, including custom code if needed.
How it behaved after following the steps above. Annotated screenshots here are excellent.
How it should behave after following the steps above.
Yeah you’ll need to edit the filename using FTP. If you have to use the file manager though then I think you can go into system settings and search for allowed file types and add a .htaccess file as an allowed file type, then you may be able to rename it.
Hi I am sorry, I made a mistake, it seems there is no system setting involved, my mistake. I’m a bit confused about that, but I went into my install and couldn’t find it.
I don’t think this has anything to do with htaccess, because the extra code I don’t think would affect things…actually not sure about that.
Now you can check for errors on your page using some online html checkers, that can help. Additionally, in your browser you can open ‘developer’s tools’ and this will give you a console where you can see the parts of the page loading, if something is wrong there could be error messages in there
But that code should work, could you paste your entire template to see what is going on?
Also, pls try using an extremely basic template, that base url code has to get in there somehow
I tried using one of my most basic pages and it seems to knock out all images for some reason. Text, menus and buttons all appear fine is just images it doesn’t like and also the URL doesn’t change it’s still /index.php?id=114