Cleaner Control Panel URLs

by: Pascal Kriete on: 2/25/2014

For ExpressionEngine 2.8 we are happy to begin rolling out a cleaner control panel URL structure.


Old CP URL example: admin.php?S=29471047310&D=cp&C=design&M=edit_template&id=5

In 2.8:

New CP URL example: admin.php?/cp/design/edit_template?id=35&S=29471047310

And even better, if you’re using cookie only sessions, we can cut it down to this:

New CP URL example without S=: admin.php?/cp/design/edit_template?id=35

Less noise also means that they are easier to scan in a list, so you can make use of your browser’s suggestions to get to the right page in one step:

Browser autocomplete example.

If you’re a developer, you won’t need to do anything to make this work. Existing URLs will automatically be remapped. However, there is now a better way to create urls and we highly recommend you begin taking advantage of it:

cp_url('design/edit_template', array('id' => 35));

Getting the little things right is what makes for great software. Enjoy!

.(JavaScript must be enabled to view this email address) or share your feedback on this entry with @ellislab on Twitter.

ExpressionEngine News

#eecms, #events, #releases