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

Questions tagged [url]

The uniform resource locator, abbreviated as URL is a specific character string that constitutes a reference to a resource.

Filter by
Sorted by
Tagged with
25 votes
4 answers
51k views

Get the current Joomla URL

The following code works in Joomla 1.6, but it throws up a Strict Standards error in 3.x: Strict Standards: Only variables should be assigned by reference //Get the full URL for sharing ...
RustyJoomla's user avatar
  • 2,078
12 votes
2 answers
5k views

How to deal with Duplicated Content / URLs in Joomla?

I just found out a major SEO issue and while I have solved it for the time being; I am trying to figure out why it may have occurred in the first place and if there was mistake or is it something to ...
sifu's user avatar
  • 1,105
10 votes
5 answers
8k 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.
connersz's user avatar
  • 201
10 votes
3 answers
14k views

Remove Article ID from Joomla 3 url

I am trying to remove the article id from a Joomla 3 URL. I searched around and the response is in components\com_content\router.php change 0 to 1 in $advanced = $params->get('sef_advanced_link', ...
gag's user avatar
  • 387
8 votes
3 answers
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-...
Delete my account's user avatar
7 votes
3 answers
8k 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 ...
rleathers's user avatar
  • 168
7 votes
2 answers
845 views

Joomla 3.x Search Engine Friendly URL for Articles

I've got a website using Joomla 3.x. The menu items are as follow: Home Category A (alias: cat-a) Category B (alias: cat-b) where Category A and B are in Category List type. Also I have set up two ...
Tony Leung's user avatar
6 votes
2 answers
498 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. ...
tristanbailey's user avatar
5 votes
1 answer
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&...
lars k.'s user avatar
  • 368
5 votes
2 answers
3k views

How Can I Get Rid Of Category Pages in Joomla

I have created several categories in my Joomla site to keep my articles organised but I have noticed that Google can see these categories and the category id and name is being added randomly to the ...
Laura's user avatar
  • 51
5 votes
1 answer
631 views

Modify standard redirect url after session time out

How can I modify the standard url after session time out? 'http://www.domain.com/component/users/?view=login' The loginform module for my frontend is deactivated. Instead there is a custom login form ...
Perino's user avatar
  • 667
4 votes
2 answers
610 views

Multilingual Joomla site with multiple domains

I have Joomla site with native language system and my site looks like this: www.mydomain.pl www.mydomain.pl/en/ www.mydomain.pl/de/ www.mydomain.pl/se/ www.mydomain.pl/dk/ I have domain www.mydomain....
noiragneau's user avatar
4 votes
2 answers
864 views

My 404 page returns a 500

Joomla is correctly detecting when a page is not found, and redirects me to the error page I have setup. Unfortunately, I've found that the error code being returned is a 500, instead of a 404, and ...
ContextSwitch's user avatar
4 votes
1 answer
621 views

Site keeps browsing itself all the time

I run the server where this Joomla! site is hosted, so I have root access to it. There is something in the configuration, or somewhere in its code, that keeps browsing the site itself. If I run # ...
Lucio Crusca's user avatar
4 votes
2 answers
929 views

Anchor link in template breaks when page has URL parameters

I've got a problem with my Joomla site. I've got an anchor link in my template -- really simple, like this: <a href='#top'>Go to top</a>. This works great for most pages on the site. ...
Simba's user avatar
  • 610
4 votes
2 answers
890 views

How do I set the Home menu item to a URL like /?

I have Joomla behind a reverse proxy. I want the Home menu item to point to /, not the fully qualified domain name that it is running on. How do I do that? I tried changing the Home "Menu Item Type" ...
Chloe's user avatar
  • 303
3 votes
2 answers
252 views

Why are Joomla url query strings commonly delimited with "&amp;" instead of "&"?

I often see Joomla url querystrings with &amp; delimiters between key-value pairs instead of the standard &. In a previous question, How to make my Editor plugin (type: editors-xtd) survive ...
mickmackusa's user avatar
  • 4,801
3 votes
2 answers
409 views

Joomla turns all menu items to sub-sub-menu items when adding a new one

When I add a menu item, Joomla shows all menu items on all menus as if they are sub-sub-menu items, ie with a |—|— before the name in the menu manager. This breaks the menus, or adds "root" to the ...
RichardB's user avatar
  • 3,082
3 votes
3 answers
2k views

How do I turn off Joomla inserting a BASE tag into the HTML?

I set up Joomla to access it through a reverse-proxy. Everything works fine except the HTML has a <base> tag pointing to the real domain name. The browser changes relative links like /signup ...
Chloe's user avatar
  • 303
3 votes
2 answers
3k views

Does JUri::root() return https on sites that use ssl?

If my site was using ssl, would JUri::root() return a url containing https? If it didn't, what could I use to return the https equivalent of JUri::root() ?
TryHarder's user avatar
  • 2,340
3 votes
1 answer
200 views

New menu changes article URL

So, the problem is simple: I have a front page with featured articles blog with articles of different categories, let's say "Cat1", "Cat2", etc... (Cat1 has ID=9) SEF is on. An article with ID=99 has ...
Plamen's user avatar
  • 747
3 votes
1 answer
4k views

How to get URL parameter via Joomla api with decoded strings?

how can I get the full url parameter with the url-encoded values ?myParam=dummy%C3%B6%C3%A4%C3%BC this is the decoded url: ?myParam=dummyöäü if I use $myText = urldecode(JFactory::getApplication(...
cilap's user avatar
  • 294
3 votes
1 answer
56 views

Automatic url linking

I want that my links for example http://mysite.com get automatically converted to a hyperlink when i paste it in the editor. How is this possible?
Kelster's user avatar
  • 33
3 votes
1 answer
117 views

Menu item adding 'Clients/' to url

After the joomla update the menu item seems to be broken. In every url I see websitename.com/Clients/menualias rather than websitename.com/menualias However, I resolved the issue by clicking ...
Liz.'s user avatar
  • 1,385
3 votes
1 answer
2k views

htaccess 404 Redirect Not Working

I recently redesigned a site and there are loads of 404 pages, so to simplify things I want to add a redirect to my htaccess, redirecting any 404 pages to the home page. I though it was as simple as ...
jonboy's user avatar
  • 3,603
3 votes
1 answer
415 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-...
Delete my account's user avatar
2 votes
2 answers
134 views

Link to Page & Pre-Filter Portfolio Items

Joomla 3.9.10 I am using this template. I would like to create a link on my home page that when clicked, will take the user to the portfolio page and display a pre-selected tab.. For example my link ...
jonboy's user avatar
  • 3,603
2 votes
2 answers
86 views

How can I make a directory accessible without putting it on a menu?

I want users to be able to download a file from my Joomla website, but I don't want the URL posted anywhere on my site. How can I make a file downloadable without adding any links to it from my site?
Dan's user avatar
  • 341
2 votes
4 answers
8k 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 ...
Gruber's user avatar
  • 302
2 votes
2 answers
391 views

Joomla 3.0 direct link to file with multi language

I have a direct link to a PDF on my multi-lang Joomla 3.0 site. However, when browsing to the link, Joomla keeps on injecting the language code /en/ into the URL, thus resulting in a 404 error. How ...
Anriëtte Myburgh's user avatar
2 votes
2 answers
2k views

How to remove menu parent from url?

The Joomla menu system includes the menu's parent name in the URL structure for sub-menu items as follows: https://www.mysite.com/parent/page I'd like to remove the parent directory from the url as ...
steveorg's user avatar
2 votes
2 answers
339 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 ?
Jonuux's user avatar
  • 123
2 votes
2 answers
658 views

How to change url scheme of Search component?

How can I change the url scheme appearing for Search Component in Joomla. When a search is done url goes like: http://localhost/joomlaproject/component/search/?searchword=destination&...
aish's user avatar
  • 325
2 votes
1 answer
88 views

Joomla Menu Structuring

I'm looking to alter the menu structure of my site, to add better segmentation and ultimately create a portion of the site for google news. As it exists right now, my menu structure looks something ...
ParanoidPenguin's user avatar
2 votes
1 answer
101 views

Is this a route loop?

Our site (Joomla 2.5.8) is using the Document Seller component/module (I'm not clear on the proper use of these terms in the Joomlaverse) to categorize and sell a series of PDF documents. The ...
pjmorse's user avatar
  • 151
2 votes
1 answer
69 views

The URL loaded two times on every page

Joomla: 3.3.0 The problem occurs on every page. creact.com is loaded on every page and the real link too. The htaccess file is modified with these lines: ### START WILDCARD ################## ...
Joomla Agency's user avatar
2 votes
1 answer
675 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
2 votes
1 answer
371 views

Translate only one string in component rest of component stay with default language

Is there a way to translate a single string with a language that is different from the default language? (Google search did not lead me to a solution.) Example code that does not work: // This shows ...
Niel Buys's user avatar
2 votes
1 answer
3k views

How can I redirect a URL to another domain?

I want foo.example.horse/short to redirect to the external URL https://some.long.org/url/that/i/want/to/redirect_to. Is there a simple way to do this from Joomla, or do I have to edit the .htaccess ...
Dan's user avatar
  • 341
2 votes
1 answer
1k views

Home page layout is used for content instead of the default layout

I am setting up a new site with Joomla 3.6 (with Gantry 5 and Hydrogen template). There are two template styles, one is default and the other is assigned only to the home page menu item (it has a ...
Matej's user avatar
  • 123
2 votes
2 answers
80 views

When I save an article, URLs are modified to include hostname

I've inherited a Joomla site. I've noticed that some articles contain URLs like this: <a href="http://testdomain.test/rest_of_url">example</a> This site gets copied from our staging ...
Flimm's user avatar
  • 481
2 votes
2 answers
476 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. { $...
Ignacio Salcedo's user avatar
2 votes
1 answer
350 views

How to edit Popular Tags search parent (page/menu/URL)?

Making a joomla 3x website, testing it locally in wamp. My main menu layout is: Home | News | [and so on...] News page includes the "Popular Tags" module which displays most popular tags. If I click ...
Borg777's user avatar
  • 157
2 votes
1 answer
2k views

Multilingual site and domains

I have a multilingual joomla site setup and would like to use a different domain for each language. So instead of "englishsite.com/en/" and "englishsite.com/fr/", I would get "englishsite.com/" and "...
oturpin's user avatar
  • 21
2 votes
2 answers
2k views

Redirecting multilingual url

I'm having a hard time redirecting URLs on multilingual Joomla site. New site has following URL structure: http://sitename.com/[language]/[pagename].html and old site URL structure is as follows : ...
Reygoch's user avatar
  • 273
2 votes
1 answer
97 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', ...
Nick's user avatar
  • 51
2 votes
1 answer
44 views

Google search results for my site include some strange urls - how to deal with them?

For some reason Google has indexed some pages on my Joomla website using strange urls starting https://www.pgweb.uk/?id= https://www.pgweb.uk/?id=1605:new-dance-studio-launches-next-week When clicked ...
BasilC's user avatar
  • 21
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
1 answer
295 views

Remove Itemid from URL generated from manual links in articles

I have been looking for hours but I have been unable to find an answer for my case. I have an Article which is used for the home menu. For some reason the Read More option is not working but that is ...
Elder's user avatar
  • 23
2 votes
1 answer
457 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