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
1
vote
0answers
65 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
0answers
26 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
1answer
20 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
0answers
77 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
0answers
11 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 ...
0
votes
0answers
20 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. ...
0
votes
0answers
18 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??
0
votes
0answers
19 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 ...
0
votes
1answer
22 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 ...
2
votes
0answers
47 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
1answer
25 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 ...
1
vote
2answers
962 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....
0
votes
1answer
21 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
0answers
38 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 ...
0
votes
1answer
84 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 ...
0
votes
0answers
11 views

How to move multiple Wordpress sites to a new Server and Domain?

lets assume i have 100 Wordpress-Sites right now that are all on the domain allmywpsites.com/sites.Every sites has an area in allmywpsites.com/sites like this: allmywpsites.com/sites/site-1 ...
0
votes
0answers
23 views

Mysterious site access error

I'm a bit stumped because of a weird access problem of a WordPress site. The site is on the main corporate domain, and recently, the client has had office365/active directory installed for his network....
0
votes
0answers
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 ...
1
vote
0answers
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 ...
0
votes
1answer
91 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 ...
0
votes
1answer
25 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 ...
0
votes
0answers
33 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, ...
0
votes
1answer
29 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 ...
0
votes
1answer
487 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
1answer
32 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&...
0
votes
0answers
21 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 ...
0
votes
0answers
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 ...
0
votes
1answer
575 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 ...
0
votes
0answers
25 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 ...
1
vote
0answers
19 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 ...
0
votes
1answer
16 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 ...
0
votes
0answers
338 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 ...
0
votes
1answer
122 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 ...
1
vote
1answer
452 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 ...
0
votes
1answer
946 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
0answers
66 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 ...
0
votes
1answer
847 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 ...
0
votes
1answer
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 ...
0
votes
1answer
17 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 ...
0
votes
1answer
14 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 ...
1
vote
0answers
50 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....
0
votes
0answers
208 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
1answer
23 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?
0
votes
1answer
26 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....
0
votes
0answers
359 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); ...
0
votes
1answer
547 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 ...
1
vote
1answer
1k views

Case insensitive header params for API request

I am making API requests with token based Auth mechanism. Here is example request. TokenRequest({ method: 'POST', url: {URL HERE}, headers: {'Authorization': Bearer {token}}, ...
0
votes
2answers
284 views

wp_signon works local, not on https

On my localhost environment the following code works perfect $creds['user_login'] = $user_login; $creds['user_password'] = $user_password; $user = wp_signon( $creds, true ); if(!...
0
votes
2answers
108 views

Permissions working but not working

Not sure what I changed in my Wordpress some days ago but today I was not able to update/install any plugin. I followed https://community.bitnami.com/t/wordpress-permissions-unable-to-create-directory/...
1
vote
0answers
407 views

Install Wordpress with custom directory layout without breakting media upload

New security patches introduced to the Wordpress core on October, 14th break media upload on my Wordpress installations. That's due to my uncommon directory structure: wp-config.php (custom) index....

1
2 3 4 5
7