Is it ok to save URL names in the database?

mindy6's profile image mindy6 posted 1 year ago in Feature discussion Permalink

Hello,

In my website I need to give each URL a readable name, in English and other languages.

Is it ok to have a table that will hold the URL and columns for translations to various languages? Because one of the administrative pages needs to display the number of hits on a URL like /home and I want to display both the URL and a meaningful name. So in this case Homepage (of course here it's funny to translate /home to Homepage but it's for other names and languages)

Thanks

Please login to leave a reply, or register at first.