Skip to main content
8 votes

Why is WordPress redirecting from http to https on a local environment?

Well, at my situation... I downloaded the company website from production to localhost because I was needed to prepare a development environment for some developers. The production is using https:// ...
busythomas's user avatar
6 votes

Using the Parcel build tool with Wordpress

Since 2018, I have been developing all my WordPress themes with parcel. It does accept javascript files as an entry points (or even multiple of entry files). In your console: $ parcel ./path/to/your-...
rassoh's user avatar
  • 596
5 votes

Why is WordPress redirecting from http to https on a local environment?

Make sure you don't have installed and activated a plugin that forces a redirection to HTTPS, for example, the Really Simple SSL. If you have one, deactivate it on the localhost by renaming the plugin ...
Arif I.'s user avatar
  • 151
3 votes

WordPress Multisite with VVV

You need the VVV Custom site template to enable multisite. And you have to let the main Vagrant instance load it automatically. Open the vvv-config.yml in the main directory, under sites: add the ...
fuxia's user avatar
  • 107k
3 votes

Failed to connect to FTP Server 127.0.0.1/:21

I was facing this issue. This post helped me. There could be multiple reason: Permission issue on the files and folders. The FS_METHOD should be "direct" in wp-config.php file. Remove FTP ...
drishti ahuja's user avatar
2 votes

Staging sites era: does it still makes sense to develop locally?

Faster! My local WAMP install is SLOW, no matter CPU, RAM & SSD! Dedicated VPS solutions are x times faster than a local install. This isn't right. Typical hosting out there would be resource–...
Rarst's user avatar
  • 99.8k
2 votes

Working on live sites locally

It looks like you're connecting to the live database from your local machine. Not many hosts allow remote connections to the database by default. You may have to request this type of access from your ...
MikeNGarrett's user avatar
  • 2,661
1 vote
Accepted

Alias to theme folder for local development

Got it—needed to use a symlink rather than an alias. cd ~/child1.local/wp-content/themes/ ln -s ~/parent.local/wp-content/themes/parent/ parent Figured it out with help from this article.
nickfindley's user avatar
1 vote

Locally restoring a ManageWP full site backup

I don't have a ton of experience with manage wp but I am going to suggest an alternative for setting up a local site based on a live site. I would suggest using the plugin "All In One Migration&...
grzybowski1911's user avatar
1 vote

Outgoing new connection to linked Websites - why?

What you're seeing are probably calls from Pingbacks. If you don't want them you can either disable them globally in the settings or just for a specific post in the "Discussion" metabox in ...
kraftner's user avatar
  • 5,618
1 vote

How best to keep my localhost on Http while my Remote production is on Https

The correct approach is to use HTTPS everywhere, and to migrate to SSL properly: remove the Really Simple SSL plugin change your sites URL option to the https version search replace your database so ...
Tom J Nowell's user avatar
  • 60k
1 vote
Accepted

Wordpress Local Install Theme Folder Permission To Edit

You have to add yourself to group www-data. sudo usermod -a -G www-data yourUserName Don't forget the -a, which appends the new group to your existing groups. Otherwise you loose all other groups.
moped's user avatar
  • 589
1 vote
Accepted

Wordpress on localhost working, when sharing IP to connect receive err_connection_refused on .js and .css files

As discussed in comments, the problem was that the site address was set to localhost:8888/myBlog. This is the URL WordPress is expecting your clients to be using, and uses this to generate fully-...
Rup's user avatar
  • 4,342
1 vote
Accepted

Accessing private posts through REST API, same code that works in remote doesn't in local

The problem was that I didn't completely clone the wp site, and I forgot to install the plugin that I used to manage user roles The plugin is Members ("User Role Editor by Members – Best User, Role ...
GWorking's user avatar
  • 165
1 vote
Accepted

Using the Parcel build tool with Wordpress

Parcel is intended to be used to build apps from the ground up. That's why they recommend starting with a index.js or index.html file. You might be able to use Parcel's packaging for a theme or ...
MikeNGarrett's user avatar
  • 2,661
1 vote

How to create a child theme without losing changes made to parent

Actually, creating a Child Theme is well documented in the Codex along with lots of tutorials. As for changes you make to the Customization screen in the parent theme, you'll need to export those and ...
Rick Hellewell's user avatar
1 vote

How to deactivate/remove https on localhost project from online

I also had this experience with chrome and firefox, they switch http to https and did not find a way to overcome it, so i used internet explorer in that windows machine. I don't think you can have ssl ...
JBoulhous's user avatar
  • 289
1 vote

How to Move a production WordPress site to local environment

At first you need to have a local webserver with php and mysql to run the site locally (e.g. XAMPP). Then you have to download all your WordPress files and copy them into the source folder of your ...
ahendwh2's user avatar
  • 696
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

How to copy Wordpress live website to Bitnami stack localhost?

It is the same procedure as going from local to live website. Supposing that you are using a Windows Machine, when downloading a Bitnami Wordpress Installer, it creates a folder in C directory and ...
ivhysenbelli's user avatar
1 vote

Installation Issue WordPress locally - The file ‘wp-config.php’ already exists

Normaly on servers you can install WP with WP installation proccess and you will have auto generated wp-config.php file. On some servers you need to create wp-config.php manualy. Here is how to ...
Ivijan Stefan Stipić's user avatar
1 vote
Accepted

Installing a theme on localhost, Ubuntu 16.04

The directory /wp-content/ of your local installations needs permission to create directory. It is necessary to upload the package and unpack. rights Maybe this should helps, if the user is www-data....
bueltge's user avatar
  • 17.1k
1 vote

How can I deploy my InstantWP site to a live website?

Via phpMyadmin Go to MySQL Admin Enter to phpmyAdmin with your user and password of your WP config access Create a sql backup Go to your phpmyAdmin on your live server and on a new Worpress ...
Fernando Baltazar's user avatar
1 vote
Accepted

How can I deploy my InstantWP site to a live website?

Hopefully I can be of a little help. Taking a look at the InstandWP website, it appears to be an install version of WordPress that installs into a directory, and then contains all settings etc for ...
EBennett's user avatar
  • 316
1 vote

Failed to connect to FTP Server 127.0.0.1/:21

Is because Wordpress is looking for FTP as default Add this to your wp-config.php it will overwrite that and use a direct method so no need for FTP Add this to wp-config.php file => define( '...
Jonathan Sanchez's user avatar

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