Indexing a custom value

Allow possibility to index a custom value for each time a property is used for a url.
merging else with the if
Merge pull request #3 from Drewch/add-custom-value

Indexing a custom value