Sorry, we don't support your browser.  Install a modern browser

clean or pretty URLs#431

The long-awaited Master Detail URL feature (suggestion #108) is great..! Thank you.
I’m posting this new suggestion however, because soon someone else probably would anyway.

In the scenario when only one wpdatatable is needed, or having clean URLs for one of them is enough, could there be a global setting for the wdt_md_p_t_id and wdt_md_p_t_col_name values to use..? Because those values would stay the same all the time, so no need to make the URL long only because of them.

Then for example this long and quite complex URL:
https://example.com/details/?wdt_md_p_t_id=1&wdt_md_p_t_col_name=wdt_ID&wdt_md_col_value=1

could be like this instead:
https://example.com/details/1

or at least:
https://example.com/details/?id=1

For the time being, I think URL rewriting (mod_rewrite and such techniques) can help to make the URLs shorter, but I hope you’ll consider just adding a setting in the preferences. It would definitely make things even better.

2 years ago

No need for adding this feature anymore, at least not for my project… I managed to accomplish the desired behaviour with custom code, or actually by writing an addon.
My plugins are and will be completely free, so I hope it’s ok to include the link also if anyone is interested: https://antero.eu/seo-for-wdt-md/

2 years ago
1