wp-config.php is the configuration file of WordPress, one of few that is not overridden during upgrades. It is essential for running WordPress, as it contains the information needed to connect to the database

learn more… | top users | synonyms

0
votes
0answers
49 views

No input file specified after enabling multi site

I am getting this error after enabling Multisite "No input file specified.", I can't find a solution in the internet, I hope you can help me. I have this in my htacces RewriteEngine On RewriteBase / ...
3
votes
3answers
2k views

Does changing 'WPLANG' in wp-config.php just effect the admin language or does it have other consequences?

I am curious to know if setting 'WPLANG' in wp-config.php just effects the admin language or does it have other consequences? I run a blog in a foreign language but use English in my admin. I ...
0
votes
2answers
161 views

How do I enable Multisite on WP 3.7.1?

(Using Wordpress 3.7.1) Adding the string define(‘WP_ALLOW_MULTISITE’, true); to my wp-config.php file isn't giving me the 'Network' choice in the Tools menu, even after multiple logouts and waiting a ...
0
votes
0answers
137 views

Problems with moving wp-content to a subdomain

Got a little problem. I wanted to move wp-content to a subdomain (content.sitename.com) but there's a weird problem when rendering PHP-Content (e.g. style.css.php). Every PHP file in ...
0
votes
2answers
224 views

Conditional config WP_HOME/WP_SITEURL does not update bloginfo('template_url')?

The scenario: This question relates to Wordpress theme development on a local environment via MAMP. In order to enable mobile device testing via xip.io, I have modified my local Wordpress ...
2
votes
1answer
117 views

register_theme_directory somehow “fails” when folder is outside of WP-Folder

This is a simple skeleton for WordPress, that makes it possible to have just "themes" and "plugins" under version control: https://github.com/sourcerer-mike/WordPress-GIT-Skeleton When doing ...
0
votes
1answer
63 views

/var/run/mysqld/mysqld.sock

I'm using Wordpress v.3.4.2 and today I've tried to update to the v.3.7.1 using all possible ways but in all of them I got the following error "Can't estabilish database connection", and since I was ...
1
vote
1answer
5k views

Creating the wp-config.php file manually

Setting up WordPress, I'm getting the following message: "Sorry, but I can't write the wp-config.php file. "You can create the wp-config.php manually and paste the following text into it." Do I ...
0
votes
0answers
125 views

Malware/Permission bug removal?

I'm facing a hell of a problem on a client's WP theme. Whenever I try to 'Activate' it, it gives me the following errors on a blank page: Warning: ...
0
votes
2answers
756 views

error:-Cannot modify header information - headers already sent by

whewn ever i try to login http://affiliatesurge.com.au/wp-admin/ i got "" Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
0answers
37 views

Wordpress NavXT plugin localization

My situation is as follows: 1) I am using wordpress 3.6.1, and I have the Breadcrumb NavXT plugin installed. 2) I have a custom theme, and the localization file is on the following path: ...
-1
votes
1answer
74 views

Wordpress White Screen Error

So I have encountered the white screen error of Wordpress. I enabled the WP_DEBUG in the wp_config.php and found no errors. I also tried error_reporting(E_ALL); and ini_set('display_errors', 1); and ...
0
votes
1answer
38 views

Is there any reason why using the same wp-config file might not work in MAMP?

I'm not sure why but when i just want to create a copy of a site that i'm working on in MAMP, that say i just downloaded from the web. I just copy the same wp-config file from another local version ...
0
votes
0answers
40 views

Remove Multisite

This is a site I'm working on, but did not build. It is on a multisite network- but I would like to get it back to normal. There are no other sites on the network. All of the instructions tell me to ...
0
votes
4answers
3k views

Permalink Issues by Installing WordPress in Subdirectory / Subfolder

I installed WP in subfolder /cms and it runs live without subfolder. When I use /%postname%/ as permalink I get 404 error on my site. My Server supported mod_rewrite. My Code wp-config.php ...
0
votes
1answer
864 views

Changing from localhost:8888 to localhost

I have just changed ports on MAMP from :8888 to :80 for localhost in order to setup a WordPress multisite for local development. However I have several sites with separate installations that are in my ...
0
votes
2answers
162 views

How is it possible that the function of the test page works, but it does not go live?

I want to load the new entries without reloading the page. I found a great solution for: The ajax script: <script> $(document).ready(function() { var refreshId = setInterval(function() ...
1
vote
1answer
323 views

How to move theme directory but not plugins/uploads out of WordPress root directory?

I am trying to set up a few local multisite installs that will share the same themes folder, but have separate upload and plugin folders that will be in the usual places in wp-content. UPDATED: ...
1
vote
1answer
80 views

blog url redirecting

I used to host a word press blog and a forum on a server (srv71) with a domain name. And a few days ago I transferred my whole site to a new server (srv14) but I havn't updated my dns and I've ...
2
votes
2answers
201 views

Set wp-content folder to Dropbox folder

Ideally I would like to do this with both my PC and Mac OSX boxes, but for now I would be thrilled with just the Mac OSX. I am trying to keep my WP Themes & Plugin Local Development synced using ...
10
votes
2answers
1k views

Symbolic Links on dev box with plugins and stylesheets

I'm using mac os x 10.6 with xampp. http://wp3.1/ is the url to where I have WordPress installed. The physical path is /Users/myUserName/Sites/wp3.1/ I do not install plugins or themes in the ...
0
votes
1answer
28 views

Secret keys in SCM

I have a WordPress installation in a Git repository and I'm wondering, if it's safe to have the 8 "secret keys" stored in there, or if I should insert them during deploy.
0
votes
1answer
379 views

How to create custom variables in the wp-config

I would like to add some custom config variable in the wp-config file (not in the functions.php). Then, I need to access to these variable in my templates. What is the way to do it ?
0
votes
1answer
68 views

Pick your brain on wp-config.php if statement for multisite

I am trying to write a if statement into the wp-config.php to only enable define('WP_DEBUG', true); if it's not the main site in a WordPress Multisite install. I just don't know how much of the ...
1
vote
2answers
363 views

Custom port problem with local MU installation

Situation I've just setup a new installation of WordPress (running on XAMPP/Win7). As I had a port conflict on :80/:443, I switched to :187/4430. Error When I'm now trying to access ...
0
votes
2answers
550 views

Publishing Wordpress from stage to production server

I'm having trouble configuring wp-config.php correctly in a staged server environment. I'm being told that I should be working in my stage environment for Wordpress with an example address of ...
2
votes
1answer
2k views

Changing WP_CONTENT_DIR and WP_CONTENT_URL in wp-config.php does not register?

I tried to add this to the end of my wp-config.php define('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/somedir'); define('WP_CONTENT_URL', 'http://example.com/somedir'); however, echo ...
1
vote
1answer
887 views

Control verbosity level of WP DEBUG?

I've been at a loss so far and so I thought I'd pose the question: Is there a way to modify the verbosity level of the WP debug.log via wp-config.php or elsewhere? Just an fyi, here is what I have in ...
0
votes
1answer
138 views

Multi language site using only .mo and WPLANG

Hello world/ Bonjour le monde, What technical limitations exist that would prevent the following from working (assume all static content with translations made in .mo file) Pseudo code: For every ...
2
votes
2answers
94 views

Declaratively Configuring Wordpress in XML or JSON or YAML

Couldn't find this on Google... Is there any handy way of fully (or partially) configuring a Wordpress site (plugins and all) using XML/JSON/YAML/etc? In general, I'm looking for a highly-readable, ...
0
votes
1answer
222 views

Custom theme folder

Is anyone aware of an equivalent to WP_PLUGIN_DIR and WP_PLUGIN_URL for themes that I can define in wp-config.php, or am I stuck creating a mu-plugin and registering a new theme dir?
1
vote
1answer
663 views

Bad Request (Invalid Hostname) on working server, database problem

I have a local server up using EasyPHP. I know its working because I have a default wordpress install running and up on my brower. I have a full site which I also know I have working because when I ...
0
votes
1answer
290 views

Conflict with wp_homeurl, wp_siteurl and admin interface settings

I'm starting wordpress development, and learning the platform. Now I'm stuck with a strange issue. I have created a virtual host configuration that works as expected. I'm using xip.io for dns ...
0
votes
1answer
199 views

Changing the wp-config.php broke the site

I added the lines define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/blog/wp-content' ); and define( 'WP_CONTENT_URL', 'example/blog/wp-content';); in my wp-config.php and then my site broke. ...
0
votes
2answers
113 views

How secure is a wp-config file?

Considering the information that is in the wp-config file, how secure is this file? I have password salts in place, but can someone view this file? Or to what level of difficulty can some view the ...
3
votes
1answer
355 views

Wordpress PHP error handling and reporting in production environment

I'm trying to find a solution on how to handle the displaying and logging of errors in a PHP (Wordpress) production environment. Is it possible to do the following (alternative suggestions welcome): ...
0
votes
1answer
60 views

Cleared wp-cache and file is still not updated [closed]

I did all the following: Deleted the cache in the WP Super Cache settings Added define('DISABLE_CACHE', true); in my wp-config.php Deleted my 'cache' folder under 'wp-content' However a theme php ...
1
vote
2answers
149 views

Why do I get a WAMP homepage when clicking on specific website's URL on LocalHost?

Using WAMPSERVER for windows 7, smartgit and Safe Search Replace I have pulled a wordpress code from my git, downloaded a database and inserted into my localhost's phpmyadmin. My home page works but ...
0
votes
1answer
84 views

DB access blocked when initializing WP externally

I have an odd problem I'm hoping the group can help with. The problem is this: I have a few situations where I load the Wordpress environment without the overhead of the GUI (details) I am able to ...
3
votes
3answers
1k views

Is it possible to change the log file location for WP_DEBUG_LOG?

I use WP_DEBUG_LOG in my development environment and have no issues with debug.log being in the wp-content directory. Sometimes I turn on WP_DEBUG in production when I need to debug something, and I ...
-1
votes
1answer
177 views

Default installation permissions for wp-config.php

Recently I've noticed that many of the wordpress installations we have on our servers where being attacked and ifected by this thing ...
8
votes
1answer
3k views

Moving a WP Multisite to a subdirectory

Firstly, I've read a number of posts on this process. However, for various reasons, the process remains difficult to implement or troubleshoot for lack of even abstracted examples, or maybe too ...
0
votes
2answers
3k views

How to disable the default WordPress redirect to non-www URLs?

I am trying to redirect all non-www to www URLs in my WordPress MultiSite install. I am using a simple .htaccess rule like this: # Redirect non-www to www: RewriteCond %{HTTP_HOST} !^www\. [NC] ...
4
votes
3answers
4k views

What is the best way to get directory path for wp-config.php?

I am developer of the plugin mapsmarker.com which also offers several APIs which can be accessed directly (eg www.mapsmarker.com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?marker=1) ...
3
votes
3answers
662 views

Is there a way to define wp_blogs domains in wp-config?

In my multisite setup I have multiple environments that I want to share the same database, but use different domains. server1.example.com server2.example.com example.com ... each of those would ...
0
votes
2answers
733 views

Some plugins adding full server path after url (with custom wp-content folder)

Installing Wordpress SEO (an a few others but not all plugins) gives the following console error: GET ...
0
votes
2answers
681 views

“There doesn't seem to be a wp-config.php file.” despite wp-config.php in root

I've encountered an odd problem and I'm not at all sure how to go about fixing it.. I have a site that was working fine until I changed a page title from "PRESS" to "BLOG." Now, when you visit the ...
2
votes
2answers
842 views

Renaming wp-content folder dynamically

Is it possible to rename the wp-content folder dynamically? I am building a custom framework to use on themes and it would be nice to set it up where it does everything on its own. I am using this ...
0
votes
4answers
873 views

Can two domains use the same database?

I want to change a current site that already has a fairly robust database. Before I do, I want to test a few different layouts to make a decision. Instead of using the original site, I am thinking ...
6
votes
2answers
2k views

Prevent access or auto-delete readme.html, license.txt, wp-config-sample.php

Just a quick question that might help a tad bit with security. I noticed that the readme.html file has the version number listed. It reappears after each upgrade and so do the licence.txt, and ...