CAll Us: +1 888-999-8231 Submit Ticket

WordPress Posts vs. Pages: What’s the Difference?

WordPress pages vs postsPages and posts are what make WordPress such a versatile platform for content curation. Each offer unique advantages for both on-page and off-page elements, including design, functionality, aggregation, and SEO.

If you’re worried whether you’re using posts and pages correctly, keep reading. This article aims to look at the differences and provide a clear rationale for what content should go where.

 

What Is a WordPress Page?

A WordPress page is a static webpage. That’s a page that doesn’t change and isn’t part of an aggregated list. Some good examples of pages include your about page, policy pages, and any legal pages. The reason these work best as pages is that they are core pages that will not disappear from your site.

By default, pages are hierarchical. This means that some pages are given more importance than others. For example, the page at www.mysite.com/ is seen as more important than the page at www.mysite.com/page/idea. This allows for pages to be easily navigated by users and crawled by search engines.

For SEO, pages are perfectly suited to short tail keyword optimization. This means keywords with high competition and traffic volume.

What Is a WordPress Post?

A WordPress post is at the center of the CMS blogging functionality. If you’re using WordPress in order to blog, you’ll spend most of your time creating posts.

Posts are different from pages as they can be aggregated and curated in chronological order. This is done by content being archived based on the month and year it was created. Readers can then access the most recent content first. However, because of this older content is often harder to find.

One of the reasons posts are better for certain types of content is because they allow site owners to develop a community. Social sharing plugins allow for content to be shared on platforms such as Facebook, Twitter, and LinkedIn and readers can leave comments and interact with one another.

Additionally, the editing experience is slightly different with posts. Down the right-hand side of a WordPress post, you’ll see several additional options that you won’t find on a page. This includes categories, tags, permalink, and excerpt. We’ll discuss these in more detail later.

WordPress Pages vs. Posts Summary


Pages

Posts

Best for core/navigational pages Best for blog posts
Allows hierarchy structure Allows chronological ordering
Allows custom design Allows social sharing
Is a static page Allows commenting
Not aggregated in RSS feed Aggregated in RSS feed
Always easy to find Can be hard to find over time
Best for short tail SEO content Best for long tail SEO content

The Features of WordPress Posts and Pages

Posts and pages have different functionalities available to them. The main differences are shown in the table below.


Feature

Pages

Posts

Comments Yes (but not shown) Yes
Author Yes (but not shown) Yes
Publish Date Yes (but not shown) Yes
Categories & Tags No Yes
Archive Ability No Yes
“Sticky” No Yes
Post Format No Yes
RSS Feed No Yes
Static Pages Yes No
Custom Ordering Yes No
Custom URL Structure Yes No

When to Use WordPress Pages or Posts

Pages and posts were created because they work best with different types of content. To help you get a better idea of what types of content should go where, we’ve put together some common examples.

Social Content: Posts

WordPress posts should be your go to if you’re planning on sharing the content socially through platforms like Facebook and Twitter. You can install social sharing plugins to fully optimize your WordPress site for this. WP Social Sharing is a popular option for many site owners.

Business Updates/ Press Releases: Posts

If you’re looking to provide users with a quick update or information on new developments in your business or industry, opt for a post. Posts allow readers to see more recent content first, and as it ages it is automatically archived. Moreover, readers will be able to comment and discuss the developments on the same page.

Blog posts should be posts in wordpress and not pages

Blog Entries: Posts

If you’re a blogger looking to create lots of content around a specific niche, then you’re probably going to be working with Posts. Posts let you easily group content with tags so it can easily be sorted thematically. This works especially well for travel bloggers, who are likely to create a lot of content based on each of the places they visit.

Posts also allow readers to access the most recent articles quickly and make it easier sharing on social media.

Tutorials: Posts

If you’re creating tutorials then posts are a better option. Posts allow for tagging and categories so you can sort the content thematically. Custom navigation pages that show all content under a particular tag or category can also be created easily by doing this.

Posts are also optimized for sharing tutorials on social media and attracting a community. Each tutorial will quickly populate with user-generated questions and answers, as readers are able to post comments on the same page.

If you want to get really fancy, it’s possible to create a custom post type in WordPress that dispenses with post features that you don’t need. For example, you can remove dates so that tutorials no longer seem ‘dated’ after a few months.

Content That Requires a Unique Design: Pages

Whether you’re creating pages with the new Gutenberg editor, the classic WYSIWYG, or have decided to use a page builder plugin, some pages will need to look unique.

Pages are the best option as posts come with specific layout settings. This is great for creating thematic links across your site, but can be a hindrance when you want something a little different. Pages are easily customized through the editor and CSS.

An About Page should be a page and the editor will look like this

About: Pages

Your about page will always be there. It will probably change over time as you update your company information, but you’re unlikely to remove it. For this reason, a page is your best choice.

Homepage: Pages

If there is one page on your site that won’t disappear, it’s the homepage. For many visitors, it will be one of the first pages they visit, meaning a unique design can make all the difference between leaving instantly, or clicking through. In case you haven’t already guessed, your homepage should be a page, not a post.

Navigational Content: Pages

By navigational content, we mean locations where several different articles or posts are brought together with a series of links. A good example in the travel niche is destination pages. These pages provide information on a destination and then link out to several different articles that look at that destination in more detail.

For tutorials, this page may provide an introduction to the course, along with a general overview, and a list of the individual lessons. readers will then be able to use this page to navigate to the tutorial they are looking for.

Navigation pages are unlikely to disappear, even if the content itself will change. These pages are not optimized for social sharing, but users are much more likely to share individual articles than they are the overview.

How will wordPress posts and pages affect SEOWordPress Posts vs Pages SEO

WordPress posts and pages differ in the way that they present on-page content to search engines. This can affect a piece of content’s SEO. However, neither a page nor a post are necessarily more beneficial than the other. Rather, the type of content that you place into either is what will lead to its real SEO benefits.

Our advice above applies to choosing the right format for the right content. If you have difficulty deciding on what is best for a piece of content not mentioned above, the general rules are as follows:

  • Posts are best for content that will be (somewhat) regularly updated or changed.
  • Posts are best for content that you want to share socially and allow commenting on.
  • Pages are best for content that will remain (for the most part) the same.
  • Pages are best for content where you want to target SEO short tail keywords.

Is There a limit on How Many Posts or Pages Can Be Created?

Nope. You can create as many posts or pages as you want with WordPress. The only limiting factor is your hosting storage. See our cloud solutions for examples of different hosting storage allowances.

 

Posted in:
WordPress

Source link

How to Investigate Disk Space Usage From the Command Line

How to Investigate Disk Space Usage From the Command LineEach of our plans establishes a disk-usage limit. If you receive an email with an alert that says you’re nearing this limit, ignoring it can hamper the operability of your website and other associated services, such as email.

Before you call our Sales team to ask about an upgrade, it’s almost always worthwhile to investigate the cause of this usage. Common unknown sources of data are large log files, old backups, full size media, or email. The most efficient way to determine the exact cause involves the command line.

If you have little-to-none experience with the command line, start with the ncdu command. If you’re no stranger to the command line, find and du may be of more interest to you. In addition to finding problem files, they can give you a better understanding of your site’s file structure and operation.

ncdu

The ncdu command can quickly locate the source of high disk usage with minimal command line experience. This command provides a numerical output, as well as a visual indicator of the most space-hungry files.

Run the command ncdu, then use the arrow keys on your keyboard to navigate. The up and down keys go through the list vertically. The right arrow goes deeper into directories, and the left key withdraws from directories.

The following shows some example output:

 ncdu 1.12 ~ Use the arrow keys to navigate, press ? for help
--- /chroot/home/examplec/example.com/html ---------------------
501.6 MiB [##########] /vendor
228.0 MiB [#### ] /var
76.6 MiB [# ] /dev
27.3 MiB [ ] /lib
21.2 MiB [ ] /update
12.9 MiB [ ] /setup
5.6 MiB [ ] /generated
660.0 KiB [ ] composer.lock
428.0 KiB [ ] CHANGELOG.md
316.0 KiB [ ] /pub
196.0 KiB [ ] /app
40.0 KiB [ ] /.github
16.0 KiB [ ] /phpserver
12.0 KiB [ ] .htaccess.sample
12.0 KiB [ ] .htaccess
12.0 KiB [ ] LICENSE_AFL.txt
12.0 KiB [ ] LICENSE.txt
12.0 KiB [ ] /bin
8.0 KiB [ ] index.html
8.0 KiB [ ] nginx.conf.sample
e 4.0 KiB [ ] /cgi-bin
4.0 KiB [ ] Gruntfile.js.sample
4.0 KiB [ ] composer.json
4.0 KiB [ ] .travis.yml
4.0 KiB [ ] .php_cs.dist
4.0 KiB [ ] .gitignore
4.0 KiB [ ] package.json.sample
4.0 KiB [ ] index.php
4.0 KiB [ ] robots.txt
4.0 KiB [ ] php.ini.sample
4.0 KiB [ ] COPYING.txt
4.0 KiB [ ] auth.json.sample
4.0 KiB [ ] .user.ini
4.0 KiB [ ] grunt-config.json.sample
4.0 KiB [ ] magento_umask
Total disk usage: 875.0 MiB Apparent size: 710.2 MiB Items: 92561

find and du

The find command can help locate files using a large amount of disk space, and you can even designate the size of files to locate.

The below command searches for any file that is larger than 10 megabytes (MB) in your working directory or lower.

find -type f -size +10M

The type -f  command looks only for files, and the -size +10M command looks for anything larger than 10 MB.

When executed, the output looks something like:

$ find -type f -size +10M
./html/vendor/endroid/qr-code/assets/noto_sans.otf
./html/vendor/magento/magento2-base/dev/tests/acceptance/tests/_data/large.jpg
./html/dev/tests/acceptance/tests/_data/large.jpg
./html/var/log/system.log
./html/var/backups/1546966441_filesystem_code.tgz
./iworx-backup/example.com+full-Jan.08.2019-11.51.23.tgz

You can refine the find command further by combining it with the du command, which will show the size of the files.


$ find -type f -size +50M -exec du -h {} ;
107M ./html/var/log/system.log
111M ./html/var/backups/1546966441_filesystem_code.tgz
118M ./iworx-backup/example.com+full-Jan.08.2019-11.51.23.tgz

In the above example, the -exec command executes a command on the files found by find command. In this case, it’s the du command with the -h flag, which provides output in a human-readable format. The {} orders the command to run on the found files, and the ; indicates there are no further arguments.

The du command can also be used independently to list the size of files and folders, providing output like:


du -sch *
196K app
4.0K auth.json.sample
12K bin
4.0K cgi-bin
428K CHANGELOG.md
4.0K composer.json
660K composer.lock
4.0K COPYING.txt
77M dev
5.7M generated
4.0K grunt-config.json.sample
4.0K Gruntfile.js.sample
8.0K index.html
4.0K index.php
28M lib
12K LICENSE_AFL.txt
12K LICENSE.txt
4.0K magento_umask
8.0K nginx.conf.sample
4.0K package.json.sample
4.0K php.ini.sample
16K phpserver
316K pub
4.0K robots.txt
13M setup
22M update
228M var
502M vendor
875M total

You have several good options for arguments. The -s argument gives the total usage of a directory and its contents, the -c argument provides a grand total of all of the contents on the last line, and the -h argument outputs the contents in a human-readable form.

For more examples of du output, see our blog article, Sorting the Output of du.


About the Author

Christopher Jarvis

Christopher Jarvis has been assisting our clients for nearly 7 years as a member of our support staff.

 

 

 


 

Posted in:
Webmaster

Source link