Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [sef]

Search engine friendly (SEF), human-readable or clean URLs are URLs that make sense to both humans and search engines because they explain the path to the particular page they point to.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

Duplicate issue when using tags component as a menu item

The problem is this. Created a menu item - list of tags. I will give an example for clarity. site/tags-menu-item, if you add for this menu item, for example, site/tags-menu-item/55/, a duplicate will ...
Sergei's user avatar
  • 11
0 votes
0 answers
19 views

Joomla 4 Search Engine Friendly URLs make link broken

I'm having the problem of wrong image links when "Search Engine Friendly URLs" is enabled, I'm also having "Use URL Rewriting" enabled. For example, I'm on domain/abc page, when ...
pdutie94's user avatar
0 votes
1 answer
155 views

Joomla 4 Router parse function

I'm converting a custom component from Joomla 3, where the component was using the legacy router, to Joomla 4 router. I have the router service set up and working on Joomla 4.4.0. I first tried ...
James Wadsworth's user avatar
0 votes
0 answers
62 views

Short Url with FlexiContent Or Remove menu item alias from URL

I am using flexicontent for content management in Joomla 4.3.4. And i created the Menu as All content->Edited->News As its URL with menu item alias my-domain/all-content/edited/news/content-...
Vishal Patel's user avatar
0 votes
1 answer
96 views

How do I change a page URL on Joomla 3.10.11?

I'm a complete newbie to Joomla here (been working with it for a few days only) and wanted to ask what is probably a silly question. For clarification I'm not using any SEF extensions/plugins - only ...
dkdk96's user avatar
  • 1
0 votes
1 answer
84 views

J4 URL routing - cannot remove menu alias from URL - SEF issue

I've migrated a J3 site to J4 and have an issue with article URL's. In J3 an article would load /category/article i.e. https://old.lymington.com/133-locally/1458-a-guide-to-beaches-near-lymington-and-...
Dtorr1981's user avatar
  • 532
0 votes
1 answer
106 views

Joomla 4 Component SEF URL not working for detail page of the item when catid is added in the url

Below is the have written the code router file in the component namespace Test\Component\Test\Site\Service; // No direct access defined('_JEXEC') or die; use Joomla\CMS\Component\Router\...
user4571727's user avatar
1 vote
2 answers
342 views

Joomla 4 SEF URLs broken since upgrade

We upgraded from Joomla 3 to Joomla 4 and since upgrading have found that many (almost all) links on the site are broken. Here is an example of a broken link: https://guildofenamellers.org/index.php/...
zoe's user avatar
  • 11
1 vote
1 answer
60 views

Replicate SEF URLs Using Article Alias

I've got a Joomla site that I'm preparing to upgrade to Joomla 4. I'm currently using the sh404SEF component to create SEF urls that use the article's alias (Ex: example.com/about-us). I need a ...
johkar's user avatar
  • 13
3 votes
1 answer
170 views

Joomla 4 - Check if Alias is Unique

I'm trying to develop a Joomla 4 component and I almost completed it, but I have issues to save an item when the Alias is not Unique. In the database, I've set up this: CREATE UNIQUE INDEX aliasindex ...
Sébastien Merour's user avatar
2 votes
1 answer
676 views

J4 component URL not SEF

Context: I have a component that works fine in J3 and I want to migrate it to J4. Problem: When I create a menu (Joomla main menu) on the frontend view of the component, in J4 only, the URL is not SEF ...
Yann's user avatar
  • 41
0 votes
0 answers
75 views

SEO-friendly URLs are being corrupted after update

I have built a directory website and started to add some content. I have created the standard pages (contact us, privacy, etc.) and added businesses. I would like SEO-friendly URLs, so I set: Search ...
33money's user avatar
2 votes
2 answers
910 views

JRoute don't make a SEF Url from the article link

When I use Route method to convert a normal url in a SEF url it doesn't work if the article is not a menu item. I don't understand if it's a normal behavior or if I'm doing something wrong. There is ...
Nintendomi's user avatar
0 votes
1 answer
38 views

Update SEF URL to change what is output

Good day, I have inherited a very old Joomla site - and the are wanting URL updates for a custom module that was developed for them. The URL's currently contain car-rental-branch - which they want ...
Hilton Anthony Moore's user avatar
1 vote
2 answers
99 views

How to define URL of Joomla sub-menus?

How/Where is the URL of a Joomla article (used as submenu item) defined when using URL-shortening? What I want to achieve is to have the article URLs to represent a submenu logic. For example, the URL ...
ares_games's user avatar
2 votes
1 answer
67 views

Why is Joomla redirecting from example.com to example.com/example.com?

I was advised to post here from Stack Overflow We need help. We're running an ad campaign and realized that a lot of paid traffic was landing on a 404 not found page. The issue is caused by auto-...
phvntom's user avatar
  • 31
2 votes
0 answers
665 views

Joomla 4 - router.php SEF-URLs broken since update

This current router.php creates in Joomla 4 this URL: localhost/component/ohanah/?id=688&Itemid=101 But it should create this: localhost/kurse/688-event-name where "event-name" is the ...
user avatar
0 votes
1 answer
219 views

How to disable Joomla routing by Article ID with any alias but use exact alias only

Joomla use own SEF redirects what drives any variants of URL to same article basing on Article ID (no matter what alias will be used) http://example.com/3-welcome-to-your-blog.html or http://example....
Serge's user avatar
  • 103
2 votes
1 answer
874 views

Making /joomla subdirectory the website root AND forcing HTTPS

Setting up a Joomla site on Apache 2.4 on a Synology Disk Station. Joomla is unavoidably installed in a subdirectory of the web root (/web/joomla) and unfortunately do not have access to the Apache ...
Nathanael's user avatar
  • 111
1 vote
1 answer
138 views

Router, keep only item alias in SEF URL

For a particular reason, I need to keep in the SEF URL only the alias of the item to have a URL like this www.mywebsite.com/**myItemAlias** but of course without creating a direct menu to the item ...
Laurent's user avatar
  • 23
1 vote
1 answer
62 views

Joomla apply SEF route from template's index.php file

I am having a problem recently is that- I am creating a Joomla Site Template and for a specific condition, the template redirects to http://mydomain.com/index.php?templateStyle=10&tmpl=custom. Now ...
Sajeeb Ahamed's user avatar
1 vote
1 answer
104 views

URL's in search results page are wrong and not the URL of the article assigned menu item

I have Joomla 3.9.21 which has SEF URL's enabled. All works perfectly, except for the search results page. For example, this is the SEO link to an article (which is assigned a menu option whose root ...
jstuardo's user avatar
  • 171
0 votes
1 answer
188 views

Get SEF path of an article from external script using articleID

I am practically new to Joomla and I need to get the SEF path of an article from an external php script. I feel like I'm close, but something is not working for me. The preliminary code I have as an ...
Andino's user avatar
  • 3
0 votes
0 answers
92 views

Custom component: different redirect when changing language/logging in

I inherited a site with a custom component: an agenda viewer. When I click on an agenda-item from the list and then login (via login module) or change the language, I am not redirected to the agenda ...
jansen's user avatar
  • 1
0 votes
1 answer
82 views

Get the option and view values of a SEF url (i.e. the internal url)

I'm developing a Joomla! 3.9.x component and have written a custom com_myusers component. I want to avoid that people login/reset/remind using the standard com_users component and I thought the best ...
Rico's user avatar
  • 155
1 vote
0 answers
78 views

JRoute::link('site') generates different strings depending on the app context

I'm developing a component in Joomla! 3.9.13 with SEF urls turned ON and I use this line of code JRoute::link( 'site', 'index.php?option=com_mycomponent&task=profile.edit', false, JRoute::...
Rico's user avatar
  • 155
0 votes
1 answer
181 views

Custom URL for Component Search Results

I am writing to seek help displaying custom results in a SEF URL on Joomla CMS. This is an example url with a customized search: https://example.com/search.html?search=IT&exf_5=1&exf_4=-1&...
Syed Hussaini's user avatar
1 vote
2 answers
287 views

use router.php in simple component

I am having a simple component, basically a list view and a single view. I want to nice URLs so I copy pasted and modified the router.php from com_content like this: class BookstoreRouter extends ...
Tom's user avatar
  • 43
1 vote
1 answer
436 views

how to route url - JRoute get wrong itemid and wrong sef url

Joomla 3.9.12, JoomGallery 3.4 I have a site with joomShopping for e-shop and JoomGallery for portfolio. The site has 2 menus where some menu items of the first are menu item aliases of the second. ...
Sergey Tolkachyov's user avatar
2 votes
1 answer
501 views

Create a link from Backend to SEF Path in Frontend

I would like to create a link in Administrator Panel that redirect a user to an SEF url in Frontend. Code in Backend <?php $link = JUri::root() . 'index.php?option=com_content&view=article&...
spiNOops's user avatar
1 vote
0 answers
33 views

JoomSEF extension not create SEF URL on page visit

I am using free version of JoomSEF extension. When I visit any page, JoomSEF extension is not creating according SEF URL entry in the backend. It looks something minor but I am clueless for this. If ...
Jitesh T's user avatar
2 votes
1 answer
81 views

SEF URL Broken Image Links When Fetching API Results

Using Joomla 3.9.8 I'm using the fetch() api in order to retrieve some data from a remote API. When I have the api results I'm displaying them in html elements. The API returns various values, one ...
jonboy's user avatar
  • 3,603
0 votes
1 answer
200 views

How to get the canonical SEF URL of an article in PHP?

Is there any way to get from the article it's SEF URL? <?php $id = JFactory::getApplication()->input->getInt('id'); $article = JTable::getInstance("content"); ?> searching ...
laendle's user avatar
  • 181
0 votes
1 answer
953 views

Find Article SEF URL by ID

Is it possible to get SEF URL from Joomla article ID through some API? I'm moving data from old custom CMS to Joomla. Articles in old CMS contain links to each other. Old articles had their full URL ...
Reygoch's user avatar
  • 273
1 vote
1 answer
70 views

Menu links working only for logged in users

This is the site I'm talking about. If you click any menu item, you reach the correct page, but the page shows up garbled and the page URL is much longer than it should be, including categories names ...
Lucio Crusca's user avatar
2 votes
1 answer
458 views

Does JRoute by default finds path to menu link (SEF)

What do I understand in Joomla is that until you create a menu for a specific view you will be getting component links to its views, in this manner: component/component_name/location/new-york (ex #1)...
user1876234's user avatar
2 votes
1 answer
50 views

K2 SEF issues including Joomla Smart Search

I am having an issue with smart search and k2. If I search for a Joomla article then everything pulls the correct SEF URL. If I try to search for something that is a k2 item it loads correctly but ...
Chad J Treadway's user avatar
1 vote
1 answer
409 views

Product url problem after updating VirtueMart

In my VirtueMart Configuration under the SEO tab, I've checked "Use full category tree for product links" so my products detail page default routing was like this: example.com/cat1/subcat1/subcat2/...
kiasaty's user avatar
  • 661
0 votes
1 answer
35 views

SEF : URL shows user email - Routing

I am working on an ecommerce joomla site and I am having some trouble with SEF URLs. When I turn this functionality ON in the Global Configuration of Joomla Backend, it appends user's email address (...
freetiger's user avatar
  • 101
2 votes
2 answers
76 views

Search engines indexing blog items with both SEF urls and non-SEF urls

Just noticed that if I search for blog post titles in Google, I get both SEF and non-SEF results shown. It only appears to happen to articles that don't have a menu item. Has anyone else experienced ...
philip's user avatar
  • 151
0 votes
1 answer
804 views

Different views on router.php (Joomla! 3.6.4)

I am developing my second custom component for Joomla! 3.6.4 and I have another problem with my router.php. This time I need to dynamically change the view on my router.php but I don’t know how to do ...
OlafGizursson's user avatar
0 votes
1 answer
112 views

RSS Feed for TAGS with invalid content URLS

i used joomla on https://www.724press.com and after one year i cant solve one important problem of it. my website language is PERSIAN. its magazine website so, i need rss feed for many TAGS of ...
Vahid's user avatar
  • 1
4 votes
2 answers
1k views

Joomla 2.5.6 infinite 303 loop (SEF)

I'm trying to migrate a Joomla 2.5.6 site from one server to another. I have used scp to copy the files one for one across and taken a mysqldump of the database so I'm sure that the new server has a ...
Andy's user avatar
  • 153
-1 votes
1 answer
470 views

How to put utf8 characters in alias?

I am trying to set Chinese URLs for my Joomla site. However, I can't just put Chinese characters in the "alias"; I've also tried putting in url-encoded utf8 characters like %E7%9A%84, but it will be ...
shenkwen's user avatar
  • 1,389
1 vote
1 answer
784 views

Custom Component URL router

So I have read https://docs.joomla.org/Supporting_SEF_URLs_in_your_component and looked at examples both online and in com_content but I still cannot get this routing thing down 100%. I would like to ...
Alex Mehan's user avatar
1 vote
0 answers
128 views

URL Not Working When SEF is Disabled in Joomla 3.0 Custom Component

I am developing custom component for joomla 3.x. Our urls for non-sef views are not working url: index.php?option=com_mycomponent&view=myview2&id=mycustomeitemid The same url when sef is ...
Dharmesh Chaudhary's user avatar
0 votes
1 answer
328 views

Get Joomla SEF Url from Database Query

i need an export of all Joomla Articles in a specific category, but with the URL they are on. (So introtext, fulltext, url) Has anybody a quick way how I can get the Joomla SEF Url if i only have the ...
OmegaTCU's user avatar
1 vote
1 answer
236 views

Joomla K2 articles redirect

I have a lot of URLs like this: www.mywebsite.com/blog/item/1021-le-foreste.html that becomes, after SEF changes, like this: www.mywebsite.com/blog/le-foreste.html How can I write an .htaccess rule ...
user3013561's user avatar
0 votes
2 answers
923 views

Simplify menu item URLs

I would like to simplify SEF URLs of menu items in lower levels of my menu by omitting the parent menu item alias from the URL. I installed the Direct Alias plugin, which should be doing exactly this ...
Matej's user avatar
  • 123
3 votes
1 answer
109 views

Article appears even outside given path

I've recently come across some strange behaviour of my Joomla 3.6.5 installation. I've noticed that (with SEF on) any article preceded by its ID is displayed if called directly by its URL, and not ...
Michael's user avatar
  • 31