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 the WordPress to avoid the FTP. That’s it. define( ‘FS_METHOD’, ‘direct’ ); For more info: https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

Relative or dynamic site url possible?

I usually just avoid the issue entirely every time I create a new wordpress site: define(‘WP_HOME’, “https://wordpress.stackexchange.com/”); define(‘WP_SITEURL’, “https://wordpress.stackexchange.com/”); will cause wordpress to use root-relative urls for everything. Makes site migrations to other domains far easier. Ofc, if you access your site using a folder (eg. “http://<domain>/blog“) you could change them to: define(‘WP_HOME’, ‘/blog/’); define(‘WP_SITEURL’, … Read more

Jetpack Running Locally [closed]

As of JetPack 2.2.1 there is now a local development/debug mode. http://jetpack.me/2013/03/28/jetpack-dev-mode-release/ use: define (‘JETPACK_DEV_DEBUG’, true); in your wp-config and you should have access to any modules that don’t require a connection to function. Update, since around v3.3 another local development trigger was added via filter instead of define. Latest is now here: http://jetpack.me/support/development-mode/ Development … Read more

What’s the whole point of “localhost”, hosts and ports at all?

In computer networking, localhost (meaning “this computer”) is the standard hostname given to the address of the loopback network interface. Localhost always translates to the loopback IP address 127.0.0.1 in IPv4. It is also used instead of the hostname of a computer. For example, directing a web browser installed on a system running an HTTP … Read more