Permalink & Smart URL Settings
The Permalink system in GeniXCMS (Smart URL) is essential for both your site's SEO value and the overall user experience. It allows you to transform complex PHP query strings into clean, human-readable URLs.
🎨 Transforming URLs
To configure your site's Permalink behavior:
- Navigate to Settings > General in the administrative sidebar.
- Locate the Smart URL toggle in the configuration dashboard.
🏗️ Activating Smart URLs
Activating clean, SEO-friendly paths is a 2-step process that requires both CMS and server configuration.
- Toggle: Set Smart URL to "Enabled" and save your settings.
- Server Engine:
- Apache: Gentically handled by the provided
.htaccess file in your site root. Ensure mod_rewrite is enabled on your server.
- Nginx: Requires a custom
location block to handle URI rewriting effectively.
📐 Choosing Your URL Suffix
GeniXCMS 2.0.0 uses an intelligent, global suffix engine to ensure all routes remain consistent.
| URL Prefix |
Example URL |
Best Use Case |
.html (Default) |
/my-post.html |
Recommended for most SEO-friendly sites. |
| None (Trailing Slash) |
/my-post/ |
Focuses on a completely flat, directory-style URL structure. |
🛠️ Security & Consistency
- Canonical URLs: GeniXCMS automatically generates canonical links to ensure search engines don't penalize your site for duplicate content caused by multiple URL patterns.
- Routing Rules: The routing engine is powered by regex, allowing for complex, nested URL structures (e.g.,
/category/tech/post-slug.html).
warningCautionBroken Links: If your site returns a 404 Page Not Found after enabling Smart URLs, your web server's "Rewrite Engine" is likely disabled. Check your .htaccess or nginx.conf settings immediately.
lightbulbTipSEO Metadata: Combined with clean slugs, ensure your Website Description and Keywords in General Settings are filled out for maximum search engine impact.