We're facing an issue where all URLs with a certain string contained within them are blocked no questions asked for security purposes.
It just so happens that the URL of a particular record instance in PROD has the magic letters in order against quadrillions of chances, and it's now blocked so users can't access the record.
Is there a way to change the URL that's generated for that particular record, such as changing the ID of the record? Should we try reimporting the record, or is it likely to wind up with the same ID?
Discussion posts and replies are publicly visible
I would try with a test record object, delete it in the target environment and re-import from the source to see if the URL changes or if it remains the same due to some reference to the deleted object.
Otherwise you would have to create a new record, as a new object, then update your mappings.
EDIT: Sorry the first part of my original reply will not work as the URL stub for Record Types are uniform across environments, you will need to create this as a new record type object in dev and update your mappings.
I don't know of any way to change the URL for an existing record identifier, but I can confirm that if you use a different ID the URL will be different. You can test it out with the urlforrecord() function - you don't even need a valid ID to show what the URL is for different IDs.
Like Chris said though, there isn't really a way to change the URL stub - unfortunately if the problem string is in the stub you'll likely have to create a new record type.