Wordpress

Work from the beginning directly on the server where the website would go live, and hide/restrict its access until it's ready.

Moving WordPress website to a live server

Creating a WP webpage on a local server and when finished moving it to a live server can cause different problems. For example the website I moved to a clients' server, ended up with a great amount of missing parts.

First of all check for a corrupt .htaccess file on your FTP server. Rename the existing one and try to visit your site. If nothing changed the .htaccess is not the reason for the error. In my case the solution was to rename the folder "plugins" in the folder wp-content. Then try to access the website again if you see the text of your website of course without any graphical elements the reason for the error is a corrupted plugin. Now create a new folder "plugins" in the folder wp-content and move one plugin from the old plugins folder to the new created folder. After every movement try to reload the website if it is possible to see the content it wasn't the corrupted plugin. In my case an internal plugin of wordpress "wp_smtp_mail" was the reason for the error. Hope my solution helps! Good luck!

Receive HTTP 500 error after accessing wordpress page

I developed a wordpress website for our company. It has always worked perfectly but today I entered the URL in the browser but I only received the HTTP 500 error message. What can be the reason for this exception when there is nothing changed for months expect updates of the plugins and the theme?

The best way to customize a WordPress theme, is to create a child theme. To do this, you need to create a directory in the themes folder, add a style.css and set the the ‘Template’ parameter in its header to the name of the parent theme:

/*
Theme Name: Some Child Theme
Template: some-parent-theme
*/

Then you need to create a functions.php file and make sure to enqueue the parents css:

add_action( 'wp_enqueue_scripts', 'mytheme_enqueue_styles' );
function mytheme_enqueue_styles() {
   wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}

After that, you can copy any template file from the parent theme to your child themes directory and change whatever you need. These files won’t be overwritten when the parent theme receives an update.

Technology:

Customizing WordPress themes without losing changes on updates

The layout and appearance of a WordPress blog is determined by its theme. Most themes offer various options to customize its looks, but often some additional coding is required to create your desired design. If the theme files are modified directly, all modifications will be gone when the theme is updated. A more durable solution is desirable.

Moving a WordPress site to HTTPS

An existing WordPress site shall be moved from HTTP to HTTPS. All resources should be loaded via HTTPS after the update. Therefore, all text occurrences, hyperlinks and image resources in pages and posts must be updated with the new URL.
Subscribe to Wordpress