Once I enter those links in, I attempt to test to see if they return 404's. Most of the 600 links fail. However if I go to the back office and find a link in Url Tracker and re save it. It works and does a 301 redirect. I can't see any changes in the SQL.
Injecting mass amounts of redirects using SQL into Url Tracker
I have around 600 entries I need to add to Url Tracker.
I had a go at creating my own script to convert all the entries into SQL queries to query to the Url tracker table.
Here are some samples of SQL generated:
Once I enter those links in, I attempt to test to see if they return 404's. Most of the 600 links fail. However if I go to the back office and find a link in Url Tracker and re save it. It works and does a 301 redirect. I can't see any changes in the SQL.
Discovered this was happening because the URL's begin with a slash.
Removing the slash at the start fixes the issue.
Hope this helps others.
is working on a reply...