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
1answer
316 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/...
1
vote
0answers
67 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 ...
2
votes
4answers
7k views

Absolute SEF url with JRoute

I'm trying to figure out why I can't get a correct absolute SEF url with JRoute. I tried with this: JRoute::_(JUri::root().'index.php?Itemid=164') but it won't correctly SEF render it, it will just ...
0
votes
1answer
87 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
vote
1answer
210 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] ...
1
vote
1answer
283 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
1answer
40 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 ...
0
votes
1answer
40 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....
1
vote
1answer
67 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 ...
2
votes
1answer
268 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 ...
1
vote
1answer
41 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
1answer
36 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 ...
0
votes
1answer
53 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 ...
0
votes
0answers
69 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 ...
0
votes
1answer
41 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 ...
1
vote
0answers
69 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::...
0
votes
1answer
104 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&...
8
votes
4answers
4k views

Why Joomla 3 add Canonical tag to current page and made it unindexable?

Joomla adds canonical tag to almost all pages that refers to themselves, so they will not be indexable (I checked URLs by Doctor SEO extension in FF) and they are not shown in google search result (i ...
1
vote
2answers
160 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 ...
2
votes
1answer
206 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&...
0
votes
1answer
105 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 ...
2
votes
1answer
386 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)...
1
vote
0answers
24 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
1answer
67 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 ...
0
votes
1answer
642 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 ...
5
votes
2answers
440 views

How do i remove the id from Joomla 3 URLs using code

I know this question has been asked before, I think I've read most of the answers: make a menu item for the article hack the core (router) use a paid SEO extension like sh404sef use rewrites None of ...
1
vote
1answer
59 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 ...
1
vote
1answer
780 views

How to change SEF urls to remove item view from url?

I wrote a component and made a router.php by documents in Joomla.org. My problem is that how can I remove item view from URL? For example I have this view -> musicses, now my SEF URL is like this /...
0
votes
1answer
29 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 (...
0
votes
1answer
685 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 ...
2
votes
2answers
64 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 ...
0
votes
2answers
247 views

Canonical issues- incorrect URL shown on home page

I'm having canonical issues with my website. When I visit the homepage, I see http//www.vincousa.com/?productsublayout=0 as the URL in my address bar. I would like http://www.vincousa.com as the URL. ...
4
votes
2answers
853 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 ...
-1
votes
1answer
386 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 ...
0
votes
2answers
806 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 ...
2
votes
3answers
795 views

SEF urls without article ID causes 404 article not found error

I removed the article IDs from the URL by editing the router.php as described here. This works fine for the most part, but there are a few pages that display a 404 Article not found error instead of ...
1
vote
1answer
215 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 ...
1
vote
1answer
749 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 ...
5
votes
1answer
284 views

Redirecting to component when using SEF

Im trying to perform a redirect to a component's view <form role="form" action="<?php echo JRoute::_('index.php?option=com_rouf&view=front'); ?>"> Because SEF is enabled im getting ...
3
votes
2answers
504 views

Multilingual - Associations: Single Articles for Home Page - Duplicate Home URL issue

Initial Problem 2014 - Joomla 3.3.3 I have set up a multilingual site, but rather using the Featured Articles menu-item as Home, I used a Single Article menu-item. Menu-items, categories, articles are ...
1
vote
0answers
122 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
1answer
825 views

Using tmpl=component with SEF URL

I'm using the info found here to add a full screen option to a component. The code looks like this: <a href="<?php echo Juri::getInstance().'&tmpl=component&return='.$this->return; ?&...
2
votes
1answer
400 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 ...
0
votes
1answer
264 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
1answer
64 views

Weird chars in the beginning of SEF url

I'm developing router to my custom component. Almost everything is working ok. But with one url I have problem. It seems to be build properly by build method: dodaj-zdjecia/addphotos.html But after ...
0
votes
2answers
392 views

Safe SEF URL to a subdomain

I have a multi site comprising a main J! installation and two secondaries J! installations. The last twos are installed in the same root directory of the main one, as following J1: administrator, ...
3
votes
1answer
107 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 ...
1
vote
0answers
71 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 ...
2
votes
2answers
300 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 ?
3
votes
1answer
319 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,...