Joomla SEF URLs vs URL Rewriting: What Is the Difference?
Joomla SEF URLs and URL rewriting are related but separate. SEF is Joomla's routing feature that creates readable paths; URL rewriting is the web-server-assisted step that lets those paths omit index.php. Knowing which layer is responsible makes troubleshooting much faster.
What Search Engine Friendly URLs do
When Search Engine Friendly URLs is enabled, Joomla's router turns internal component requests into paths based on menu routes, aliases, and component routers. Joomla can generate and parse these routes even when server rewriting is disabled.
A site can therefore have readable SEF URLs while still showing index.php in the path.
What URL Rewriting does
Use URL Rewriting works with the web server so a clean request can be internally routed to Joomla's front controller. The browser can request a path without index.php, while the server still hands that request to Joomla for routing.
This depends on server configuration: Apache commonly uses .htaccess, while Nginx and IIS use different mechanisms.
A practical comparison
- SEF disabled: URLs may expose query parameters such as component/view identifiers.
- SEF enabled, rewriting disabled: routes are readable, but
index.phpmay remain in the path. - SEF and rewriting enabled: readable routes can normally omit
index.php.
The exact path depends on the menu structure, aliases, language routing, and component router.
Rewriting is not the same as redirecting
A rewrite is usually internal: the server maps a clean request to Joomla without necessarily changing the address displayed in the browser. A redirect returns an HTTP response telling the browser or crawler to request a different URL.
Because Joomla, plugins, the web server, a CDN, and a reverse proxy can all issue redirects, diagnose loops by inspecting the actual HTTP responses rather than assuming every URL change comes from .htaccess.
Use the distinction to troubleshoot
- Enable SEF and leave rewriting off.
- Test readable URLs with
index.php. - If they fail, troubleshoot Joomla routing, aliases, menu items, and extension routers.
- If they work, prepare the server rewrite configuration.
- Enable rewriting and retest direct clean URLs.
If only the last step fails, focus on the web-server rewrite layer instead of changing Joomla content or menu records.
Need More Help with Joomla?
Still having trouble? Open a support ticket with QuantaCade Support and we'll be happy to help where we can.
Support priority is given to QuantaCade products, services, and customers. However, we're also happy to assist fellow Joomla users with general Joomla questions and troubleshooting when possible.
QuantaCade is an independent Joomla extension developer and is not official Joomla support. Some issues involving third-party extensions, hosting environments, server configurations, or other systems outside our development control may be beyond what we're able to resolve.