We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Extension Request: Auto-add entry ID to URL?

Development and Programming

Andru Edwards's avatar
Andru Edwards
330 posts
18 years ago
Andru Edwards's avatar Andru Edwards

Not sure if this is possible, but is there a way to auto add the entry ID, or maybe just a number increment, to the URL, maybe by extension? Google News requires a four character number in the URL for it to index the entry. This means that I need to manually key it in, which in turn means that blogging tools like MarsEdit and Ecto are of no use 😉

Thanks!

       
Derek Jones's avatar
Derek Jones
7,561 posts
18 years ago
Derek Jones's avatar Derek Jones

Could you simply build the links to your single entry template with the required digit gibber-jabbah as an additional URL segment? But yes, you could write an extension that would add a unique identifier on to the url_title, using the submit_new_entry_end hook.

       
RobJ25's avatar
RobJ25
39 posts
16 years ago
RobJ25's avatar RobJ25

Just wanted to point to this thread in case anybody else was looking for a solution to this problem.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.