Showing posts with label wordpress. Show all posts
Showing posts with label wordpress. Show all posts

Saturday, August 12, 2017

How to Change a Post to a Page in WordPress

How to Change a Post to a Page in WordPress (or vice versa). 

Fortunately, there is a super simple plugin that allows you to change a post to a page (or vice versa).  Post Type Switcher is the most well-known plugin for this purpose. As shown in the image below, it simply adds a drop-down menu to your Publish box that allows you to change the post type.




You can also change the type using Quick Edit on your Posts or Pages list, or using the bulk editor.
What is the Difference Between a Post and a Page in WordPress?


There is one major distinction between posts and pages in WordPress. Posts include a timestamp, which implies a certain level of timeliness to the information being offered. They are listed in reverse chronological order on your homepage and all of your archive pages, unless you do something to change the order. Pages are “static,” lacking a timestamp and, in theory, remaining forever relevant to your visitors.
Another, less important difference is that while posts can be labeled with categories and tags, pages cannot. You can nest them beneath other pages, though.
This infographic by Kristen Symonds explains the differences very well:

Traditionally, if you are using WordPress to create a blog, most of your content is going to be created as posts. You will have many fewer pages: an about page, a contact page, perhaps a privacy policy, and whatever other miscellaneous pages you decide to add.

Pages are Actually Superior to Posts for SEO purpose

Of course, as with most things SEO, there is not necessarily a clear answer about what is actually better. Some argue that posts have some advantages in that WordPress will automatically create a clear linking structure for the post through its categories, tags, and other archives. There can also be some benefits to having a timestamp appear on your post. If you’ve updated it recently, it can make your content look especially fresh — something search engines like Google seem to value.
Some websites and blogs always seem to have the freshest content when they appear in the search engine results. This is often because the content creators go through and slightly tweak the provided information, then update the content creation date.
  • Another reason to moving a post to a page is the URL. Some WordPress posts have a year and a category, when we move a post to be a page ie an article which is less time dependent, I have the freedom to make the URL short and decide where in my site structure it will go. Just make sure you do a redirect.
  • Pages typically are easier to customize.
  • pages are static. A ‘static page’ will always rank higher than a regular ‘post page’! If you do SEO properly.

Friday, August 11, 2017

WordPress Posts Returning 404 Error

    [SOLVED] The symptoms of this error is that when a user visits a single post on their site they get a 404 page – not found error. 
    The user can browse all other sections of their site including the admin area. The most common cause of this issue is permalink settings in WordPress. To solve this issue a user would need to reconfigure their permalinks settings or manually update their rewrite rules.
    Go to Settings » Permalinks, and simply click on Save Changes button.
    Update permalink settings
    This will update your permalinks settings and flush rewrite rules. In most cases this solution fixes the WordPress posts 404 error. However, if it does not work for you, then you probably need to update your .htaccess file manually.
    Login to your server using FTP, and modify the .htaccess file which is located in the same location where folders like /wp-content/ and /wp-includes/ are located. The easiest thing you can do is to temporarily make the file writeable by changing the permissions to 666. Then repeat the original solution. Don’t forget to change the permissions back to 660. You can also manually add this code in your .htaccess file:
    01# BEGIN WordPress
    02<IfModule mod_rewrite.c>
    03RewriteEngine On
    04RewriteBase /
    05RewriteRule ^index\.php$ - [L]
    06RewriteCond %{REQUEST_FILENAME} !-f
    07RewriteCond %{REQUEST_FILENAME} !-d
    08RewriteRule . /index.php [L]
    09</IfModule>
    10END WordPress

    Fix for Local Servers

    Often designers and developers install WordPress on their computers using a local server for testing purposes. If you want to use pretty permalinks, then you need to enable the rewrite_module in the Apache configuration of your MAMP, WAMP, or XXAMP.

    We hope this article helped you resolve posts returning 404 error in WordPress. Did this solution work for you? Do you have another solution that worked for you? Please share it in the comments below. We would like to make this article a comprehensive resource for users who run into this issue.

Sunday, June 18, 2017

Change Wordpress permalinks manually if wp-admin page doesn't show up?


> How to change my wordpress permalinks if my Wordpress Permalinks options page doesn't show up?

> How To Recover Wordpress After URL Address Change in Settings ?

> wordpress change permalink structure in database

> wordpress reset permalinks phpmyadmin