admin管理员组文章数量:1429064
Assume that I have a wordpress blog website.My question is,do wordpress create a new php file for each post I create or does it simply inserts to database and fetchs from database by query string? I read that it stores posts in database.But is it SEO-friendly?
Assume that I have a wordpress blog website.My question is,do wordpress create a new php file for each post I create or does it simply inserts to database and fetchs from database by query string? I read that it stores posts in database.But is it SEO-friendly?
Share Improve this question edited May 3, 2019 at 15:43 dudi asked May 3, 2019 at 15:36 dudidudi 134 bronze badges2 Answers
Reset to default 4You're asking several questions:
- Does WP create a new PHP file for each post? No, it does not. Your statement, "[insert] a database [record]," is correct. The record it creates for a post (and also many other post types) is in the
wp_posts
(your prefix may not bewp_
) table. - Is it SEO-friendly? This is a much more complicated question. The short answer is, "yes," but only if you get a lot of other things right.
There are times when WP uses a separate PHP file for a particular post (look in the Codex under Theme Development) but WP does not normally create any PHP files.
It seems that you think that having an individual PHP file for a post and the post being SEO-friendly are related. This is not really the case. Search engines don't really care much about the physical implementation of your website, just the HTML that's created.
There are many resources on making your site SEO-friendly. Most of the work is between the theme and the content on the site but there are many plugins that can help you.
This is a fairly complicated subject and specific methods change over time. If you can't find a good plugin that addresses your needs you may consider consulting a person or firm with SEO expertise to help.
Do know that a significant portion of the Internet runs WP and it is definitely possible to make WP SEO-friendly without a lot of modification. Also keep in mind that many SEO plugins are some of the most-used plugins in WP and therefore some of the most frequently attacked.
No, it is just pushing one record into the database. And about SEO friendly is or not depends upon the quality wording you have written in your post. And the images also matters a lot in this case. If you want a make a post SEO friendly make sure you are writing the image description, alt text, etc.
本文标签: phpDo wordpress create a new file for each new post
版权声明:本文标题:php - Do wordpress create a new file for each new post? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745506585a2661272.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论