Build a Word Press Website Today!!

Click here to Get Started..


How to fix wordpress 404 error for pages and posts

So how do I fix WordPress 404 error for pages and posts?

fix-wordpress-404-error

Recently I found myself rebuilding a blog I had for a website I owned.

The old blog had a widget related bug on my right sidebar panel. No matter what I did to remove the content, the content would remain.

I threw everything at trying to get this fixed. I gave up after a couple of hours and I decided to build a new one and start fresh.

So I went ahead and built a new blog with as few plugins as possible and optimized it so it loads super fast.

After exporting and importing the new content into the blog the new pages would not load in the browser.

Instead I would get a 404 error appear on my webpage.

The first thing I did was log into my Cpanel account and made sure the .htaccess file had the right file permissions set.

Next, I made sure the permalinks were setup correctly as well.

Every time I chose a custom structure link and saved this setting WordPress would default back to the plain structure layout.

So instead of choosing the custom layout I chose the post name structure saved this change and we were good to go.

WordPress-Permalinks

WordPress 404 Error Fix

The fix WordPress 404 error using the solution below though depends where your WordPress is installed.

First make sure there are no htaccess related writable errors on the permalink page.

If your .htaccess file is not writeable then WordPress can not add or make any changes to this file.

To do the following you will need to access your .htaccess file and implement the change there.

Is it installed in your index folder which is www.mysite.com or in a folder such as mysite.com/WordPress?

If your website is in in the index folder of your website such as www.mysite.com use the following .htaccess code

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

If your website is in a folder such as mysite.com/WordPress use the following code.

Make sure to change the folder name from Blog to your folder name exactly how its spelt.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

 


GeneratePress Theme for WordPress Review by WBG

GeneratePress is a WordPress theme that is free and truly amazing to use which includes
a WYSIWYG-front end customizer.

More about this further down this webpage.

There is a support forum that is monitored by several team members.

The replies to questions and help topics is generally quick.

Other Promoted Features by the Developer Include:

  • Independently reviewed coding by experts in the WordPress community.
  • Less than 30kb file size which has very fast load times.
  • Only uses vanilla javascript coding where needed.

What Does GP Premium Offer?

  • A set of powerful plugins where you can change the design layout.
  • Switch on or off the modules visible in your customizer.
  • Alter any part of your website within the elements section.

A more in-depth look.

Modules – Deactivate any of the modules you don’t want anyone to alter via the front end Customizer.

These could be your content creators and so on. You can do this in the modules tab as you can see in the image below.

All you need to do is click on the deactivate link for the module you don’t want to be visible from the Customizer.

GeneratePress Modules

Score 10/10

Elements Section

The elements section enables you to change parts of your website.

This can be by adding extra text or images to a page, post or sitewide.

Some examples include:

  • Placing a hero banner on a particular page or post or site-wide.
  • Adding a nav menu on a particular page or post or site-wide.
  • Altering the page width to full width on a particular page and add an image slider across the page.

You can do all of the above-mentioned things plus much more with the Elements feature of GP Extreme.

Here is one example I need to accomplish recently.

I wanted to change the title above your comments text area. What do you do?

Search an hour or more on your favourite search engine with possible solutions found are all outdated and don’t work on your current WordPress version?

change leave a comment text

 

GP Premium Modules

Let’s see how quickly we can do this with GP Extreme modules.

First click on the Elements tab.

Generatepress Elements

 

Next give your element a title and add some code.

You can add PHP or HTML code. If adding PHP code make sure you click on the execute PHP tick box.

Next, find out where you want this text to be added.

change leave a comment text

 

Now choose where you want this text to be visible in your website.

generatePress elements location

All I needed to do now is click on the update button and refresh my web browser to see my changes.

wordpress new comments title

And just like that, your changes have been made throughout the website or where you wanted the change to be applied.

If you want to change the Leave a Comment text on your website please see the full workaround here.

If you want to see another example see how we simply added a hero banner across our website. This is one powerful feature where you can apply different types of changes to certain parts of your website, webpages or posts.

Score 10/10

Site Library

There are over 25 theme styles you can add to your WordPress website.

 

GeneratePress Theme

 

 

Score 9.5/10

The theme itself is FREE to download and use.

You have a choice to purchase GP Premium which is a powerful suite of plugins that unleashes the beast within GeneratePress.

The upgrade only costs $49.95 for unlimited website installations.

What Happens If I Don’t Renew?

You will no longer receive access to the updates and you will not be able to install GP Premium on any more websites.

What are the Customizer Options Available?

Let’s discuss the free version. Once installed all you need to do is log in to WordPress visit the from main page and click on Customize.

Generate Press Customize Link

From here you are taken to the Customizer as you can see below. From here you can make al the changes you need. You can change just about everything about your WordPress websites design.

Changes You Can Make in Customizer

You can change your:

  • Logo.
  • Favicon.
  • Website Layout.
  • Colours for your complete website.
  • Change your font type through the Typography link.
  • Manage your header and the way your menus look.
  • Add text in your footer or above in the menu in the header.
  • You can add custom CSS.
  • Add how many widgets you want added and you can add content inside of these from customizer itself.
  • And you can add custom CSS to change certain parts of your website from the customizer as well.

generatepress customizer

Let’s take a look a little more in-depth.

GeneratePress Site Identity

Anything related to the identity of your website is changed here.

You can add:

  • A title for your website.
  • A tagline.
  • Logo with an ability to change its size.
  • A website icon that sits in the web browser.

generate press identity

The Layout Tab

The Layout tab lets you change layout through your website. such as:

  • Content container
  • Header.
  • Main navigation.
  • Sidebars.
  • Footer layout.
  • Blog layout.

There are many many features within the layout section you can change and give your website a custom look.

Generatepress Layout

GeneratePress Colours

GeneratePress Colors

Typography Layout

The below image is a small section of what’s available.

The Typography changes can be made for your content, H1, H2 and H3 title tags.

You can change the types of font, and the weight of the font which is how bold or light you want your text to appear.

From this panel you can change the font sizes, line height and paragraph margins.

 

 

GeneratePress Typography

 

General & Menus layout

General Tab

Load essential icons by choosing an icon type.

Combine CSS and to cache dynamic CSS.

With the menu tab as you can see in the below image, you can assign pages to your menu system.

GeneratePress Menu

Widgets Section

What can you add to the widget sections?

  • Post Archives.
  • Calendar.
  • Categories.
  • Custom HTML.
  • Display Image.
  • Navigation Menu.
  • Pages.
  • Recent Comments.
  • Search Bar.
  • Tag cloud.
  • Text and video.

Homepage Settings

You can change which displays as your main index page or you can choose to have your latest posts to show up here.

Additional CSS

With this feature, you can add custom CSS code targeting parts of your website you want to change the look and feel to.

To download the GeneratePress theme pls click here.


Why Do We Use the GeneratePress Theme?

GeneratePress has simply saved us so much time in developing websites its a time saver.

This is a very powerful theme.

There are 2 versions to this Theme.

A free version and a paid version.

GP Premium which is the paid version is not an updated theme. Instead GP Premium is a set of powerful WordPress plugins that unleashes the beast that lays within the theme.

The free version has a front end Customizer. To show you what this looks like I deactivated GP Premium on my website.

generatepress customizer

As you see you can do all sorts of stuff here that is related to your website. Let’s take a look.

GeneratePress Site Identity

Anything related to the identity of your website is changed here.

You can add:

  • A title for your website.
  • A tagline.
  • Logo with an ability to change its size.
  • A website icon that sits in the web browser.

generate press identity

The Layout tab lets you change layout through your website.

This covers:

  • Your content container
  • Website Header.
  • Your main navigation.
  • Sidebars which are the content panels on the left and right side of your content sections.
  • Footer layout.
  • Blog layout.

There are many many features within the layout section you can change and give your website a custom look.

Generatepress Layout

GeneratePress Colours

GeneratePress Colors

 

 

 


How to Change Leave a Comment Text in WordPress

If you are like me and you are wondering how to change the leave a comment text in WordPress then this article may help.

After 2 hours of website searching and trying out different codes and techniques I gave up.

Simply because these solutions were not working. I even downloaded a plugin that was supposed to help but did not.

 

change leave a comment text

This made me realise how much outdated and redundant content there is out there.

I did get close in finding a solution though by using the following code I created as a WordPress Plugin.

Basically all I needed to do was create a folder in my WordPress plugin folder via FTP then create a file that ends in .PHP and then I added the following code and saved the file.

Via the plugin section in WordPress, I activated the plugin.

WARNING Code did not work and turned my backend browser screens WHITE. I even increased the ram which did not help.


<?php
/**
 * Plugin Name: Change Leave Comments Text
 * Plugin URI: https://www.websitebuildersguide.com
 * Description: A Simple Way to Change Leave Comments Text.
 * Version: 1.0
 * Author: 
 * Author URI: https://www.websitebuildersguide.com */
 
add_filter( 'generate_leave_comment','tu_custom_leave_comment' );
function tu_custom_leave_comment() {
    return 'Feel free to join the topic conversation by adding your reply below. Your e-mail address is not visible. Thank You';
}?>
 

In case you are wondering I am not a fan of making changes to the theme PHP files. The reason being is if you update the theme you then lose the changes.

So what was my Solution to editing the Text Leave a Comment?

I needed to remove the leave a Comment text and find a way to add more text in place of Leave a Comment.

My solution involved a 2 step process using some CSS code and the GeneratePress theme GP Premium.

Step 1 – The first was to hide the text from showing throughout the website using css code.  In my GeneratePress theme customizer under the custom css tab I added the following.

Like magic, the text disappeared.

.comment-reply-title {

display: none;

Step 2 – My thought process was around maybe being able to add the text manually by manipulating the theme. This is why GeneratePress is so awesome because you can change the elements of the theme through WordPress not by changing code.

Generatepress Elements

 

So I clicked on the Elements tab as you see above.  This brought us to the screen you see in the below image.

change leave a comment text

 

From here I added the new text I want to appear in the comments section of my posts. I then chose the position where I wanted this text to appear which was in the inside_comments section.

generatePress elements location

All I needed to do now is click on the update button and refresh my web browser to see my changes.

wordpress new comments title

As you can see here the change Leave a Comment Text in WordPress has been changed. The awesome part about this is that I could add a link if I wanted to here as well such as a disclaimer link without effecting any coding.

Now next time when you need to update the theme the above changes will remain in place.

The GeneratePress theme GP Premium costs $49.95. What you decide to do is your choice. The purchase allows you to install these to as many websites as you want.

If you decide to upgrade it a year down the track you receive a 40% discount.

With the features this theme offers you to do its awesome value and has solved many issues.

 


How To Change the WordPress Upload Size – Website Builders Guide

How to change the WordPress Upload Size should not be a difficult process. But I was wrong as I have experienced.

I found so many solutions that simply do not work in today’s version of WordPress.

wordpress upload exceededAll I wanted to do is add a cool movie to the front index webpage and each time I attempted an upload I got that stupid error that reads something like Your File Exceeds Maximum Upload Size.

Did I find a solution? Yes. I even got so excited I stopped doing what I was doing and decided to write this page to share the solution with you.

Here is what DID NOT WORK for me and my hosting is on my very own VPS account

  • Adding 3 versions of code found on 3 DIFFERENT websites into the .htaccess file – Result FAIL.
  • Creating a PHP.ini file and placing some code from a website. The same code being pedalled by a few websites – Result FAIL
  • Altering the wp-config.php and adding a few lines of code. Same code I found a few different websites offering this as part of there solution. – Result FAIL

The coding I found for the 3 attempted fixes above were similar or identical on a number of different websites.

How To Change the WordPress Upload Size – My Solution

I eventually thought to myself surely there is a plugin that can do this and sure enough I found one.

This solution is a 2 step process. The plugin changes the WordPress file upload size limit. Then you need to change your php file size upload limit.

 

The plugin I ended up using is called Wp Maximum File Size. The plugin works really well. It’s fast and easy to install, no adware and there are 7 upload file size options you can choose from.

These are 16MB, 32MB, 64MB, 128MB, 256MB, 512MB and 1GB upload file options you can choose from.

maximum-file-upload-size

Task accomplished, As you can see in the below image the maximum upload size changed from 2MB to 128MB.

Mximium File Upload Size

 

Next login into CPanel and follow the steps below.

cpanel-php-upload-change

 

  1. Click on the MULTIPHP INI Editor.
  2. Choose Home Directory (under configure PHP INI basic settings title).
  3. Near the bottom of the page where the arrow is pointing in the image below under upload_max_filesize change this to the same file upload size to the plugin.

At this point in time, I have only used whm/cpanel since 1997. If you are using a different control panel then look for a MultiPHP INI Editor or contact your WebHost to change this for you.

cpanel-upload-file-change

I hope this has helped you if you are encountering the same issues as I was having.