Tagged: structure

Wordpress Logo 1

Custom WordPress Permalinks Are Causing 403 or 404 Errors

When settings custom permalink structures in your WordPress settings make sure to either make .htaccess writeable by your webserver so that when saving your custom structure via the backend WordPress will automatically update your .htaccess too or manually edit your .htaccess file with the minimal required mod_rewrite rules as shown...

Liferay Logo 0

Dynamically determine Structure IDs in Liferay

When using multiple Web Content (aka JournalArticle) structures in Liferay managing their corresponding IDs via configuration files can become a tedious task. Luckily, there is an easy way to determine structure IDs dynamically based on their title, like the following code snippet demonstrates: