Cannot update Content URL on RStudio Connect

There is nowhere for me to edit the vanity URL on RStudio Connect. In the image below, the /demo-api/ input area is not available on my screen. What am I doing wrong?

Hello @danielludolf !

Is it present, but just "greyed out" / not writeable for you? By default, only Administrators have access to create "Vanity URL"s or "Content URL"s. However, it can be enabled for publishers with the following setting in the /etc/rstudio-connect/rstudio-connect.gcfg file:

[Authorization]
PublishersCanManageVanities = true

We explain this in more detail here: Content Settings - RStudio Connect: User Guide

With the NOTE being the important part for your case. I hope that is helpful and that I am understanding your question properly!

Thanks @cole!

I found another way around my issue. I used bookdown's publish_book function to add the name I wanted to be a part of the vanity URL. Also, the Publish to Server button in RStudio allows for a Title input field which I was overlooking.

1 Like