Client portal URL gives a problem when not terminated with /

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murugappan
    Active Community Member
    • Aug 2017
    • 497

    #1

    Client portal URL gives a problem when not terminated with /

    Hi

    When our clients access the portal using the URL as shown below, it just returns a simple message "@2022 EspoCRM" But when accessed the portal with "/" terminated URL it works fine. I need help to understand why this happens.

    Click image for larger version  Name:	Screenshot_2.png Views:	0 Size:	30.0 KB ID:	120052

    Click image for larger version  Name:	Screenshot_4.png Views:	0 Size:	36.9 KB ID:	120053
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9216

    #2
    Hello,

    Usually, the webserver should automatically redirect to the same URL with added trailing slash when accessing a directory without a slash. You need to configure your webserver. In Apache, it's done with "DirectorySlash On".
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9216

      #3
      I think I was not entirely correct as I assumed it's a folder structure. Now I see that it's an internal application's URL handled by rewrite rules.

      I think the best solution is to add a redirect to your webserver configuration, so that each time that URL without a slash is accessed, the webserver redirects it to the URL with an added slash.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...