simplefolio icon indicating copy to clipboard operation
simplefolio copied to clipboard

/well-known file

Open aditeyapatakoti opened this issue 2 years ago • 3 comments

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?

aditeyapatakoti avatar Dec 08 '23 15:12 aditeyapatakoti

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

YashaswiniIppili avatar Dec 11 '23 01:12 YashaswiniIppili

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

aditeyapatakoti avatar Dec 15 '23 12:12 aditeyapatakoti

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.

AtharvShinde2004 avatar Jan 31 '24 05:01 AtharvShinde2004