Hi guys, I’m having a bit of a problem and I’ll do my best to explain what’s going on.
I’m in the process of converting my existing website from static html pages to modx with friendly urls, while maintaining all the existing urls as they are.
In my current static site I have a directory named ’gallery’. In this directory is a page named ’index.html,’ which is an index of, and contains links to, all the other pages in this directory. The urls to these pages look like ’mysite.com/gallery/article1.html,’ ’mysite.com/gallery/article2.html,’ etc. The only reason I needed this darned index.html page in the first place is because the Google bot refused to spider the pages in this directory without it.
In my site’s current static configuration, I can get to this gallery/index.html page from either ’
http://mysite.com/gallery’ or ’
http://mysite.com/gallery/index.html’. But there’s no gallery.html
I’m having some difficulty getting things configured to work like this in modx. Right now I have a container named ’gallery,’ with the alias url set as ’gallery’, and have all the html for the page links in this page’s Resource Content section. But this page’s url is now ’mysite.com/gallery.html.
If I create a page named index.html
inside the gallery directory, I can’t get it to appear in my menu bar, which I assume is because it’s not a container.
I could do what I’m trying to do by duplicating the content in both the gallery.html page
and the gallery/index.html pages, but I was hoping to avoid this route.
Any assistance on how to handle this problem would be greatly appreciated. This is one of the last stumbling blocks I have on the road to getting my site up and running!
Cris