Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/well-known file #285

Open
aditeyapatakoti opened this issue Dec 8, 2023 · 3 comments
Open

/well-known file #285

aditeyapatakoti opened this issue Dec 8, 2023 · 3 comments

Comments

@aditeyapatakoti
Copy link

Hi i was wondering how to make a directory for a discord connection. Discord wants me to create a file called "discord" in a .well-known folder. Where exactly would I create the file and folder in the simplefolio template?

@YashaswiniIppili
Copy link

Usually, you'd create them in either a "public" folder or just the root directory. What exactly do you plan on doing ?

@aditeyapatakoti
Copy link
Author

Well my website is called "apthedev.netlify.app" I need to make a directory called "apthedev.netlify.app/.well-known/discord" with information in the file for /discord. I tried creating a folder called .well-known with a file called discord underneath it but it didn't work..
image

@AtharvShinde2004
Copy link

The .well-known folder is typically used for hosting well-known resources or metadata for your website or web application. In the context of Discord, it might be used for verification purposes or other related tasks.

If you're using a template like Simplefolio for a website, you'll need to make sure that your server configuration allows access to the .well-known folder. The structure of your project may vary, but in general, you should create the .well-known folder in the root directory of your project.

Here are general steps to follow:

  1. Navigate to the root directory of your Simplefolio project.

  2. Create a new folder called .well-known. You can do this through your file explorer or by using terminal commands. For example, in the terminal, you could run:

    mkdir .well-known
  3. Inside the .well-known folder, create a file called discord. Again, you can do this through your file explorer or using terminal commands. For example:

    touch .well-known/discord
  4. Add the necessary content or data to the discord file as required by Discord. This information is usually provided by Discord itself, and it might be related to domain verification or other integrations.

  5. Make sure your web server is configured to serve files from the .well-known folder. This may involve configuring your server's .htaccess file or making adjustments to your server configuration.

Keep in mind that the specifics of your project and server setup may vary, so you might need to consult the documentation for the Simplefolio template or your web server to ensure the proper configuration.

Additionally, if Discord provides specific instructions for integrating with your website or template, be sure to follow those instructions closely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants