WordPress.org

Ready to get started?Download WordPress

Forums

how to install file in virtual subdirectory (6 posts)

  1. amadeus39
    Member
    Posted 9 months ago #

    I'm running WP multisite. Google wants to verify I own a site that is installed in a subdirectory by putting their file in it. The FTP program I use doesn't "see" the virtual subdirectory; neither does cPanel. How to install Google's file ? Lost in never, never land.

  2. You'd use a plugin or .htaccess.

    There are a lot of plugins that let you use the meta value instead of a file, but if you do .htaccess, just upload the file and then put in a rewrite for the subfolder.

  3. amadeus39
    Member
    Posted 9 months ago #

    Thanks for your reply Mika, but it went over my head. Google wants me to upload the HTML file they sent me. I don't understand how to upload a file to a directory I can't see. I normally FTP files to my websites.

  4. Google wants me to upload the HTML file they sent me.

    You're not reading GOOGLE'S directions then, cause I promise you, Google gives you options. There are four ways to do this, and an HTML file is only one.

    Read this: https://support.google.com/webmasters/answer/35179?hl=en

    Use one of those other methods, and if needed, use a WordPress plugin for it.

    I just let it pick up my Google Analytics codes.

  5. amadeus39
    Member
    Posted 8 months ago #

    From your link, the methods appear to be:
    _____________________________________________________________
    Add a meta tag to your home page (proving that you have access to the source files). To use this method, you must be able to edit the HTML code of your site's pages.
    Upload an HTML file with the name you specify to your server. To use this method, you must be able to upload new files to your server.
    Verify via your domain name provider. To use this method, you must be able to sign in to your domain name provider (for example, GoDaddy.com or networksolutions.com) or hosting provider and add a new DNS record.
    Add the Google Analytics code you use to track your site. To use this option, you must be an administrator on the Google Analytics account, and the tracking code must use the new asynchronous snippet.
    _____________________________________________________________

    I have the site I need to verify in a virtual sub-directory. I don't see I can use any of the first three methods.

    I don't understand the fourth.

    Using a plug-in to upload the Google verification HTML file was mentioned previously. How does one do that? What plug-in?

    Thanks.

  6. First off, here are two that require absolutely no editing of any files:

    Verify via your domain name provider. To use this method, you must be able to sign in to your domain name provider (for example, GoDaddy.com or networksolutions.com) or hosting provider and add a new DNS record.

    That doesn't need any file editing.

    Add the Google Analytics code you use to track your site. To use this option, you must be an administrator on the Google Analytics account, and the tracking code must use the new asynchronous snippet.

    This is done by adding in Google Analytics, which can be done via plugins. Install a GA plugin to track your site then tell Google you did it.

    As for a plugin to let you add in the meta code? WordPress SEO by Yoast is one.

Reply

You must log in to post.

About this Topic