robots.txt and .htaccess don't show in root directory on FTP

I can’t find .htaccess or robots.txt inside root directory when using FTP for a domain I moved to WPMU DEV hosting.

robots.txt was hidden but I could access it directly from here https://wpdeveloper.ie/robots.txt. So later I created this file manually and now it’s showing.

It seems .htaccess file is there too but hidden. Also, I want to change CHMOD on them so I can edit within WP.

  • Adam
    • Support Gorilla

    Hello Niall

    I hope you’re well today!

    There’s no physically existing “robots.txt” file in WordPress by default. WordPress is using and creating “virtual” file that’s dynamically generated – the real file does not exist unless you do create it (which is perfectly fine, it’s just not a default option).

    As for the .htaccess.

    There’s no .htaccess on WPMU DEV Hosting and there’s no need to create it either because it won’t help/change anything. .htaccess is used with Apache webserver while WPMU DEV Hosting is based on nginx which doesn’t use .htaccess.

    If there’s any specific change that you would wont to do to the site/server using .htaccess, could you please tell me what that is? I’ll then see what would be other ways to achieve them, taking into account that .htaccess is not an option here.

    Best regards,

    Adam