WordPress.org

Ready to get started?Download WordPress

Forums

Where does wordpress keep content (12 posts)

  1. giantman
    Member
    Posted 3 years ago #

    Where does wordpress keep the folders and files for blogs?

    Ex: http://www.mysite.com/blog/2010/

    I logged in through FTP and through godaddy and none of the folders or files are there.

    I used teleport pro webcrawler on my site and its finding the folders and files on my site such as the comment pages, post pages, blog posts, ect....but why aren't they there when I browse my site via FTP or through godaddys file manager.

    [Post title edited.]

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    its in your database.

    all your posts, etc go in your database. No actual physical files exist. You can find that on the godaddy interface too... under databases-mysql

  3. James Laws
    The WP Ninjas
    Posted 3 years ago #

    Umm. WordPress pages and directories are virtual and not actual physical items. When you visit a post, page or archive it load the appropriate template from your theme and then get the content from you database. No actual directories or physical pages are created.

  4. giantman
    Member
    Posted 3 years ago #

    Then how is Teleport Pro Webcrawler finding them? And how is Google supposed to list my blog posts in their search engines if there is no .html for the post....

  5. James Laws
    The WP Ninjas
    Posted 3 years ago #

    Google and other search engines see your site just like anyone else does. They visit your url and your server puts it all together and serves it to them. And they index it.

    Even though they are virtual, search engines see them no differently than actual physical pages and directories.

  6. giantman
    Member
    Posted 3 years ago #

    ohhh I see now.

    While on the subject of google: Is there a way to "Disallow all" in robots.txt with GoogleBot as an exception. Allow "googlebot" and then after that "Disallow all" or something?

  7. giantman
    Member
    Posted 3 years ago #

    User-agent: Adsbot-Google
    Disallow:

    User-agent: Googlebot
    Disallow:

    User-agent: Mediapartners-Google
    Disallow:

    User-agent: *
    Disallow: /

    OR

    User-agent: Adsbot-Google
    Allow: /

    User-agent: Googlebot
    Allow: /

    User-agent: Mediapartners-Google
    Allow: /

    User-agent: *
    Disallow: /

  8. James Laws
    The WP Ninjas
    Posted 3 years ago #

    Yeah you can. Something like:

    User-agent: *
    Disallow: /
    User-agent: Googlebot
    Allow: /

  9. giantman
    Member
    Posted 3 years ago #

    Will this work:

    User-agent: Adsbot-Google
    Allow: /
    Disallow: /cgi-bin/
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/cache/
    Disallow: /wp-content/themes/
    Disallow: /wp-login.php
    Disallow: /wp-register.php
    Disallow: /*.php$
    Disallow: /*.js$
    Disallow: /*.inc$
    Disallow: /*.css$
    Disallow: /*.gz$
    Disallow: /*.wmv$
    Disallow: /*.cgi$
    Disallow: /*.xhtml$
    Disallow: /*.xlsx $
    Disallow: /*.doc$
    Disallow: /*.pdf$
    Disallow: /*.zip$

    User-agent: Googlebot
    Allow: /
    Disallow: /cgi-bin/
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/cache/
    Disallow: /wp-content/themes/
    Disallow: /wp-login.php
    Disallow: /wp-register.php
    Disallow: /*.php$
    Disallow: /*.js$
    Disallow: /*.inc$
    Disallow: /*.css$
    Disallow: /*.gz$
    Disallow: /*.wmv$
    Disallow: /*.cgi$
    Disallow: /*.xhtml$
    Disallow: /*.xlsx $
    Disallow: /*.doc$
    Disallow: /*.pdf$
    Disallow: /*.zip$

    User-agent: Mediapartners-Google
    Allow: /
    Disallow: /cgi-bin/
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/cache/
    Disallow: /wp-content/themes/
    Disallow: /wp-login.php
    Disallow: /wp-register.php
    Disallow: /*.php$
    Disallow: /*.js$
    Disallow: /*.inc$
    Disallow: /*.css$
    Disallow: /*.gz$
    Disallow: /*.wmv$
    Disallow: /*.cgi$
    Disallow: /*.xhtml$
    Disallow: /*.xlsx $
    Disallow: /*.doc$
    Disallow: /*.pdf$
    Disallow: /*.zip$

    User-agent: *
    Disallow: /

    Will that allow all except for the Disallow'd on Google's bots?

  10. giantman
    Member
    Posted 3 years ago #

    Or does the Disallows interfere with the Allow: / ?

  11. mrmist
    Forum Janitor
    Posted 3 years ago #

    If you want to test your robot rules, sign up for Google Webmaster Tools and use their functionality to check them out from the bot perspective.

  12. James Laws
    The WP Ninjas
    Posted 3 years ago #

    The last one should be first

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.