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
0answers
34 views

Internal server error 500 [closed]

On several moments users get a 500 internal server error after switching a language. It seems that the .htaccess will be overwritten every time with a . /nl/index.php [L] directory. I contact the ...
0
votes
1answer
20 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
1answer
85 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
12 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
29 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 ...
1
vote
1answer
34 views

How to run a bash script from a plugin? [closed]

I am lookin for some guidance. I have a host command that has to be runned between two functions in a plug-in I am working on. Long story short, I have built a class which holds two methods, namely: ...
0
votes
1answer
36 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
9 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
20 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
13 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
6 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
41 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
20 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
25 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
26 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
211 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
22 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
18 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
15 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
318 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
10 views

Can't add any menu items on live server (no item list)

I can't add any items to menus on live server (can't even see items to add list - there is list of dropdown "titles" like posts, pages, custom post types etc, but when I expand it - list is ...
0
votes
0answers
23 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
17 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
15 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
280 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
91 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 ...
0
votes
1answer
230 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
634 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
37 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
2answers
491 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
11 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
16 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
13 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
41 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
111 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
22 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
22 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
265 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
457 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
223 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
78 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
367 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....
0
votes
1answer
199 views

Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress

I am on Ubuntu 18.04. I just updated my server from PHP7.2 to PHP7.3 using this guide After that, I changed my Apache from Prefork to Event using this guide Now, when going to my Wordpress website, ...
3
votes
0answers
350 views

Solve cors problem using rest api or ajax

I'm building an app with nuxt using WP as a CMS, so I have this code in my functions.php to allow any origin (temporary) using the rest api and admin-ajax urls function add_cors_http_header(){ // ...
0
votes
1answer
64 views

After adding my website to a new server, I keep getting a unexpected end of file error, but the file is identitcal to it's original source

I have this script that changes buddypress' cover image template. this file works fine on my server, but as soon as I moved it to my client's server, it broke. I keep getting the error Parse error: ...
0
votes
0answers
45 views

Problem with a wordpress admin system. and website

When i use wordpress i got random connection problem, and website is off for around 5 to 10 min. Wen i check error logs i got somethink like this: Any help?
2
votes
3answers
568 views

In which directory do I find a specific HTML code of my wordpress page? Some of it seems to be missing after checking all pages [closed]

So I would like to access this part of the HTML and be able to edit it (see image below) However when I access my ftp server and navigate to the Footer.php section, this part of the HTML is not to be ...
0
votes
1answer
19 views

Adding a “code checker” for my e-learning wordpress site

I am currently developing an e-learning platform with wordpress (using learndash) to teach python and I would like my students to be able to submit their python script on the website and get a mark ...
0
votes
1answer
173 views

Why does changing Database Table Prefixes result in loss of content?

As to add an additional layer of security, to an eCommerce website I am working on, I have changed the default Database prefix from wp_ to wp_additional_prefix. To do this, I opened the wp-config....

1
2 3 4 5
7