Hello, all… I developed a site, and found myself using the “homepage” variable quite a bit. Then, when ramping up for launch, I removed “index.php” from the site. What I found was that any link on which I had used the homepage variable, e.g., <a href=”{homepage}/contact_us/”>, no had two slashes in the middle: http://www.sitename.com//contact_us.
So, the first question is: Is there a global way to fix this double slash issue? I already removed index.php with htaccess, and removed it in the admin/config area as well… and cleared the cache. But, the double slashes are still there.
Second question: What are some best practices in terms of adding links through EE? Is it best to use “homepage” or “site_url” or “path=...”? Maybe it’s best to remove index.php at the outset, when developing a site, then use “site_url” consistently?
Finally, easy way to teach people how to add relative links through the CMS?
Thanks for your responses… really appreciate it.