How To: Generate Random URL
(Reposting...last post was deleted)
For certain content on a site, I want to implement "security by obscurity" by having the posts show up only in restricted views and by making the URLs for those posts a set of random, unguessable characters (like Microsoft does with GUID).
So, I need guidance in two parts:
- What module (presumably CCK-related) or trick will create a set of random, unguessable characters that I can then use as replacement token in pathauto?
Getting Pathauto to change ALL the URLs
I'm using Pathauto to clean up the nasty Drupal URLs. So, I have a content type "project" and the URLs to these projects are like: /project/projectname
However, when I'm viewing that project, the "Edit", "What Links Here", and "Who's Bookmarked" links at the top is still linking to the old nasty Drupal urls, like "/node/175/edit".
Does anyone know of a way to change this? I can't seem to find any answers on the intertubes.
Read moreMore flexible menu items
I have run into a limitation with the processing of menu items. If I enter a URL into the link, such as "about" (where I have a page with URL "about"), then the system replaces this with something like "node/8". That is problematic because I entered a logical reference and ended up with a physical reference (which is always inflexible design). So if I replace my about page later with a fresh one that has a different node number, then I have to go through all the menus looking for items that referenced about, and re-entering "about" or entering the new node number.
Read more
