1

I have a client that wants to create a short URL to an entry for a mail shot. What would be the best way to do this. I have the Reroute plugin installed which would work (setting to a 302 redirect) but I am wondering if that is the best approach.

1

You could make a plugin that generates a short URL using a link-shortener API (e.g. dev.bitly) for each of your entries and provides the URL as a custom read-only Field Type.

2
  • Hi carlcs, thank you for your answer. They want to keep their domain name rather than use a service. So all that's required is changing example.com/some/long/url/structure to example.com/some short. I should have made that clear in the question sorry.
    – Gareth
    Feb 21 '15 at 8:10
  • Yah, in this case your plugin is probably the best solution, @Gareth. If it is not enough, you could look into modifying it to (automatically) set up that routes from Edit Entry pages.
    – carlcs
    Feb 21 '15 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.