Manual change of URL in WordPress
- No Comments
- paź, 18, 2018
- siwy
- Useful commands, WordPress
First login to database. Check what is the current URL: select * from wp_options where option_name = 'home’ OR option_name = 'siteurl’; SQL to change URL: UPDATE wp_options SET option_value = replace(option_value, 'https://www.old.pl’, 'http://new.home.pl’) WHERE option_name = 'home’ OR option_name = 'siteurl’; UPDATE wp_posts SET guid = replace(guid, 'https://www.old.pl’,’http://new.home.pl’); UPDATE wp_posts SET […]
Read MoreWordPress blog syntax
- No Comments
- lip, 04, 2018
- siwy
- Knowledge, WordPress
Source: <ul> <li><a href=”https://www.youtube.com/watch?v=jSnvgBvlweY”>www.youtube.com</a></li> </ul> Syntax: Enter – List: text <li>List:</li> <ul> <li>text</li> </ul> Chars: < – < > – > / – / ] – ] [ – [ ” – " ’ – &q#39; “ – “ ” – ” ‘ – ‘ ’ – ’ & – & […]
Read MoreAktualizacja WordPress bez FTP
- No Comments
- sie, 07, 2017
- siwy
- WordPress
1. Dodanie na koniec pliku wp-config.php jednej linii kodu: define(’FS_METHOD’,’direct’); 2. Zmiana właściciela katalogu wp-content: chown -R www-data:www-data wp-content
Read More