Redirecting domain without www to domain with www using .htaccess

příklady skriptů a kódů

The following code in the .htaccess file allows you to redirecting domain without www to domain with www using .htaccess: What is .htaccess file? The htaccess file, short for “hypertext access,” is a configuration file used by web servers, such as Apache, to control website access and modify server behavior. It is typically stored in the root directory of a website. It also contains directives that dictate specific rules and instructions to the server. The htaccess file can be used to password protect directories, control access to files and folders. With this file you can … Read more

Simple contact form in PHP

příklady skriptů a kódů

This is a PHP code for a simple contact form in PHP that sends an email. Here’s a breakdown of the code and its functions: Note: this simple script is used, for example, to test on or off mail() functions on the webserver. It contains no protection against to send out spam! What is PHP? PHP (Hypertext Preprocessor) is a server-side scripting language that is widely used for developing dynamic websites and web applications. It is an open-source language, which means that it is freely available to use, distribute, and modify. PHP is commonly used … Read more

PHP script to connect to MySQL database

příklady skriptů

PHP script to connect to MySQL database. An example of a script in a PHP to connect to a MySQL database and explain individual functions and parts: What is PHP? PHP is a dynamic scripting language used for creating web pages and applications. Its abbreviation stands for “PHP: Hypertext Preprocessor” and it is an open-source language, which means it is free and can be used anytime and anywhere. With PHP, you can create various types of web pages, including static pages that do not load dynamically but are pre-created and ready to be uploaded to … Read more

How to better secure WordPress administration?

Jak zlepši zabezpečení administrace Wordpressu

The administration of WordPress is a critical component of this content management system, which is often targeted by various attacks. These attacks can range from brute-force attacks on login credentials, to DDoS attacks, and even attempts to add a user with root privileges. Therefore, any additional security measures you take are desirable and contribute to the greater security of the most important aspect – the administration and administrator access. In this article, we will take a closer look at how to better secure the administration of WordPress. How to better secure WordPress administration? Basic elements … Read more

How to redirect a domain

jak přesměrovat doménu

If you need to redirect one domain to another or directly to a specific URL address, there are several ways to do so. If the domain does not have its own web hosting, the registrar of the domain can usually provide such a service for a fee. However, if the domain has its own web hosting, this hosting can be used for redirection. There are several methods available, and today we will take a look , how to redirect a domain. The advantage of using a 301 permanent redirect Of course, a domain can also … Read more

Pokud mi chcete napsat rychlou zprávu, využije, prosím, níže uvedený
kontaktní formulář. Děkuji.

Další Kontaktní údaje