display ini file | WordPress.org

[ad_1]

Your link points to an .ini file, but has the same structure as the .ini file. What exactly is your problem? Can’t you upload the file as .ini? Or do you need a central, constant URL no matter what kind of file you upload?

@threadi right now its a txt file, since that is the only way I could get it to work, I found a plugin that allows me to upload it as a ini file. but when I do it will not display it it down loads it, here let me get one set up to show you.

This link is the ini file. I want it to display like the arkdedicated link, not download.

The specification that the browser should save the file when downloading is set by your web server. WordPress doesn’t affect that.

As far as I can see you are using nginx as a web server. There must be a setting stored there. In my local test with nginx this doesn’t happen with ini files.

@threadi Thank you that lead me in the correct direction to resolve the issue. I had to update the mime.type config file fix it.

Glad I could help. You are welcome to mark the topic as solved.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer