user1689274
user1689274

Reputation: 383

How to obfuscate a url in Drupal

http://example.com/mypagename

How do we hash or obfuscate this in drupal to be come something like:

http://example.com/ASarSADT%asd

Basically we don't want to reveal the /mypagename

Is there a module/setting for this?

Thanks!

Upvotes: 0

Views: 460

Answers (2)

Matt V.
Matt V.

Reputation: 9809

If you are using the Pathauto module, there is a [random:hash:?] token that should make for a viable obfuscation strategy.

Upvotes: 0

Ardit Meti
Ardit Meti

Reputation: 581

If changing the alias with Pathauto module doesn't work for you, you can do that with a ReWrite Rule in .htaccess and specify the obfuscate url yourself.

Upvotes: 1

Related Questions