Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F15171459
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/README.md b/README.md
index 6ebe189..0ac4bc2 100644
--- a/README.md
+++ b/README.md
@@ -1,29 +1,45 @@
# WordPress migrate URL script
Another WordPress migrate URL script.
+Sadly WordPress put the domain name everywhere instead of using relative URLs etc.
+
+I was somehow not happy about the existing scripts, so here you are another one.
+
+Database tables involved:
+
+* `posts` ( `post_content` and `post_excerpt` )
+* `options`
+* `postmeta`
+
+Yes, the `options` and `postmeta` tables contains serialized data. Also that will be migrated.
+
## Installation
```
sudo apt install php-cli
git clone https://gitpull.it/source/suckless-php.git
git clone https://gitpull.it/source/wp-migrate-url.git
```
## Configuration
Copy the file `load-example.php` as `load.php`.
Fill `load.php` with fill your database credentials.
## Usage
```
./migrate.php http://old.url/ http://new.url/
```
+## Stupid questions
+
+* Why is this script in PHP? Because WordPress is in PHP and because PHP is not that bad. I wrote this script in 3 minutes.
+
## License
Copyright (c) 2019-2029 [Valerio Bozzolan](http://boz.reyboz.it/)
This is a **Free** as in **Freedom** project. It comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under the terms of the **GNU Affero General Public License v3+**.
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Nov 19, 00:35 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263539
Default Alt Text
(1 KB)
Attached To
Mode
R42 WordPress migrate URL
Attached
Detach File
Event Timeline