# Base\_url\_no\_prefix actually base\_url\_no\_suffix?

**URL:** <https://meta.discourse.org/t/base-url-no-prefix-actually-base-url-no-suffix/94797>\
**Category:** Development\
**Created:** [15.Август.2018 13:49:28 UTC](https://meta.discourse.org/t/base-url-no-prefix-actually-base-url-no-suffix/94797 "2018-08-15T13:49:28Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)\
**Post date:** [06.Ноябрь.2018 16:21:28 UTC](https://meta.discourse.org/t/base-url-no-prefix-actually-base-url-no-suffix/94797/11 "2018-11-06T16:21:28Z")

</div>

> [@neil](#):
>
> I thought @LeoMcA wanted `base_url_no_prefix` to mean removing the “http://” which is a change of value and will cause bugs.

I more meant that that’s what it meant in my head, rather than wanting a method which does that to be named `base_url_no_prefix` (there’s no method named anything which does that currently IIRC).

If there was to be a method I’d suggest it be called `base_url_no_protocol`, but I’m not sure it’s necessary since `current_hostname` and `base_uri` can just be concatenated.

---

_[View the full topic](https://meta.discourse.org/t/base-url-no-prefix-actually-base-url-no-suffix/94797)._
