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
1 vote
2 answers
30 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/...
  • 11
1 vote
1 answer
34 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 ...
  • 13
3 votes
1 answer
59 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 ...
2 votes
1 answer
197 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 ...
  • 41
0 votes
0 answers
57 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 ...
2 votes
2 answers
402 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 ...
0 votes
1 answer
28 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 ...
1 vote
2 answers
54 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 ...
2 votes
1 answer
61 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-...
  • 31
2 votes
0 answers
438 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
96 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....
  • 103
2 votes
1 answer
594 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 ...
  • 111
1 vote
1 answer
106 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 ...
  • 23
1 vote
1 answer
53 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 ...
1 vote
1 answer
57 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 ...
  • 171
0 votes
1 answer
147 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 ...
  • 3
0 votes
0 answers
87 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 ...
  • 1
0 votes
1 answer
53 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 ...
  • 155
1 vote
0 answers
75 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::...
  • 155
0 votes
1 answer
157 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&...
1 vote
2 answers
232 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 ...
  • 43
1 vote
1 answer
393 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. ...
2 votes
1 answer
367 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&...
1 vote
0 answers
30 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 ...
2 votes
1 answer
73 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 ...
  • 3,543
0 votes
1 answer
161 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 ...
  • 181
0 votes
1 answer
851 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 ...
  • 273
1 vote
1 answer
63 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 ...
2 votes
1 answer
438 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)...
2 votes
1 answer
46 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 ...
1 vote
1 answer
366 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/...
  • 651
0 votes
1 answer
34 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 (...
  • 101
2 votes
2 answers
73 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 ...
  • 151
0 votes
1 answer
769 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 ...
0 votes
1 answer
99 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 ...
  • 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 ...
  • 153
-1 votes
1 answer
429 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 ...
  • 1,369
1 vote
1 answer
769 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 ...
1 vote
0 answers
126 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 ...
0 votes
1 answer
304 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 ...
1 vote
1 answer
227 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 ...
0 votes
2 answers
864 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 ...
  • 123
3 votes
1 answer
108 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 ...
  • 31
1 vote
0 answers
74 views

SEF turned on, stops the Country States dropdown in checkout Virtuemart 3.0

I have an issue with SEF, when turned on it stops the States dropdown in checkout Virtuemart 3 and Viostore Template. Trying to customise some SEO which recommends SEF as a one of the requirements. I ...
  • 11
2 votes
2 answers
336 views

Is it safe to use `Use URL Rewriting` option?

I'd like to remove index.php from joomla URLs. Though I'm little worried that this can affect keyword positions in google. Is it safe to turn this parameter ?
  • 123
1 vote
1 answer
218 views

Pretty URL to custom joomla page

I have an URL: domain.com/photos?photoId=344 and I want to make pretty URL such as: domain.com/photos/344 I tried to correct htaccess: RewriteRule ^photos/([A-Za-z0-9-]+) /photos?photoId=$1 [L] ...
2 votes
1 answer
446 views

Dynamic urls (aliases) based on variable

I have a component with multiple retailers, based on data from an API. Each retailer has a "read more" link. Now, what I need, is to give each retailer it's own alias, without having to add an alias ...
  • 23
3 votes
1 answer
337 views

Supporting SEF URLs in custom component

In Joomla! documentation it is stated that: Since Joomla 3.3, one should rather implement the interface JComponentRouterInterface and handle the routing and parsing similar as below,...
  • 157
2 votes
1 answer
61 views

How does Joomla! URL Re-writing works?

How does Joomla decide which module is supposed to be visible on a particular menu/web-page? I mean we only put the RE-WRITED URL in the browser and it automatically determines which menu it belongs ...
  • 2,279
1 vote
1 answer
161 views

Using SEF URLs breaks all templates

I changed both Search Engine Friendly URLs to Yes and Use URL Rewriting to Yes in Global Configuration and renamed the .htaccess.txt to .htaccess . But, now none of my templates work anymore. I have ...