A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [configuration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
34 views

How can you optimize WordPress as a headless CMS?

Is define( 'SHORTINIT', true ); the only configuration that is helpful?
1
vote
1answer
20 views

Why edits to wp-config.php must come before “That's all” comment

Every time I read about making changes to wp-config.php, the advice given is to make changes before this line: /* That's all, stop editing! Happy publishing. */ Why? What is special about that ...
0
votes
1answer
16 views

Customized Blog/Latest Posts Page

This question is sparked by some issues I'm running into using Elementor, but it's not an Elementor-only question. I'm trying to create a customized static blog page/latest posts page. I currently ...
0
votes
0answers
30 views

All files in public_html, Cannot launch WordPress site via wp-admin

my registered URL is casualtyclaimscontainment.com I developed the site on AMPPS using the URL kriswebpg.test I uploaded site to https://dallas124.mysitehosted.com I have tried everything in my ...
1
vote
2answers
34 views

.htaccess file missing from Wordpress install directory

This is occuring on my local machine, Lubuntu 18.04 with apache2 and Php 7.2.15. Steps tried: Enable hidden files No .htaccess file seen: https://nimb.ws/4YJfDT Switch permalink structure to ...
0
votes
0answers
51 views

wp-config.php keeps being reset to default

A few months ago, I migrated a wordpress website from a Unix instance to a Windows Server running ISS. The migration was pretty rocky but it ended up working fine. About a week after the migration, I ...
0
votes
0answers
159 views

Unable to update plug-ins - Undefined index a:1:{s:3:“ssl”;b:1;} in class-requests.php on line 213

After our hosting provider moved our site to a new Windows 2016 server I have been struggling with an intermittent error: PHP Notice: Undefined index: a:1:{s:3:"ssl";b:1;} in E:\WebContent\site-...
0
votes
2answers
91 views

403 forbidden when changing settings on WP Multisite non-main sites

So I installed a fresh 5.2 WP and set up the Multisite network working with subdomains, then created 2 new test sites. From the outside all works great, I can browse the main site and the 2 test ...
0
votes
0answers
22 views

WordPress Starter Content: can't access the created posts

I'm having a big pain with starter content feature of Wordpress. At the moment I'm using the hook customize_save_after to get the posts, using the normal function I use to get posts get_posts. It's ...
1
vote
2answers
23 views

WordPress - Promoting A Dev Build In A Subdirectory To Production / Root Directory

I recently took over a WordPress site with the following directory structure inside of /public_html: wp_config.php /wp-admin /wp-content /wp-includes ... ... ... /development The root (production) ...
-1
votes
1answer
117 views

Can't upload files 1MB+ [closed]

I can't upload files with more than 1MB, but i haven't change any configuration. I have a lot of files with more than 5MB uploaded before, but i don't know why now i can't... The error is "Failed to ...
1
vote
0answers
27 views

nginx.conf appeared in all WordPress installations on folder

I run a couple of WordPress sites on a cloud server that I own. All of these sites run on the same Apache installation. Recently, I've found that in all of my WordPress webroot folders, an empty file ...
1
vote
3answers
412 views

How do I hide out of stock products from homepage but not from catalog?

I know that there is this option on admin to hide products from the entire catalog if there is no stock, but how do I hide these products only from home page and not from the entire catalog? I want ...
0
votes
0answers
27 views

Can I manage current & past editions of an annual event with a single WordPress install?

I want to use a single WP install to build a site that will present curent and pasts editions of an annual event. From one year to the next the list of participants and the daily program change ...
1
vote
1answer
20 views

How to change how long items are kept in the trash?

When the trash feature is enabled, the deleted posts are moved to trash and stored there for 30 days. And there is a schedule/wp_cron event that is responsible for removing these posts permanently ...
0
votes
0answers
233 views

WP_SITEURL vs WP_HOME link output

When WP_SITEURL and WP_HOME are set to different values - for example https://example.com/wordpress and https://example.com - the output links are inconsistent. Thus, a permalink output will be ...
0
votes
2answers
40 views

Multisite on single wordpress

I've got single site on instance of wordpress. Now I want to add second blog so second site (separate domain) under the same hosting so the same wordpress instance. Is it possible to achieve it ...
0
votes
0answers
352 views

What should index.php contain on Synology NAS to get external access to Wordpress to work?

Please note this is my first post here. Not sure if this question fits in the scope of this site. If not, I am happy for it to be closed. I have a Synology NAS and I want to start a personal website ...
0
votes
1answer
113 views

Disable WordPress Redirect From terminal

I am in the process of transferring a WordPress server from the IP address "12.34.45.67" to a new server "11.11.11.11". Unfortunately, I set the WordPress address and the site address as seen here in ...
1
vote
1answer
123 views

Allow download_url for lan addresses

I'm hosting a wp site on my own server (at home) and I would like to use wp cli to import media from my own computer. On my computer, I have a web server and I asks to wp-cli to import media from "...
0
votes
0answers
143 views

Enable plugins that are “not supported”

I just create a clone of a website with All-in-One WP Migration, the original site being hosted on wordpress.com. Since wordpress.com is a typical managed WordPress provider, it allows only for a ...
0
votes
1answer
344 views

Move site root directory on debian

I installed WordPress on Debian using this article from the Debian Wiki. My wp.conf looks like Alias /wp/wp-content /var/lib/wordpress/wp-content Alias /wp /usr/share/wordpress <Directory /usr/...
1
vote
0answers
39 views

options-general.php page displays different sitename, home compared to wp_options table

I was assuming that options-general.php page should display wp_options table contents. I understand that this is a naive interpretation of the implementation. Question: can someone explain the ...
0
votes
0answers
168 views

Front-end pages messed up due to HTTPS

I have a WP blog at https://example.com/blog. I'm able to access the wp-admin pages but the front-end pages are messed up (https://example.com/blog/page/2/). I have /blog set as an alias in my Apache ...
0
votes
0answers
42 views

Can I get programmatic access to wp-admin?

I need to script configuration for an existing Wordpress site. Does wp-admin provide any kind of API for programmatic access? (Installing a local wrapper for access would be fine.) For example, to ...
0
votes
1answer
26 views

URL problem in my site

Recently I publish my site. I moved my site form localhost to server. I change all config file but url site is redirecting for ohter url. The site only show the nav-bar and in the content part show ...
1
vote
1answer
218 views

Work flow for multiple developers

I'm looking to streamline the development work flow for a new project that will have multiple developers involved (backend and frontend). My biggest quandary is how best to make sure all devs have ...
0
votes
2answers
8k views

Cannot access Wordpress website from external IP while internally it is working properly [closed]

I have setup a small website using LAMP (Raspbian) and Wordpress. No domain name will be registered for the website. For the moment I am accessing the site from inside the local network. To access the ...
1
vote
1answer
2k views

How to combine javascript files without plugins?

I remember (it seems...) there was a way, maybe some config option, to combine/merge javascript files (for production sites). I mean just with vanilla wordpress code, not plugins. Am I wrong? If not, ...
0
votes
1answer
38 views

Automate configuration after new/hosted installation

Lets say I launch a new WordPress site at a hosted provider such as WPEngine. As I start to configure my site (install a template, install plugins, create layout and content for my pages, etc.), is ...
0
votes
1answer
77 views

www.website.com works but website.com redirects to website.com/index.html

Wordpress newbie here, I can't seem to fix this. I've looked all over for it and I want people to be able to use both www and non www, but right now only www.website.com works. I'm using a fresh ...
0
votes
1answer
57 views

Copy wordpress settings to another blog

I need to set up many blogs, which all have to look the same, with the default wordpress theme. I still need to adjust a lot: removing some sites, changing language etc. I need like 30 min for ...
3
votes
3answers
10k views

Wordpress behind Proxy - Mixed Content

My Server Env for a wordpress site is as follows: ---------- --------- ------------- | Client | <-- HTTPS --> | Proxy | <-- HTTP --> | Wordpress | ---------- ...
3
votes
2answers
2k views

How to use live images on local install?

How to use live images on a local WP install? I want to do something like the code down here in the wp-config.php. Problem is that the siteurl must be a relative path and cant be a url. I want to set ...
0
votes
1answer
314 views

DOMAIN_CURRENT_SITE constant being regularly overridden

A few times now, our site's DOMAIN_CURRENT_SITE constant, stored inside wp-config.php has been overridden by what appears to be a reverse DNS of our sites IP address... Since we use AWS elastic IPs, ...
0
votes
1answer
42 views

Why when I try to access to this old WordPress site it is opened the installation page?

I am not so into WordPress and I have the following problem. Some years ago I create this WordPress site for a humanitarian association of a friend. Then I never administrated it for years. Today my ...
4
votes
1answer
338 views

Generate WP-CLI @alias for each site on multisite

I have a few multisites, each with several sites, that I want to auto-generate @aliases for. Is there way to sync those sites as aliases in my site list? I'd like to be able to target a single site ...
0
votes
1answer
73 views

How to visit php file in my custom directory under site root directory

I hope to create a directory wp-mybiz as same level as wp-content, wp-admin, and wp-includes under site root directory to collect my business logic codes. But if I try to visit php using url http://...
1
vote
1answer
1k views

Set WP_MAX_MEMORY_LIMIT higher than PHP.ini memory_limit

I've read here, but I want to ask if I have understood this correctly. We have a server in which WordPress admin needed more memory. The PHP memory_limit, in PHP.ini, is set to 256M, and so was ...
2
votes
1answer
113 views

What should be disabled to run on an internal network with no access to the Internet?

I am setting up a site on an airgapped (no connection to the Internet) internal network. It is quite slow in loading pages. I have already added define('WP_HTTP_BLOCK_EXTERNAL', true); and define('...
9
votes
2answers
371 views

Improve wordpress security by hiding non public resources

I'm new from wordpress and i want improve security of wordpress multisite by hiding non public resources, eg. wp-admin, wp-config etc. My setting seem to work, but i don't know if this setting can ...
0
votes
3answers
2k views

wp-config dynamic hostname in WP_HOME and WP_SITEURL

Are there any disadvantages to using the following code to setup WP_HOME and WP_SITEURL in wp.config for both singlesite installs and multisite installs: /** * Site Host URLs */ $hostname = $_SERVER[...
0
votes
1answer
73 views

Move wordpress files to sub-folder

I am following this guide. http://smallbusiness.chron.com/move-wordpress-root-subfolder-52605.html Step 1 Create the subdirectory for the new WordPress installation with your File Transfer ...
1
vote
0answers
122 views

What are good approaches to routing some urls to a second WordPress install?

Imagine a LAMP stack Wordpress installation running in the root of example.com, with a permalink structure like /section-1, /section-1/page-1, /section-2, etc. I would like to have custom pages at /...
0
votes
1answer
2k views

On IIS, stop Wordpress from resaving my web.config file when I enter the Permalinks config page

I have a Wordpress website installed in IIS and it is working fine. On a subfolder I have and ASP.NET application which also works allright. Wordpress URL rewriting causes a series of problems on the ...
1
vote
0answers
53 views

Configuring Propel to Work with Multisite

I'm trying to build a plugin using Propel ORM to be used in a multisite envivroment. Currenly it works in single great but I can't figure out how to get it to create the tables for each site and have ...
9
votes
2answers
4k views

Multisite Network Port Num Issues?

I am following This tutorial to Create a Network of WordPress Sites . After adding /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); to my wp-config.php file and when I start to configure ...
0
votes
1answer
55 views

Macros for Wordpress, creating subdomains out of registrations for current domain

I have a website: atmydevice.com and I want people to register on the website. That's easy. But I want the registration to create an automatic subdomain like ac.atmydevice.com with a different theme ...
1
vote
0answers
49 views

How can I run a multi language WordPress site in two folders in one install? [closed]

I would like to achieve something like this: www.site.com/en www.site.com/fr A single WordPress installation but it is translated into French and English and also the theme support, posts and images ...
0
votes
0answers
30 views

WordPress site under localhost is disassociated with the code

I have put the folder wordpress under /opt/lampp/htdocs, and localhost/wordpress/ in a browser shows well the site. However, I changed Just another WordPress site to Just another WordPress site ...