Questions tagged [server]

From PHP-FPM, MySQL, MariaDB, Apache, Nginx and Lighttpd to other servers that allow to host and run WordPress. If you can remove "WordPress" from the question, your question probably is better asked on serverfault.com

Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

Can't upload svg files in WordPress

I am facing the following issue while uploading any SVG file and sometimes face the same issue while uploading any image. "The server cannot process the image. This can happen if the server is ...
0 votes
1 answer
51 views

Disable creating sort index SELECT post_modified_gmt

strangely my theme doesn't have the function that generates queries like this SELECT post_modified_gmt FROM wp_posts WHERE post_status = 'publish' AND post_type IN ('post', 'page', 'attachment') ORDER ...
0 votes
0 answers
13 views

How to resolve status code: 410 from Pagespeed insights for the wordpress website

I activate the plugin Seraphinite Accelerator on the website “http://tangentconsulting.ca”. After the activation, I changed the URL from our-story-2 to our-story. The Our Story page was working fine ...
0 votes
1 answer
2k views

Problems fixing a REST API 404 after Moving my WordPress Directory and updating Permalink Structure

I am running a self-hosted version of WordPress on a Linode VPS running Debian 9. I was previously using WordPress on a /blog directory because I had a basic HTML site that I decided not to keep any ...
0 votes
1 answer
2k views

Problems with WordPress multisite directories/url structures and admin access after migration

I'm trying to migrate a multisite WP installation to a new server. The network consists of a simple parent site that redirects users to one of four subsites based on their location. E.g. if a user ...
0 votes
0 answers
10 views

Unexpected Login Redirect in Localhost WordPress Sites

I have two WordPress websites set up for learning purposes on my localhost. One is a clone of the other, and both are accessible through different loopback addresses in my /etc/hosts file. When ...
0 votes
1 answer
1k views

Using Custom Javascript and pHp to send email to myself when a user clicks on an input button but only works on Chrome, IE, and Micorosft Edge

So I am using jQuery and pHp together to send an email to myself whenever a user clicks on the update button of their Ultimate Member form. However, the email only sends when a user is using Chrome, ...
1 vote
0 answers
32 views

Best way to handle multiple assetlinks.json URLs for Multisite?

When running PWA/TWA apps built on WordPress, they require an assetlinks.json file to be served from the root domain of each site. I'm wondering if anyone has come up with a solution to this using ...
0 votes
1 answer
18 views

How to create a build for quickly deploying a server with WP?

I have been looking for automation of a routine task for a long time: deploying a customized WP server with a pre-installed theme and plugins. The server must be on Nginx (optional OpenLightSpeed) + ...
1 vote
0 answers
15 views

Plugin licensing behind a load-balancer

Currently drafting upgrades to our current hosting setup to support more users. It's a relatively simple website that uses an LMS plugin to serve courses to users. My question is, if i put a few ...
3 votes
1 answer
2k views

Specific URL has 403 Forbidden status code

I'm debugging a Belgian WP website: slotenmakerbelgie.com. The problem is that I get a forbidden status on a specific URL: slotenmakerbelgie.com/error/ (with and without trailing slash at the end) I ...
0 votes
1 answer
1k views

Many images in wp-content/uploads folder that are not in Media Library

I think my database must be out of sync, or something. I checked the wp-content/uploads folder in my Bluehost File Manager and I have many more folders and files than I see in the Media Libary. I also ...
0 votes
1 answer
669 views

Automating svn updates from a server-side cron job

I am running WordPress on Ubuntu with Apache and MySQL. I would like to automatically install minor and security updates to WordPress. However, as I understand it, the standard auto-update ...
5 votes
4 answers
28k views

Character encoding issue after changing servers

I recently moved my WordPress-based site from DreamHost VPS to a Linode VPS running Debian + LEMP. After getting the site up again, I noticed many erroneous characters in posts; characters like " and -...
1 vote
0 answers
9 views

Accessing Wordpress on Wamp3 from my cell phone over wifi

Cell phone -> Android - Browser Chrome Server -> Wamp 3.3 Windows Firewall open to \Wamp\bin\apache\apache2.4.46\bin\httpd.exe httpd-vhost.conf <VirtualHost *:80> ServerName localhost ...
0 votes
2 answers
1k views

Wordpress Memory limit not increasing

I have set 1024M in php.ini file: memory_limit = 1024M I have set it in .htaccess file: <IfModule mod_php7.c> php_value memory_limit 1024M </IfModule> I have set it in wp-config....
23 votes
5 answers
18k views

Can WordPress be made to support websockets?

Websockets are a cool, cutting-edge technology wrapped into HTML5. Basically, you can open a websocket to enable persistent, 2-way communication with a web server. The client (user interface) can ...
0 votes
1 answer
172 views

Enabling pretty permalinks with Docker, Multisite Wordpress and Caddy

My task is to migrate several existing blogs, which where hosted on individual instances, to a multisite instance. The entire multisite instance is dockerized due to company policy and using "...
-1 votes
1 answer
35 views

cant access website thru www only works on direct xyz.com

i have recently migrated my website to kinsta. the site is not loading when you enter https://www.example.com with the domain, but loads well on https://example.com please give some pointers to ...
0 votes
1 answer
576 views

How to display a custom page for 400 error message for WordPress website hosted on a NGINX server?

When I try to access the below URL in my WordPress website on the NGINX server it's showing a 400 Bad Request error. I want to show a custom page whenever this error message occurs. For example, when ...
0 votes
1 answer
92 views

Identifying Issues in Pagespeed Insights: Server Response Time and Long Main Thread Tasks

I recently ran a Pagespeed Insights analysis for my WordPress site and encountered two prominent issues that I would like to address: server response time and long main thread tasks. Server Response ...
0 votes
0 answers
38 views

Any plugin installation and update overwrite current theme

I'm facing a strange situation. I have a website with custom theme and custom child theme active and every time I try to update or install a plugin via admin interface, the plugin extracted files ...
1 vote
0 answers
265 views

Subfolder install not working

I have my main site inside the root public_html folder, and that is working fine. Alongside that I have 2 subfolder installations, out of which only one is working. I made no changes to my .htaccess ...
0 votes
1 answer
465 views

src="https://dns.firstblackphase.com/scripts/start.js" [closed]

always this message appeared in my WordPress site https://prnt.sc/MPFNisaNmFQq https://prnt.sc/ADcQ8a5VbzKi https://prnt.sc/qN65SdKELtmS https://prnt.sc/DfB7XLarovbo could you please help me to fix ...
-1 votes
1 answer
3k views

How to make custom page link to root automatically?

I've put / in my Home custom page link, and locally my server is localhost:3000 and it works fine, but on my server the url is www.mysite.com/theproject, but / there does not lead to www.mysite.com/...
1 vote
0 answers
17 views

How to debug periodic performance issue

I have an periodic performance issue on my site. Seems like every exactly 10 secods, something clogs the CPU up to 100%. I can clearly see it's something from the site itself rather than the ...
0 votes
1 answer
103 views

Will denying all ip address except my own create a problem?

I want to deny access to my website from any source except for myself and the server. What I did is edit .htaccess Order Deny,Allow Deny from all Allow from MYIP, MY_SERVER_IP Will this create any ...
0 votes
1 answer
200 views

Reject all malicious URL requests functions.php

this might not be the right place as it's a question about a function snippet that relates also to the server and log files. I have been trying to block access to my site from bad query attempts which ...
0 votes
0 answers
14 views

Weird urls after moving site from local env to a server

I've noticed after moving website to a server post slugs started looking something like 78a6a04c0d498postname78a6a04c0d498.
4 votes
5 answers
2k views

How to monitor server for error establishing a database connection

I know there are tools like pingdom.com and uptimerobot.com that will monitor your site and let you know if they're down, but I find that my WordPress site is experiencing the dreaded "error ...
5 votes
0 answers
709 views

Is doing_wp_cron a necessary query string when scheduling cron.php as a cron job?

I have seen various ways to schedule the WordPress cron so that it is triggered by the server. Some will run the php file directory from the crontab and others will use a wget and reference the url. I ...
2 votes
0 answers
107 views

Should I add the IP of the server that hosts my sites to the list of authorized IPs in the wp-admin/.htaccess?

All of my sites were recently hacked and I had to restrict access to the WordPress admin. The logs are now full of denied connections, but I also see errors coming from the IP of the server that ...
0 votes
0 answers
20 views

Can I achieve this with Wordpress?

Feels nice to be part of StackExchange. I used to make websites with wordpress around 8 years ago but now I’m a bit out of the loop. Well I was given an offer to make a website with a bit of unusual ...
0 votes
1 answer
391 views

WordPress PHP version/info not being picked from cPanel PHP Version values

Within my WordPress dashboard, I am receiving the error that my PHP version needs to be updated to v7.4 as it currently shows v5.6.40. The thing is, I have actually gone into the cPanel for this ...
0 votes
1 answer
987 views

Connect to Ms SQL Server

I've been asked to develop custom plugins which will connect to a database hosted on MS SQL Server in different geographical location, i.e the website is hosted with a hosting service and the database ...
1 vote
0 answers
103 views

Wordpress shows front page, when it should show 404 with pagination style urls

Whenever I type a url for my site that contains three slashes "/" wordpress shows the front page instead of a 404.For example: example.com/something/does/notexist goes to frontpage, where ...
0 votes
0 answers
382 views

How to queue API requests with PHP in WordPress?

I'm developing a plugin to manage some simple custom APIs. I'd like to handle clients requests to APIs with a queue, so as not to handle all requests in parallel but one at a time, with a FIFO logic: ...
-1 votes
1 answer
83 views

Is there a way to pass google webmaster CLS on WordPress website?

I have developed WP theme for 3 webisites. Both are using pure WP codex code. No frameworks, nothing. The only thing I use is WP bakery PB plugin. But still it is not passing the CLS. I am switching ...
0 votes
0 answers
29 views

Sequence of finding a website when they are running Wordpress

So, as I understood it. The browser asks for a website, say, myWebsite.com. After churning around the internet where that site is reached and the request is passed to the server software, I’m assuming ...
0 votes
0 answers
2k views

Ajax action has 200 status but response of No response data available for this request

I'm developing a custom plugin that implements an ajax-powered search form on a WordPress site. It runs a WordPress query and outputs the results just below the search box where a user types their ...
0 votes
1 answer
722 views

WordPress sub-directory on other server running on nginx?

I have main site running on node on instance and I used sub-directory to run WordPress on another instance nginx config location /eg-en/blog { proxy_pass http://{{Instance-Ip}}; } The ...
0 votes
1 answer
198 views

Error code when migrate

I got this error code after migration to different server. Warning: require_once(/home/customer/www/noname.com/public_html/wp-includes/widgets/class-wp-widget-pages.php): failed to open stream: No ...
1 vote
2 answers
3k views

Corrupt .htaccess file

My site was running well last summer. But today when I tried to make updates in the wp-admin section, I got lots of 403 errors on all PHP files: load-styles, load-scripts, edit.php, media-new.php, etc....
3 votes
0 answers
210 views

Giving WordPress its own subdirectory - nginx

I want to move WordPress installation to a subdirectory without affecting site url - https://wordpress.org/support/article/giving-wordpress-its-own-directory/ (method 1) The article contains only ...
0 votes
0 answers
736 views

Critical error but refresh fixes it

I'm experiencing an intermittent issue where the "critical error" page is displayed but once you refresh the page it's working like normal. There is no information displayed when I have debug turned ...
0 votes
1 answer
52 views

my wordpress configuration locally vs live server

I've just got a hosting plan(A free WordPress hosting plan). My website is still in its basic form(the 21 theme from WordPress, and the hello world post). I intend to work locally on my website, then ...
0 votes
1 answer
73 views

Changing domain name causes some strange problem in my browser

My site’s domain name was originally devsite.com, last week I changed it to productsite.com on my virtual server( managed by virtualmin). I have also changed the setting and updated the database. I ...
0 votes
0 answers
55 views

How do you remove the “The Link You Followed Has Expired” error for a subfolder website?

I am building a wordpress website in a subfolder of a drupal website. I want to add a new theme by uploading a theme file but I keep getting the “The Link You Followed Has Expired” error. From my ...
85 votes
15 answers
8k views

Steps to optimize WordPress in regard to server load and website speed?

Besides installing W3 Total Cache or another caching plugin what steps can I take to make sure that my theme and site run as fast as possible.
0 votes
1 answer
453 views

How to control ajax calls without effecting memory of server?

I am trying to understand how ajax call and memory of server are linked? Is there any parameter in WordPress control this. Say if am importing something big using ajax how can perform that without ...

1
2 3 4 5
7