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
1 answer
26 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 ...
user avatar
  • 1
0 votes
0 answers
12 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.
user avatar
3 votes
0 answers
80 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 ...
user avatar
2 votes
0 answers
16 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 ...
user avatar
  • 123
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 ...
user avatar
0 votes
1 answer
21 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 ...
user avatar
1 vote
0 answers
67 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 ...
user avatar
0 votes
0 answers
98 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: ...
user avatar
-1 votes
1 answer
38 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 ...
user avatar
  • 39
0 votes
0 answers
342 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 ...
user avatar
  • 1
0 votes
0 answers
12 views

Data is not constatntly loading from custom wordpress table

global $wpdb; $tablename_temp = $wpdb->prefix . 'faculty_temp'; $toke = $_GET['token']; $user = $wpdb->get_results("SELECT * FROM $tablename_temp where token='$toke'"); This is to ...
user avatar
0 votes
0 answers
31 views

How to prevent users to view server files using WP File Manager plugin?

I'm developing some plugins to an website, but I don't want the users to see the code (or download it). If the user install the plugin WP File Manager, all files in the host will be revealed to him. ...
user avatar
0 votes
0 answers
19 views

How can I update WordPress plugins or WordPress itself in all server?

I have 3 application server on AWS. if I update WordPress or plugins in one server it will update in the rest of the servers too. How can i do that??
user avatar
  • 1
0 votes
0 answers
43 views

Mysql Server keeps crashing

I'm using wordpress for my site and my server is vps with memory of 2GB and SSD 40GB. My SQL Server crashes every now and then for few seconds and the website shows 'can't connect to the database'. I ...
user avatar
  • 1
0 votes
1 answer
28 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 ...
user avatar
  • 1
2 votes
0 answers
49 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 ...
user avatar
0 votes
1 answer
29 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 ...
user avatar
1 vote
2 answers
1k 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....
user avatar
  • 113
0 votes
1 answer
27 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 ...
user avatar
  • 117
0 votes
0 answers
46 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 ...
user avatar
0 votes
1 answer
149 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 ...
user avatar
  • 3
0 votes
0 answers
15 views

How to Run Plugin on Server Without Web Browser

I have a function that requests product data from Amazon (get_product_data()) and would like to run this on my live site either on command or at regular intervals. To save the data into the database I ...
user avatar
1 vote
0 answers
8 views

Archived Server for Reference - Unable to Navigate Passed Homepage

I recently moved to a cloud-hosted WordPress instance from an outdated on-prem server. As reference, the on-prem server is still available locally. However, I am unable to navigate to any of the ...
user avatar
  • 111
0 votes
1 answer
131 views

Upgraded server now class My_Walker_Nav_Menu extends Walker_Nav_Menu not working

my server just upgrades at Dreampress and it appears to be throwing errors to the log. : Got error 'PHP message: PHP Warning: Declaration of My_Walker_Nav_Menu::start_lvl(&$output, $depth) should ...
user avatar
  • 225
0 votes
1 answer
38 views

current_time function incorrect in plugin and PHP, not in WordPress admin

I had to reboot my server due to recurring server errors (which I couldn't find a reason for). Since rebooting, echoing current_time( 'timestamp', true ) shows the time as 14 hours before my current ...
user avatar
  • 189
0 votes
0 answers
51 views

Should I move wp-admin to a separated server? How to do it?

A problem: My company has many employees who work in wp-admin, but the speed of work is not fast enough because of slow wp-admin loading. What did we try? We optimized wp-admin (plugins, queries, ...
user avatar
  • 3
0 votes
1 answer
30 views

Why doesn't this function work when I know that the IP Address is "true"?

I am trying to append "DEV SRV:" to the page title (i.e. title tag) if the IP Address matches that of the dev server. I have tried this both in the functions.php file of my child theme and ...
user avatar
0 votes
1 answer
690 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 ...
user avatar
0 votes
1 answer
40 views

WordPress hit memory limit but not from the server

I have struggled with this for hours and days. I need good ideas for a fix now. When I do a certain action in WordPress, I sometimes get a Fatal memory error. The error comes after I hit "Update&...
user avatar
0 votes
0 answers
24 views

Access remote SFTP server via Wordpress login?

I currently have an active Wordpress site and a running SFTP server that I manage locally. My Wordpress site is also hosted locally using LAMP. My question is if anyone knows of a way to integrate the ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
0 votes
1 answer
714 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 ...
user avatar
  • 11
0 votes
0 answers
27 views

How Do I Change the File Permission For Uploaded Files in WordPress?

I have a WordPress installation, where any files that are uploaded by the user via the media library are set to the permission level 600 on the server by default. This results in the file not being ...
user avatar
1 vote
0 answers
20 views

How to move the WordPress site Layout from test site to Production site?

I make the changes in the Layout of the test site, and on the other hand my production (live) site was running and people make account on that and make purchases. Now I want to transfer the test site ...
user avatar
0 votes
1 answer
18 views

My blog load time on Bluehost and Word press is too much. I have slipped in Google Search Ranking

My blog organic traffic has fallen significantly due to long load times and 50+ DNS requests from Server. My site https://www.how2havefun.com/ loading time is more than 7 seconds. I have Blue Host and ...
user avatar
0 votes
0 answers
377 views

Correct user session/cookie handling with external site connection in wordpress

I have a wordpress + woocommerce site where the user can configure a product and create a custom one. The software that handle this configuration is on another server. So i need to send some data in ...
user avatar
0 votes
1 answer
146 views

cURL error for cron

I have this error which causes me a lot of trouble with all of my crons for some of my website : cURL error 28: connect() timed out! The websites are stored on a shared servers i guess, how can I ...
user avatar
1 vote
1 answer
626 views

How to keep users unique id stored in session in addition to IP in Wordpress plugin?

I want to get likes from two computers with the same IP in the post like plugin I developed for wordpress. Currently my plugin is working but when I like a post from a device with the same IP, the ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 11
0 votes
0 answers
81 views

(solved) WordPress Site not loading properly

I initially intended for this post to fix the problem where the word press admin site was loading in the google chrome but not in firefox. This problem stemmed from php not being updated and was fixed ...
user avatar
  • 101
0 votes
1 answer
1k views

Wordpress 404 all pages except home

I know this question might be a repeat or duplicate of another post. I've been getting this error after shortly migrating the domain from http to https. I've been following multiple questions and ...
user avatar
0 votes
1 answer
12 views

i have a problem with my domain getting rederected to another one

My website that i did via wordpress named graff34.fr is getting getting constantly rederected to graffiti34.art another domain that i openned but i deleted it from wordpress domain section and now ...
user avatar
0 votes
1 answer
18 views

Changes not being reflected on new server

I'm migrating a wordpress site from one server to another. I just finished setting up NGIX, PHP, MySQL, etc... however I still haven't restored the old DB on this new server. I can see the site goes ...
user avatar
0 votes
1 answer
15 views

Customizer Appearance Issue

I am developing new WP theme and it's in the phase of beta testing. So, it has succesfully installed and it's working on some sites. But, now there is one problem on particular host server. (shared ...
user avatar
1 vote
0 answers
59 views

dev site running on subdomain is redirecting to the main domain

I wanted to create a dev site for my main wordpress site. So I copied my wordpress files to the virtual host server and imported the database from my main site. Then I ran wp search-replace 'www....
user avatar
0 votes
0 answers
299 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 ...
user avatar
0 votes
1 answer
24 views

Is Shared server effect SEO

Is Dedicate, VPS or shared server effect in SEO? What do you think how many website I can host in a single IP or I need to use different IP for different website?
user avatar
0 votes
1 answer
28 views

How to map domains to specific pages in WordPress and display them in the address bar?

I would like to have the following setup but don't quite know how to do it in cPanel or use WordPress MultiSite or both? www.maindomain.co.uk - with a wordpress install at www.maindomain.co.uk www....
user avatar
  • 127
0 votes
0 answers
451 views

How to optimize wp_delete_post() function, or why it is so slow

I have a code block to delete all the products from a store. This products have several custom fields and some images attached. The code is below: set_time_limit(0); define('WP_USE_THEMES', false); ...
user avatar
0 votes
1 answer
658 views

Can't upload Images to Wordpress - Error 500 Response

I'm having a really frustrating issue whereby I can't seem to upload any images to Wordpress in a post content or via the browser uploader, multi-file uploader. When uploading a single image directly ...
user avatar
  • 119

1
2 3 4 5
7