An open API service indexing awesome lists of open source software.

https://github.com/kaliberjs/redirection-redirects-generator

Generate a valid JSON import file for the Wordpress Redirection plugin
https://github.com/kaliberjs/redirection-redirects-generator

nodejs redirection wordpress

Last synced: about 1 month ago
JSON representation

Generate a valid JSON import file for the Wordpress Redirection plugin

Awesome Lists containing this project

README

          

# Wordpress Redirection redirects generator

A small and simple library for transforming a .csv file that contains old and new site urls to a valid JSON file for the Wordpress Redirection plugin.

## How to use

Create a .csv file that contains the old and new url comma seperated
```
/old/test1/,/new/test1/
/old/test2/,/new/test2/
```

Run the command with the correct file path
`yarn generate-file --file=scripts/example.csv`