I am having a forward slash issue. Friendly URLS is turned on and set up and running well following instructions found through the forums and internet. I am also managing two URLs from one manager.
Problems
1. I have two folders in the root of one domain for two different languages en and es. These folders subsequently contain identical versions and page and container names but the actual content is in respective languages.
eg
mysite
-en
- subcontainer
- more stuff here etc
- subpage.html
-es
- subcontainer
- subpage.html
When I try to preview the en or es folder from the manager it tries to show me this:
www.mydomain.comen/ or www.mydomain.comes/ and omits the foward slash between the en and es and the domain name. If I try to preview a sub folder of the es or en containers I get something like www.mydomain.comes/teaching/ which still results (obviously) in an error. Of course I can override this by simply adding the forward slash, but not all my other editors have such common sense or insight.
2. My containers seem to need a trailing slash in the browser like so for example
www.mydomain.com/en/teaching/
if the final trailing slash is not there, the page doesn’t render, but the main problem is that NOR does it forward my user to the 404 page not found, it’s like a "container not found" kind of limbo.
www.mydomain.com/en/teaching . . . .this (note lack of trailing slash) results in an error.
Firefox gives me this: Firefox can’t find the server at www.mydomain.comen
if a user types this kind of error, then they are completely lost. If they type www.domain.com/thiscontainerdoesnotexist then it just forwards them to the 404 file not found page.
I am hoping there is a real simple answer though I just spent the whole working day looking for a solution.
Many thanks in advance to my more experience modx peers.