SEF and Sitemap in Joomla: Setup for SEO
SEF URLs and a sitemap are the foundation of technical SEO optimization for Joomla. Without them, search engines index a site poorly. We have set up SEF and sitemaps for more than 100 Joomla sites and we know: properly configured URLs and a sitemap speed up indexing many times over. Let us look at how to set them up.
What SEF Is
SEF — Search Engine Friendly:
- Human-readable URLs — /services/virus-removal.
- Keywords in addresses — search engines see relevance.
- Without index.php — clean URLs.
- A clear structure — reflects the site hierarchy.
- Without parameters — not ?id=123&cat=45.
- A single format — all URLs by one template.
SEF URLs are better for SEO. Search engines give priority to pages with clear addresses.
Setting Up SEF
Enable SEF:
- Open "System" → "Global Configuration".
- Go to the "Site" tab.
- Enable "Search Engine Friendly URLs".
- Enable "Use URL Rewriting".
- Enable "Add Suffix to URL" (optional).
- Save the settings.
The basic setup takes a minute. After that, URLs become human-readable.
Renaming htaccess
For clean URLs:
- Find the file
htaccess.txtin the site root. - Rename it to
.htaccess. - Check that links on the site work.
- Make sure there are no 500 or 404 errors.
- If there is an error — restore the previous name and contact your host.
.htaccess is necessary for SEF. Without it, mod_rewrite does not work.
What to Set Up
SEO elements:
- SEF URLs — enabled.
- Removing index.php — via mod_rewrite.
- Page aliases — clear, with keywords.
- The sitemap — XML, automatic.
- robots.txt — with the sitemap specified.
- Canonical tags — against duplicates.
- 301 redirects — from old URLs.
All elements matter. Set up each one — and the SEO foundation is ready.
The Sitemap
An XML sitemap:
- Contains all pages — articles, categories, products.
- Updates automatically — when content is added.
- Is connected in Search Console — Google learns about it.
- Is specified in Yandex.Webmaster — for Yandex.
- Is specified in robots.txt — so robots find it.
- Does not exceed the limit — 50,000 URLs and 50 MB.
A sitemap is a roadmap for search engines. With it, indexing is many times faster.
robots.txt
Set up the file:
- Allow indexing — do not close the whole site.
- Close service folders — /administrator/, /cache/, /tmp/.
- Close system files — configuration.php.
- Specify the sitemap —
Sitemap: https://site.ru/sitemap.xml. - Check correctness — in Search Console and Webmaster.
- Do not block CSS and JS — Google must see them.
robots.txt controls indexing. A mistake in it can close the whole site from search engines.
Page Aliases
Set up aliases:
- Clear names — based on the page content.
- Keywords — the main query of the page.
- In Latin characters — transliteration of Cyrillic.
- Without stop words — "and", "in", "on" are not needed.
- With hyphens — not underscores.
- Short — 3–5 words maximum.
Aliases form the URL. A bad alias = a bad URL = bad ranking.
Checking
After setup, check:
- The URLs work — all open.
- The sitemap is available — it opens by address.
- robots.txt is correct — no bans on what is needed.
- Indexing in Search Console — pages are getting in.
- No 404 errors — all links work.
- Redirects work — old URLs lead to new ones.
Checking guarantees the result. Open the site in search — you will see how it looks.
Result
Proper setup gives:
- Better indexing — pages get in faster.
- Readable URLs — nice for both people and SEO.
- More traffic — from search.
- Better rankings — thanks to URL relevance.
- Fewer errors — no duplicates, broken links.
- Better analytics — clear URLs in reports.
SEF and a sitemap are the foundation of SEO. Without them, a site loses traffic.
"SEF and a sitemap are the bridge between a site and search engines. Without it, robots wander in the dark."
When You Need a Specialist
Seek help if:
- URLs have parameters — not SEF.
- There is no sitemap — or it does not work.
- robots.txt closes what is needed — the site is not indexed.
- There are many old URLs — redirects are needed.
- You have no experience — it is easy to do harm.
A specialist will set everything up correctly. This is the SEF and Sitemap service. For an audit — Technical SEO Audit.
In Short: What to Remember
- SEF — human-readable URLs with keywords.
- SEF setup: global settings + .htaccess.
- The sitemap: XML, automatic, connected in Search Console.
- robots.txt: permissions, bans, the sitemap specified.
- Aliases: clear, with keywords, in Latin characters.
- Checking: URLs, sitemap, robots, indexing.
If you need SEF and a sitemap set up — contact us. We will do it right for SEO.