Skip to main content
Share Your Experience: Take the 2024 Developer Survey
9 votes
Accepted

the correct order of manual install WP and SSL on server

There's not a correct order. Either way will work and results in a WordPress install that is secured with SSL. What makes sense in a situation, depends on the setup and workflow. If you can plan ...
rudtek's user avatar
  • 6,121
6 votes

wordpress on localhost lamp doesn't let me install plugins

After installing WordPress 5 on Debian 9 Stretch I updated (remotely on localhost) and was prompted for FTP details. Running these commands in terminal fixed the problem: chown -R www-data:www-data /...
Kelly's user avatar
  • 291
5 votes

Install and configure WordPress while old site is still active

While this might be not the easiest task for a beginner, it is very well possible – with a little help from some plugins. In a similar scenario I would usually install WordPress under a subdomain. ...
tillinberlin's user avatar
5 votes

wordpress on localhost lamp doesn't let me install plugins

This is a permissions issue. Here are some steps to fix ownership and r/w permissions in a more secure way: // check what groups your username belongs to $ groups // if your username doesn't belong ...
mtm's user avatar
  • 241
5 votes
Accepted

Workaround for: PHP syntax error, unexpected T_STRING in load.php on line 1104 (when installing)

WordPress doesn't run on PHP 4. This version is 10 years old and completely broken by any current standards. You have to use a newer PHP version, there is no workaround. You can always look up the ...
fuxia's user avatar
  • 107k
5 votes
Accepted

Wordpress redirect loop on nginx + apache reverse proxy

Issue was caused by nginx serving example.com/index.php while Wordpress was redirecting to example.com/, thus causing a redirect loop. This is the working config I used to fixed the redirect loop: ...
Capy's user avatar
  • 81
5 votes

To perform the requested action, WordPress needs to access your web > server

You have to add the following Line before /* That's all, stop editing! Happy publishing. */ in wp-config.php file. define( 'FS_METHOD', 'direct' );
Chetan Vaghela's user avatar
4 votes

Install and configure WordPress while old site is still active

Assuming your domain is mydomain.org. Instead of installing WordPress under a different domain (wordpress.mydomain.org) you could install WordPress on your local machine (using XAMPP MAMP or a virtual ...
David's user avatar
  • 3,275
4 votes

How do I setup a WordPress site on a server before the domain is ready?

I normally just map my hosts file to the correct IP. This would work if you were only wanting to work on a site from your box only. Only benefit to this option, as opposed to others, is that you ...
Samyer's user avatar
  • 243
4 votes
Accepted

Unable to install wordpress theme without ftp user & password

1) See if the internal folder /theme is writable too. 2) Add define('FS_METHOD','direct'); to wp-config.php
Mohit's user avatar
  • 166
4 votes
Accepted

WSOD for admin when using PHP 7

After a lot of testing and considerable frustration, I discovered the problem. I am including this solution in the hope that it saves someone else a lot of frustration if they encounter a similar ...
Clinton's user avatar
  • 851
3 votes
Accepted

How to set a Cookie-Free Domain with WordPress?

Your mistake is the WP_CONTENT_URL's postfix. You should set the definitions in the following manner: define("COOKIE_DOMAIN", "www.artisanplombier-pascher.com"); define("WP_CONTENT_URL", "https://...
snowflake's user avatar
3 votes
Accepted

I can't install theme: theme install failed

Your theme’s stylesheet must contain a commented-out header with the theme’s name: /*Theme Name: nameoftheme*/
Swati's user avatar
  • 40
3 votes
Accepted

Reinstall WordPress from zero

Yes, you're right. Steps need to do: Delete the db related to your WordPress installation( or you can just emty your db without deleting it. This option will save several minutes of your time to not ...
Samvel Aleqsanyan's user avatar
3 votes

Change WordPress directory

Move your site files from site.com/website to site.com/wordpress (or just rename the folder if you prefer) Download the Search/Replace PHP script from here: https://interconnectit.com/products/search-...
Mat's user avatar
  • 1,637
3 votes

During theme installation theme upload failed

The key part from the error is: The theme is missing the style.css stylesheet. WordPress docs on Main Stylesheet says: In order for WordPress to recognize the set of theme template files as a ...
Valentin Genev's user avatar
2 votes

wordpress on localhost lamp doesn't let me install plugins

I usualy use : sudo chown -R _www:_www /path/to/wordpress/ if security not big issue
Ari Pratomo's user avatar
2 votes

wordpress on localhost lamp doesn't let me install plugins

Ubuntu Users Just add define('FS_METHOD','direct'); to wp-config.php and it will work on localhost. Just make sure you don't add it to production version. See: codex.wordpress.org/Editing_wp-config....
Jahanzaib Aslam's user avatar
2 votes

Wordpress On subfolder

Maybe try something like this.. .htaccess on your root: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} ...
J Garcia's user avatar
  • 141
2 votes

My WordPress install is not loading the admin styles

There could be any number of problems with your site, so it's really hard to say what the real "problem" is. I'd suggest first checking out your console for http request errors (see if there are any ...
Ryan's user avatar
  • 201
2 votes

Sharing one WordPress installation between several "sites"?

WordPress multisite installation with database: cd /var/www sudo mkdir -p domainone.com/public_html && sudo mkdir -p domaintwo.com/public_html && sudo chown -R vancoder:www-data /var/...
Daniel's user avatar
  • 351
2 votes
Accepted

Sharing one WordPress installation between several "sites"?

Am I missing a requirement, or will multisite suffice? http://codex.wordpress.org/Create_A_Network Multiple blogs, one install, one database...
vancoder's user avatar
  • 7,845
2 votes
Accepted

Can I install a new Wordpress site inside a sub-directory of an existing Wordpress site?

Yes, you can do that. It won't affect any of the installation. I have already done this for few sites. Works without issue.
Aniruddha Gawade's user avatar
2 votes

PuTTY is glitching out when I try to install wordpress

We were all noobs once :) Try running the same command with wget: wget https://wordpress.org/latest.tar.gz Than, you'll have to extract it with this command: tar -xzvf latest.tar.gz this will ...
elicohenator's user avatar
2 votes

WP forwarding to wrong site address

You may have some problem with JavaScript on your website, with the hardcoded URLs. As I can see you are trying to create the test environment. This is good, and I like people creating the test ...
prosti's user avatar
  • 4,283
2 votes
Accepted

Multiple Multisite networks on the same domain?

You can not run different networks or different Multisite installations under one domain in the default possibilities of WP. But you can use one Multiste with multiple networks with the help of a ...
bueltge's user avatar
  • 17.1k
2 votes
Accepted

Does Wordpress Import/Export tool actually exports media (images) as well?

In addition, you can import attachment by checking the "Download and import file attachments" option. (source) This means, if you use the official WordPress Importer plugin, it will read ...
kero's user avatar
  • 6,220
2 votes

Can't restore my wordpress site from zip back up file

You need the files and a database, so here you are missing the database. follow these steps: http://www.wpexplorer.com/migrating-wordpress-website/
Ali Basheer's user avatar
2 votes

Why does chrome keep downloading a file instead of running the site?

What I do On receipt of Wordpress files and Db install in my localhost directory (I use EasyPHP Dev server) I then install Db and change wp-config.php to connect to local db etc. Then copy .htacces ...
Craig Lambie's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible