WordPress.org

Ready to get started?Download WordPress

Forums

How is WordPress SEO? (4 posts)

  1. mkdub
    Member
    Posted 1 year ago #

    I have a stupid, yet important question.

    How is a Portfolio page optimized for Google to crawl, when it grabs all the content through PHP tags which are pulling from the DB.

    Google is not crawling Databases is it?

    Someone please clarify this form me.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Google doesn't crawl your Database, only your website.

  3. mkdub
    Member
    Posted 1 year ago #

    So how does WP work?

    The portfolio page in the theme I bought is literally just code pulling data from the DB.

    <div class="post-content">
      <?php the_content(); ?>
    </div>
  4. catacaustic
    Member
    Posted 1 year ago #

    Don't worry about what is in the source code of your themes templates. What you need to look at is the source code of your sites page when it's displayed. Google will index that HTML code only, nothing more and nothing less.

    As for how WP works, it gets the content from the DB for the page that it's on, runs it thorugh a series of filters to format the HTML, adds in any shrotcodes or other extras, and then outputs it to the browser. Of course that's a pretty simplified version of it, but unless you really want to go digging around in the source code, that's all you need to know.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.