fix for hard coded permalink table define
Merge pull request #505 from loadedcommerce/B3294

B3294