Installing WordPress to root directory with existing static site. Concerns?

I’d like to update a simple static HTML site to WordPress. This would be my first WP site and I already have a theme in mind to use. The static HTML site has seven pages and an images sub folder in the root directory. My current thinking is to install WordPress into the root directory that the current static HTML site resides in, build it in the background and delete the old site(static HTML) when the WP site is ready …
Category: Web

Database issue?

I installed WordPress from a zip file via FTP, followed the install procedure exactly - When accessing the URL, all I could see is a default page without opening any install script. I then manually entered https://"mysite".com/wp-login.php and it opened a login window. I entered the username and PW I created in wp-config.php - I was advised no such user- double checked everything and found no errors I could determine. I'm guessing that the problem is something in either database …
Category: Web

Wordpress showing install screen after max_questions error

I am working in a PHO environment in Heroku with ClearDB. At some point (really low), I get this error: WordPress database error User 'XX' has exceeded the 'max_questions' resource (current value: 3600) for query SHOW TABLES LIKE 'wp\\_users' made by display_setup_form. I guess this is an error due to use the free database plan of ClearDB. However, after getting that error (spotted in the server logs), the server is redirecting to the install screen. Is there any way to …
Category: Web

Moving to a new domain in the same server

I recently adquired a new domain I would like to use for my old wordpress site. I managed to configure this new domain in the same server and pointing to the main page. However, after changing the Wordpress URL and website URL fields under Settings, the layout for the site breaks. It's like the theme I'm using gets corrupted. What is the correct way of switching from one domain to another? I looked at http://codex.wordpress.org/Moving_WordPress but this doesn't mention the …
Category: Web

How to install WordPress on root domain and Php script on subdomain?

I have built a website using WordPress. I installed WordPress on root domain i.e www.example.com . Now I want to install a Php Script based website on subdomain and subdirectories i.e subdomain.example.com and www.example.com/subdirectory. I know it is possible to do this but I need the working process to make it possible. If anyone know this then please guide me.
Category: Web

PHP Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in new wordpress installation

I'm trying to install Wordpress 5.3.2 on NetBSD (unix). phpinfo() tells me I am running Apache/2.4.33 (Unix) PHP/7.2.6 /wp-admin/setup-config.php?step=1 has a message at the bottom of the window (below the "submit" button) saying "There has been a critical error on your website". Thinking to set WP_DEBUG to "true" in the hope of getting an error message, I manually configured wp-config.php, but on install.php I get a blank screen. The server log says "Call to undefined function wp_kses_normalize_entities()". I've tried using …
Category: Web

Installing WordPress in a subdirectory

I am trying to install wordpress into a subdirectory of a website. I simply want to build the client's new site in this subdirectory, so a separate and new WP install in this subdirectory, and then when complete, delete the current (old) site and move the new wp website from the subdirectory to the root. I've uploaded the wordpress into the subdirectory, I've completed the wp-config file, created my database... and I have double-checked and triple checked that my database …
Category: Web

WP-CLI wp theme install url PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

I tried use wp-cli theme install with option url from my dropbox link. But unfortunately, I got this problem: PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature This mean my zip file is corrupt. But I tried upload it through wordpress dashboard and it's work good. I tried again with free theme in wordpress.org/themes and it's work good too, so maybe the problem in my vps setting? Maybe someone meet this problem, has resolved it and …
Category: Web

New installation fatal error in 5.9.3 at edit or create entry

I just make a new download and installation of Wordpress. So far so good until I edit or create a new entry. Remove it works. Notice: Undefined property: WP_REST_Terms_Controller::$sql_clauses in /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php on line 625 Warning: implode(): Invalid arguments passed in /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php on line 625 Error en la base de datos de WordPress: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM ORDER BY …
Category: Web

Disable redirect to install.php

For example, i include 'wp-load.php' from external file. but if WP is not installed, then while i access that file, it redirects to '/wp-admin/install.php'. How to disable redirection, even if WP not installed, it doesnt matter to me.
Category: Web

After upgrading Debian Buster to Bullseye, Wordpress sites no longer updating

Today I upgraded my webserver from Debian Buster to Bullseye and it was in fact a pretty straightforward upgrade. Everything seemed to work until I tried to reach a few WordPress sites on the server. At first I got some error about a missing MySQL module. The error message I got from PHPMyAdmin gave me a better clue: it said it was missing the mysqli module. So I installed it with apt install php7.4-mysqli and that in fact made my …
Category: Web

How to recreate a Wordpress site

I am looking for a way to recreate the core parts of Wordpress. When I try to use Elementor, I get a critical error. I have tried different themes, de-actived, deleted, and reinstalled plugins. Even deleted pages and posts both from WP and the wp_posts and metadata tables. The theme that I prefer is OceanWP. It might have something to do with the problem as it showed up after I added a template to their Theme Panel. I have a …
Category: Web

Wordpress is already installed

I installed WP however I don't remember the login and password. So I need to do the configuration again where I set the email and password. However when I acesss that page: http://localhost:80/wp-admin/install.php It shows a message saying that Wordpress is already installed: "You appear to have already installed WordPress. To reinstall please clear your old database tables first. Do you know what is necessary to do to do the initial configuration again? Thanks in advance.
Category: Web

Install second wordpress in root subfolder, Error 404

I am trying to install wordpress in a subfolder of an existing wordpress installation. I created a the subfolder /wp unziped a fresh Wordpress download inside of that directory and added a .htaccess with the following content: RewriteEngine On RewriteBase /wp/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wp/index.php [L] However if I visit mysite.com/wp I get an error 404 not found. I already tried the following: Restarting Apache and adding the .htaccess content to …
Category: Web

How can I completely disable a WordPress installation?

I would like to completely disable a Wordpress website. I'd like it to be completely inaccessible to visitors, and have no activity taking place on the server (no updates, cron jobs, etc.) I'd like to do this in a non-destructive manner, so that I can access the files if I need to (via FTP), or even re-enable the site at a future date. In other words, "put it in mothballs." I've tried searching but only come up with "maintenance mode" …
Category: Web

get 404 when accessing wp-admin/plugin-install.php

While freshly installed, I cannot access the 'Add new plugins` page whatsoever. It just keep waiting & then redirect me to 404 page of the current theme. I'm not sure what went wrong as the wordpress is freshly installed. Wordpress version is 4.9.6 & I'm using PHP7 for the host. I tried solutions suggested for similar issues but cannot get it fixed. I also get this message when I'm at the Installed Plugins page Warning: An unexpected error occurred. Something …
Category: Web

How to create wordpress install template/image?

I'm looking to create a wordpress install image/package/template, not sure how it would be called. Basically I want to set a certain plugins, translations, settings and make a template of that wordpress and be able to install it with fewer clicks on another host. Two ways I know of: WP All Import plugin, to just set up one wordpress site and export it. Problem with this method is that it will always install outdated plugins + I'm not sure if …
Category: Web

WordPress credentials not matched

Ok, I'm at wit's end with Wordpress. This is the fifth time I've tried installing it and it flat out is not working. When I install it, it shows one of the themes, but the default welcome post doesn't show up and when I log in it won't let me with the username and password I set up. Am I doing something wrong? The wp-config file is edited to match the db settings. I'm getting very frustrated. I login with …
Category: Web

Should I use two single WordPress installations because of SEO?

I read somewhere that too many plugins can sometimes affect the performance of a website due to plugin conflicts, the way plugins were coded, etc. In case there is some truth in this argument, I am wondering if the following website strategy can help to solve this problem: Create two websites in two single WordPress installations: Storefront (site 1), WooCommerce (site 2) List all the products ONLY in my Storefront (site 1) and from there send users directly to the …
Category: Web

How to populate a Wordpress install with a lot of categories, quickly?

I'm looking at starting a new project, but I've not done anything like this before. I'm hoping someone with more experience will be able to offer me advice on this one. The site revolves around geographical structure. It's the UK, cut into 50 parts. Each part has many towns, and within each town, many services. Each of the 50 sites will be a different URL, all running on a multisite. It's going to take quite a while to set up …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.