Wordpress: Difference between revisions

From DWIKI
Line 24: Line 24:


=FAQ=
=FAQ=
==Upload or install keeps giving "Connection Information" dialog==
Seems to mean ftp/ssh doesn't have write access, check at least:
wp-content/plugins
wp-content/themes
==multiple sidebars==
==multiple sidebars==
*http://orangescale.com/blog/2006/06/multiple-sidebars-in-wordpress-widgets/
*http://orangescale.com/blog/2006/06/multiple-sidebars-in-wordpress-widgets/

Revision as of 13:18, 28 April 2023

Links

Documentation

Howto

Make slugs work

In setttings->permalinks select custom structure /%postname%/ and make sure you have AllowOverride All in apache config


Get wordpress version on CLI

grep wp_version wp-includes/version.php


Show successful logins

grep 'wp-login.* 302 ' accesslog

FAQ

Upload or install keeps giving "Connection Information" dialog

Seems to mean ftp/ssh doesn't have write access, check at least:

wp-content/plugins
wp-content/themes


multiple sidebars


The ssh2 PHP extension is not available

Install https://en-ca.wordpress.org/plugins/ssh-sftp-updater-support/

How to log in?

In /wp-admin/ !

Upload file and add link to it

Posts->Add new, in editor use "add media"


command line management tool

wp-cli


CLI upgrade

wp core update


Could not fully remove the plugin

Check logs :)


user login history

Settings > User Login History