How can I edit .htaccess file?

Maybe a little stupid but Where’s the .htaccess file ?

There’s no .htaccess file in Discourse because we don’t use Apache.

What are you trying to achieve?

5 Likes

Hi @Johani - I can embed a Discourse-hosted comments in my Ghost blog, but not self-hosted Discourse comments (it results in a blank div) - even though they are mirror settings. Could it be a CORS issue on the Digital Ocen (Ubuntu 20.04) server?

I’m not an expert on CORS, but did you check the cors origins settings in Discourse ? It might help to add your Ghost url

1 Like