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
0answers
48 views

Joomla Router JComponentRouterView does not work

I have read https://docs.joomla.org/Supporting_SEF_URLs_in_your_component and looked at examples, i try to use in my component but something does not work: My router is: <?php // No direct ...
0
votes
0answers
57 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
27 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
60 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
51 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
2answers
96 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 ...
1
vote
1answer
90 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. ...
1
vote
1answer
80 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
0answers
17 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
60 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
73 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 ...
0
votes
1answer
340 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 ...
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 ...
2
votes
1answer
274 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
1answer
30 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
1answer
237 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/...
0
votes
1answer
26 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 (...
2
votes
2answers
61 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
1answer
525 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
1answer
77 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 ...
4
votes
2answers
606 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
322 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
vote
1answer
731 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
0answers
119 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
235 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
214 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
2answers
722 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 ...
3
votes
1answer
102 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
70 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
247 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 ?
1
vote
1answer
202 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
1answer
349 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 ...
2
votes
1answer
307 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,...
2
votes
1answer
54 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 ...
1
vote
1answer
108 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 ...
1
vote
2answers
98 views

Does it influence SEO if I make short url for all pages in my site?

1) Is it OK if i make short URL for almost every article in my Joomla! site like http://myjoomlasite.com/4rhd789d? 2) Is it OK if some of the articles has more than one menu? 3) What is the best way ...
0
votes
1answer
684 views

How to remove index.php from URLs with enabled URL Rewriting on localhost

I have got a problem in Joomla.. I think, it is just a link problem maybe from the server-side. I don't know! I renamed htacess.txt to .htaccess from my root folder before activated URL Rewriting. ...
0
votes
2answers
57 views

What is the correct (preffered) entry in SEF plugin for Site Domain

Recently I found out that meta tag rel="canonical" is missing from my page source. So I went to SEF plugin. It was published. But the field 'Site Domain' was empty. I entered http://my-site.com in the ...
1
vote
1answer
440 views

Redirect or add missing category alias to URL in Joomla 3.6

how can I redirect a URL in Joomla 3.6 from: domain.tld/articleid-my-seo-title.html to domain.tld/category-alias/articleid-my-seo-title.html I need to do this because Google sometimes seems to ...
2
votes
2answers
2k views

Add querystring parameters and generate a SEF URL

we have a custom PHP script which is running under JUMI to perform and display some data. The custom script is accessible to a SEF url such as http://www.mysite.com/jumi-script which is a ...
1
vote
1answer
63 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
0answers
280 views

virtuemart product detail page sef urls

Im using: joomla36 - virtuemart 3.0.16 - sj-market template made by www.smartaddons.com ... in my template there is a module that shows 6 products in a row in the front page. the module has 4 tabs,...
0
votes
2answers
358 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, ...
1
vote
1answer
189 views

[com]BuildRoute(&$query) function is called with no $query['view'] member passed

I am writing a component for site side and having some troubles with router. I have 2 views in one component, both them have only one default.php template and default.xml to define menu type for each ...
4
votes
1answer
56 views

How to configurate Joomla or Apache for v1 SEF Urls?

I have the great pleasure of upgrading a Joomla 1.0 site to v3.5 (no comments from the peanut gallery please, lol). Overall it's going just fine, but the old version of writing SEF urls is quite ...
0
votes
1answer
3k views

Fatal error: Call to a member function getType() on a non-object in /plugins/system/sef/sef.php on line 38

I get this error instead of the classical page not found when the url is wrong: Fatal error: Call to a member function getType() on a non-object in /plugins/system/sef/sef.php on line 38 Scenario: ...
2
votes
3answers
686 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 ...
0
votes
1answer
383 views

.htaccess and localhost issue

Local dev environment Win10/XAMPP I have a number of local websites in my htdocs folder (eg. MyTestSite) that I access by visiting localhost/MyTestSite these work fine. So today I restored a (Joomla ...
1
vote
2answers
414 views

Any non-existent URL containing certain numbers, displays the home page instead of a 404 error

This is something that I noticed on one of my websites: If I add certain digits after the home page URL, it does not give me a 404, as is expected. It displays the home page, with the browser page ...
1
vote
4answers
583 views

301 redirects for old non-SEF urls to new SEF ones with new article IDs

I want to redirect all my non SEF url's to new SEF url on my site.But my old site and new site articles have different id's. How can i apply a 301 redirection for old non sef url's to new sef url