SEF URLs and SEO
JoomVideos builds readable URLs for videos, categories, channels and playlists, sets the page title and meta tags of each video page, and adds social sharing tags. Its Smart Search plugin and the OSMap plugin bring your videos into search and sitemaps.
SEF URLs
Turn on Search Engine Friendly URLs in System > Global Configuration first. JoomVideos then builds URLs like:
https://www.example.com/videos/video/12-my-first-video
videos is the alias of your menu item, video is the view word, and 12-my-first-video is the ID and the alias of the video. When a menu item links straight to the video, category, channel or playlist, the URL is just the menu item's path.
Create a menu item of the type Categories (see Menu items) so JoomVideos pages have a menu item to build their URLs on.
SEO & Routing tab
Change the URLs in Components > JoomVideos > Options, tab SEO & Routing.
| Setting | Default | What it does |
|---|---|---|
| Video View | video |
The word for video pages in URLs |
| Category View | category |
The word for category pages |
| Playlist View | playlist |
The word for playlist pages |
| Channel View | channel |
The word for channel pages |
| Remove Video ID | Disable | Drop the ID from video URLs: /video/my-first-video |
| Remove Category ID | Disable | The same for categories |
| Remove Playlist ID | Disable | The same for playlists |
| Remove Channel ID | Disable | The same for channels |
| Pagination | Disable | Page links like /page-2 instead of ?start=6 |
| Pagination Word | page |
The word used in those page links |
Use plain words without spaces for the view words, and give each type its own word.
Before you remove IDs
Without the ID, JoomVideos finds the item by its alias alone. Two videos with the same alias would then share one URL, and only one of them can be opened. Make sure every alias is unique before you turn Remove ID on. Changing these settings also changes the URLs of pages search engines already know, so decide early.
SEF pagination
In 6.1.6 the Pagination setting has two problems. The page number is read correctly only when Pagination Word has four letters, like the default page. And a page link opened in a new browser session, for example by a search engine, can start at the wrong video. Leave Pagination disabled for now.
Page title and meta tags
Each video page sets:
- the page title: the video title and the category name, as
[VIDEO_TITLE] - [CATEGORY_NAME]. Joomla's Site Name in Page Titles setting is respected. - the meta description and meta keywords you enter in the video's edit form.
To change the title format, create a language override for COM_JOOMVIDEOS_VIDEO_PAGE_TITLE in System > Language Overrides (site, English). Keep the [VIDEO_TITLE] and [CATEGORY_NAME] placeholders where you want them.
The video form also has Robots, Author and Content Rights fields. In 6.1.6 these are saved but not added to the page.
Social sharing tags
Video pages and category pages add Open Graph tags (og:title, og:description, og:image, og:url, og:site_name) and Twitter Card tags with the large image. Facebook, X, LinkedIn and messaging apps use them to show the title, text and thumbnail when someone shares a link.
In 6.1.6 a title or description with an apostrophe (') is cut short in these tags. Avoid apostrophes in titles if social previews matter to you.
Smart Search
The JoomVideos - Smart Search plugin is installed and enabled with the package. It adds videos, categories, channels and playlists to Joomla's Smart Search. Its settings (Index Videos, Index Categories, Index Channels, Index Playlists, all Yes) choose what is indexed.
- Go to Components > Smart Search.
- Click Index.
Run the index again after you add or import many videos. A Smart Search module or menu item then finds them. See Listings and search.
Sitemap
To list your videos, categories, channels and playlists in an XML sitemap for search engines, use OSMap with the JoomVideos OSMap plugin. See OSMap.