Create Redirections directly in the database
-
Hello,
I have written a simple script (very specific for my data) that inserts new records into the redirection_items table.Fields I don’t compile: regex, last_access, last_count, title
All the others are compiled by the script: id (increasing), position (increasing), group_id = 1, status = “enabled”, action_code = 301, match_type = “url”, action_type = “url” and of course the links in url and action_data.
But… The redirect simply won’t work. Should I assume that writing directly to the database is not the way to go? Isn’t there any way to feed this plugin a list of thoundsands of redirects?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Create Redirections directly in the database’ is closed to new replies.