Skip to main content
14 votes

WP Asking for FTP Credentials with XAMPP Localhost

Congratulation Jon, welcome to the WordPress world! To fix the issue, just add the following line of code in your installed WordPress's wp-config.php file. It's a PHP constant declaration which tells ...
obiPlabon's user avatar
  • 1,719
8 votes

Local version of a Wordpress site - SSL/HTTPS enforced?

WordPress keeps WP_HOME and WP_SITEURL in DB, this is set during initial installation and usually is the domain of your website, in your case it is a domain with https. Your visiting site via local ...
sandrodz's user avatar
  • 614
7 votes
Accepted

403 Forbidden with gutenberg

In case anybody comes across this, I had the following in my apache config <Directory "/home/*/Sites"> AllowOverride All FileInfo AuthConfig Limit Indexes Options MultiViews Indexes ...
Jonathan Hodgson's user avatar
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
6 votes

wp_mail() is not working in localhost

If anybody stumbles across this old question: In my case, the reason was, I gave the site at localhost a name without a top-level domain. e.g. "mysite" (instead of "mysite.com"). ...
Ronni's user avatar
  • 61
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
4 votes

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration

For me, the issue was that my localhost software (MAMP, on macOS) was not able to make a secure connection. After enabling WP_DEBUG and checking the log file, I saw the following error (emphasis added ...
kayge's user avatar
  • 141
3 votes

Wordpress redirecting to 127.0.0.1 when accessing the site from a remote device

Maybe your case was different from mine, but I want to share with you how I fixed this issue, hoping will be useful for other people. In my case the issue was caused by All In One Wordpress Security ...
Diego D's user avatar
  • 131
3 votes

Migrating Multisite with WP-Cli and/or Search-Replace-DB

Accepting a little egg on my face. Dumb-dumb error. The above migration was 100% successful despite the error messages from WP-Cli and Search Replace DB. The reason that my theme appeared broken and ...
mjones's user avatar
  • 153
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

unable to upload image locally

By far the easiest way on a Mac is to right click on "uploads" , select "Get Info", then change the permissions at the bottom of the "Uploads Info" window to include read and write for the appropriate ...
Paul Steinberg's user avatar
2 votes

Loading media on local WordPress using remote database

Somewhere in the core, URLs get absolutely pathed when put into the database. Why don't you just load all your images from your staging server? Have the staging server hold the files while your ...
Kat's user avatar
  • 21
2 votes

Wordpress not working on localhost

If you've updated the options in the dtabase and are still getting redirected. You can also define both the WP_SITEURL and WP_HOME in your test wp-config.php define( 'WP_SITEURL', 'http://example....
Tunji's user avatar
  • 2,951
2 votes
Accepted

Localhost WordPress not recognizing my online WordPress account

WordPress do not work like Facebook or Twitter. Each WordPress installation is a separate application, it has its own database where users are stored, each installation is independent of one another. ...
Greg36's user avatar
  • 701
2 votes

hosting a wordpress site locally to my team

You can create a local server with the installing linux and then you can add your project to that server so that all your team member which are connected with same network are can view the site. When ...
Tarun modi's user avatar
2 votes

Root Sage theme styles are not working!

In Sage 9, the asset pipeline comes through Webpack. You'll need to run yarn from the theme root and then start or production build the site with yarn as well.
jamesfacts's user avatar
2 votes

Wordpress redirecting to 127.0.0.1 when accessing the site from a remote device

You can add the config below to wp-config define('WP_HOME','http://example.com'); define('WP_SITEURL','http://example.com'); Or update the value in database at wp_options table. The settings of url ...
Hồ Trọng Linh Ân's user avatar
2 votes

Redirecting connection from IP to localhost

Trying to change edit the wp-config.php file was a good idea, let's try some extra things to see if they solve the problem. Let's add these lines to the bottom of your functions.php: update_option( '...
Castiblanco's user avatar
  • 2,194
2 votes
Accepted

Other devices on same network unable to access Wordpress localhost setup

Have a look at the answers here: https://stackoverflow.com/questions/20122583/website-in-wordpress-redirects-to-old-url-after-migration In particular, I'd check these two: https://stackoverflow.com/a/...
user16081's user avatar
  • 186
2 votes
Accepted

Hosting a seperate wordpress project on localhost

There are a bunch of different ways you can approach this. Modify your existing LAMP installation — Using your existing LAMP stack in /var/www/html (I assume you are on a Mac?) you could use Virtual ...
MikeSchinkel's user avatar
  • 37.5k
2 votes

DIVI Theme customizer changes not applied on existing pages

Before you try following methods, I request you to clear you browser cache or disable any cache plugin and try again. There is a functionality in divi which enables it to cache inline CSS and serve it ...
abhinav's user avatar
  • 121
1 vote

How do I correctly configure my AMPPS localhost to use subdomains for multisite?

On a Mac this is pretty easy to do, I believe it should be the same on a PC (more or less). Note: Since Chrome no longer plays with domains ending .dev I tend to set up all my local sites on a ...
robwatson_dev's user avatar
1 vote

mamp localhost not picking up wp-login

If you want to access your Wordpress site on the new device with a domain, such as wordpress.local instead of localhost:8888/wordpress, you may want to define a vhost configuration for MAMP first and ...
Anson W Han's user avatar
1 vote

How do I access a remote database with a local MAMP development install?

What you are trying to do will not work as you local PCs will most likely get different IP addresses from time to time which will mean that you will have to reconfigure your server. Your solution is ...
Mark Kaplun's user avatar
  • 23.5k
1 vote
Accepted

Unable to install and upload theme due to php.ini file

You should upload the theme manually to the server - copy the theme folder to your system folder corresponding to this URL: http://localhost/lps/wp-content/themes/ After you're done copying the ...
Mihai Papuc's user avatar
1 vote

Row background image not showing in mobile browser served from wamp local host

Relative paths act differently when they are used in a CSS file. The behavior is still the same, and the path is still relative, but to a human it might seem confusing. When you use a path like this ...
Johansson's user avatar
  • 15.3k
1 vote
Accepted

All includes are pointing at local host

You must have to update your website URLs after migrating your site from live server to local or local to live server. Go to your phpmyadmin and select your database, then in SQL section paste the ...
Arsalan Mithani's user avatar
1 vote

How to transfer from localHost to live but use the already existing database on the server?

Moving your sites My recommendation would be to use the the duplicator plugin. Far and away the easiest method I've used to back-up, move, and restore sites from local to production or from one host ...
dwcouch's user avatar
  • 51
1 vote

Wordpress not working on localhost

1) Make sure the wp-config.php doesn't have multisite reference settings such as define("DOMAIN_CURRENT_SITE", "somesite.com" );. If it does, delete these settings 2) If you have updated siteurl and ...
codiiv's user avatar
  • 279
1 vote

how to open my existing site on mamp

After weeks of trial and error I have the solution. Start Over! Delete Mamp. Re-download it and wordpress and follow this link enter link description here to the letter. It took me several tries but I ...
Mike Foley's user avatar

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