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
10
votes
5answers
7k views

How to remove the 'index.php' from URL's?

I was wondering if it is possible to remove the 'index.php' that is shown in every URL.
8
votes
3answers
1k views

Use Joomla redirect component to fix broken URLs

Can anyone help with using J3 redirect component to fix this kind of broken links: https://www.portal-gestao.com/whatever/whatever/9999-title-of-the-page To: https://www.portal-gestao.com/item/9999-...
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 ...
7
votes
3answers
7k views

How do I generate a SEF URL in a custom module instead of the real URL?

In my module, this code is being used to generate the URL of the page: JURI::base() . ContentHelperRoute::getArticleRoute( $article->id, $article->catid ) This works exaclty as it should and ...
7
votes
4answers
2k views

Removing category/article numbers in SEF

The instructions and links in this answer clearly demonstrated how to make search engine friendly URLs. However the URLs I currently see on my website have the format: mydomain.com/1-category/2-...
6
votes
2answers
475 views

Possible to make slug generation turn “&” to “and” for url? as extension/plugin/patch?

I have a lot of clients who like to write "&" in their titles but the slug auto generation removes the "& " which can give the url a totally different meaning and so we must hand check them. ...
5
votes
3answers
424 views

Using Joomla! SEF 'After the Fact'

If I build a Joomla! site (J!3) without SEF, can I enable it 'after the fact'? Will I have to do a lot of extra work? What if I'm using sh404SEF - can I install and use this on Joomla! site that ...
5
votes
2answers
437 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 ...
5
votes
1answer
1k views

How can I change a SEF URL to display another template?

I am using Joomla 3.3 and K2 v2.6.9. I have a category view with several items, namely books. The URL looks like this: http://localhost/index.php?option=com_k2&view=itemlist&task=category&...
5
votes
1answer
279 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 ...
4
votes
1answer
57 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 ...
4
votes
2answers
758 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 ...
4
votes
1answer
326 views

Safe SEF link to menu item

When creating a link to a menu item inside an article or module, my first thought is to use the menu item alias and make the link like this: <a href="/contact">Contact us</a> The problem ...
4
votes
1answer
255 views

Joomla K2 tags don't work with SEF

I created a multilingual web site(blog) and everything worked fine, except filtering by tag. My web site is on Joomla 3.4.3 and I am storing content using K2 ver. 2.6.9. My articles have tags and ...
3
votes
3answers
3k views

How to assign a module to different pages

I have menus in home page. Now i want to display different modules in different page and also I want to add SEF custom name to pages. Since I am new to Joomla, Any help greatly appreciated. Thanks in ...
3
votes
2answers
1k views

Using JRoute in the backend? Almost figured it out, help needed

I needed to get JRoute working in backend so that from admin I can create an event with my event component and have an email sent that contains the SEF url. After researching, I found some tips that ...
3
votes
1answer
105 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 ...
3
votes
2answers
479 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 ...
3
votes
1answer
382 views

K2 URLs not working after migration to Joomla 3

I've just migrated to Joomla 3 and my K2 URLs are returning 404's. Before the migration this was an example of a correct URL: [url=https://www.portal-gestao.com/item/7687-o-que-significa-mass-...
3
votes
1answer
829 views

Tags and SEF URLs - Wrong Page

Joomla 3.3.3 I have no redirects in place, not in the .htaccess or the Joomla redirect component. The problem is that when a user clicks on a tag they are redirected to the wrong article. For ...
2
votes
3answers
2k views

Remove index php add language code in the url

I built international site and it adds language code to the end of the urls: www.site.com/index.php/en/ I enabled SEF urls and url rewriting in global configuration, I tried many .htaccess snippets to ...
2
votes
1answer
147 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&...
2
votes
2answers
280 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 ?
2
votes
1answer
313 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
3answers
763 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 ...
2
votes
1answer
389 views

Search component pointing to wrong SEF URLs in Joomla 3

My search component is pointing to the wrong URLs. When the user clicks on them, they're redirected to the home page. For example, the search returns: http://cursos.portal-gestao.com/9-excel/...
2
votes
4answers
4k views

How to remove index.php from url in multilanguage site

I have searching for removing index.php from urls. I did what many web sites say. But I still get 404 error. I think that error would not be showed if I did not use multilanguage web site. I am using ...
2
votes
2answers
63 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 ...
2
votes
1answer
55 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
votes
1answer
319 views

One link to point a multilanguage article

I am using Joomla 3.5. All is set up for MultiLanguage. Now I have two articles, one in english the other translated in italian. I would like to have an URL that when is used it will redirect the user ...
2
votes
1answer
111 views

How to modify a SEF URL including an arbitrary text

I develop a component that has a list view: index.php?option=com_mycomponent&view=listview&catid=1 I have published several menu elements of this component pointing to different categories; ...
2
votes
2answers
459 views

How to remove IDs from SEF URL in Joomla?

I 'm writing a custom component and I already get done the router.php: defined('_JEXEC') or die; function empresaBuildRoute(&$query) //Esta función divide la url y se trae las variables. { $...
2
votes
1answer
83 views

Change folder name in URL

All media on my website is placed in the folder 'images'. All PDFs are placed in 'images/PDFs'. Now I would like to rewrite the URL such that it looks like the PDFs are in the folder 'downloads', ...
2
votes
1answer
131 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 ...
2
votes
1answer
65 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 ...
2
votes
1answer
356 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
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 ...
2
votes
1answer
427 views

Change kunena url from /kunena to /forum

Simple question that I cannot seem to find an answer to anywhere. When I browse my forum, the sef url is /kunena, I want it to be /forum. How do I do this?
2
votes
3answers
1k views

Joomla 3 with k2 sef url issue

I have an issue with k2 sef settings. I want all items to have no category structure, example: http://example.com/cat1/cat2/item1 -> http://example.com/item1 I found the setting: Prefix for item ...
2
votes
1answer
1k views

K2 problem with displaying tagged content with SEF URLs

I have a Joomla K2 site (all latest versions) and I have noticed that google is finding URLs like this one : http://mysite.com/tag/some-defined-tag.html Problem is, that gives 404 error because ...
2
votes
1answer
334 views

Joomla 2.5 SEF and JRequest

(Migrated this question from Stack Overflow) I am working on a client's website which is based on the Joomla 2.5 framework. With SEF turned off (the in built Joomla version) the URL is this http://(...
2
votes
1answer
36 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 ...
2
votes
1answer
385 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 ...
1
vote
1answer
942 views

Google indexing k2 urls wrong

I moved one of my site to new domain. And also upgraded it to joomla3. i have around 200 articles/tips displaying using k2. Before moving to new domain google was indexing site well and i was getting ...
1
vote
3answers
6k 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 ...
1
vote
2answers
2k views

SH404SEF : How to redirect a URL to home?

In my site I have installed SH404SEF. For my homepage, I use a Single-Article menu item that holds an article with title Home Page. Now I am getting an issue with duplicate homepage URLs. The ...
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
5k views

.htaccess and localhost re-direct issue

I'm quite possibly doing something very silly here however after hours of looking I though I'd ask here as no doubt somebody will spot it! Local dev environment Win7/XAMPP I have a number of local ...
1
vote
1answer
104 views

Facebook change thumbnail, tittle, secription when using SEF and non SEF URL of the same page

When I post on facebook debugger an URL article it fetches different datas if use SEF or non SEF URL The SEF URL displays the information correctly (thumbnail, title...) but the non SEF URL ...
1
vote
2answers
557 views

Why is Joomla 3.2 SEF working for links to menu items but not links to articles not published in a menu?

I have SEF, URL re-write and Add suffix all enabled and htaccess.txt renamed .htaccess. If I link to a menu item, SEF works fine. If I try to link to an article from the Content tree as opposed to the ...