Welcome to Geeklog, Anonymous Wednesday, January 15 2025 @ 01:32 pm EST

Geeklog Forums

Rewrite url hack or option?


Status: offline

orfilms

Forum User
Regular Poster
Registered: 08/02/05
Posts: 70
I have the rewrite option up and running and I understand everytime I post a story I can edit the story-ID for a better url, but is there anyway (hack or something already in the script) to make it so that if, say, I make a story post with the headline "Tom Cruise is nuts" that the script will rewrite the storyid as "tom-cruise-is-nuts"?

That way I'd have a url that looks like http://www.slashfilm.com/article.php/tom-cruise-is-nuts instead of http://www.slashfilm.com/article.php/20050802230323625
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You could simply copy your story title into the ID field and Geeklog would remove all invalid characters.

However, "Tom Cruise is nuts" would then become "TomCruiseisnuts" which is probably not quite what you want ...

bye, Dirk
 Quote

All times are EST. The time is now 01:32 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content