Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/answerquest/wordress-sqlite
Ready-to-deploy fork of wordpress 4.6 with SQLite Integration, just PHP, no SQL needed
https://github.com/answerquest/wordress-sqlite
Last synced: 25 days ago
JSON representation
Ready-to-deploy fork of wordpress 4.6 with SQLite Integration, just PHP, no SQL needed
- Host: GitHub
- URL: https://github.com/answerquest/wordress-sqlite
- Owner: answerquest
- Created: 2016-08-21T08:15:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T01:26:49.000Z (over 8 years ago)
- Last Synced: 2024-10-24T03:28:38.366Z (2 months ago)
- Language: PHP
- Size: 7.99 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wordress-sqlite
Ready-to-deploy fork of wordpress 4.6 with SQLite Integration, just PHP, no SQL database needed* Run the `php-sqlite-pdo-test.php` script from browser for a quick check on whether your server supports sqlite.
* Unzip `wordpress-sqlite.zip` to your folder/server location.
* Place the contents of the extracted `wordpress-sqlite` folder to where you want to deploy your site (ex: `/public_html/` in your FTP server account)
* From your browser, navigate to your server / folder location, and follow the installation steps like in any normal wordpress installation.
* It will start with language selection, and jump straight to setting the site's name and admin credentials, without bothering with any db connection.### Moving the site to a new place
If your website is moved to another path or its URL path has changed for any reason, then in the root folder, open the wp-config.php in a text editor, and insert this line before the `/* That's all, stop editing! Happy blogging. */` comment:`define('RELOCATE',true);`
... and from browser, go to the login page:
`http:///wp-login.php`
.. and login to your admin dashboard.
Go to `Settings > General` to confirm and save the new path (in both the site url and other option), and go once to `Settings > Permalinks` to set the permalinks structure (even if the same option is selected, press "Save.." as that irons out a lot of creases).
So the site will set its url internally to the new one. But this will not change the paths at other places in your site, like in links, images etc; recommended to install a find and replace or similar plugin to change the paths for the rest of the site.
Once fully moved, edit `wp-config.php` again and remove the line or set it to false. You can keep it that way too if you wish, but that's usually discouraged for becoming some security issue.
To know more about moving sites, and for other options (non-database-related) please see:
https://codex.wordpress.org/Changing_The_Site_URL### Compatibility with backup plugins
Tested with Updraft Backup..In settings, for files backup, leave this option checked ON: `Any other directories found inside wp-content`. This will include the sqlite backup in the database.
Don't bother backing up the database.
Tested on my local server with the same path.. worked fine.
If your restored site is to be at a different URL path, then you might have to work on changing paths as shared above.