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
24
votes
4answers
36k 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 ...
10
votes
2answers
4k 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 ...
9
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.
9
votes
3answers
13k 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', ...
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-...
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
2answers
815 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 ...
6
votes
2answers
458 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
1answer
955 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
2answers
1k 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 ...
5
votes
1answer
536 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 ...
4
votes
2answers
248 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....
4
votes
2answers
648 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 ...
4
votes
1answer
175 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 # ...
4
votes
2answers
435 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. ...
3
votes
2answers
297 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 ...
3
votes
1answer
195 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 ...
3
votes
1answer
287 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(...
3
votes
1answer
38 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?
3
votes
1answer
89 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 ...
3
votes
1answer
327 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
2answers
456 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" ...
2
votes
2answers
75 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?
2
votes
2answers
274 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 ...
2
votes
2answers
2k 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() ?
2
votes
2answers
1k 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 ...
2
votes
2answers
135 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
2answers
483 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&...
2
votes
1answer
84 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 ...
2
votes
1answer
58 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 ################## ...
2
votes
1answer
1k 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 ...
2
votes
1answer
754 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 ...
2
votes
2answers
68 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 ...
2
votes
2answers
418 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
291 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 ...
2
votes
1answer
1k 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 "...
2
votes
2answers
1k 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 : ...
2
votes
1answer
80 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
77 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 ...
2
votes
1answer
517 views

how to change urls to look like subdomains but function as a single domain?

I have a Joomla! site hosted by Rochen, and am wondering whether it is possible for me to change the structure of urls as follows. Currently my site (Joomla 3.8) has urls that look like this: www....
2
votes
1answer
435 views

Short URL or Tiny urls in Joomla

Someone help me know how I can have urls random for joomla sef in service? I would like joomla or any component would generate urls like this: mysite.com.br/f4f9o3 mysite.com.br/dsr9c2 mysite.com....
2
votes
1answer
93 views

Append id to every link generated by joomla

I have an affiliate system that can generate a users affiliate id with a {affiliatecode} if they are logged in and i would like every joomla page to append the users affiliate tracker id to every page ...
2
votes
1answer
408 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
673 views

New menu items lead to 404 - given bad URL - version 3.4.0

Running Joomla 3.4.0 SEF = on URL writing = on I have no idea but for some reason I cannot create any new menu items without them either showing a 404 or strangely being directed to the weblinks page?...
2
votes
1answer
980 views

News Module not redirecting to correct place

Hi All On our home page we have a latest news module that you click through to to read an article in the blog. http://se24media.net/adnitt/ Unfortunately when you click through I wanted it to display ...
1
vote
2answers
348 views

Having absolute SEF links in Joomla

When I am in home page, everything is OK. All images and assets are loaded since relative URL works. But when I visit an internal page, such as: example.com/terms The images' links break, since I ...
1
vote
1answer
67 views

How can I use 'SEO and Link Tools' in 'Admin Tools' in my situation?

my old site 'example.com' is now 'archive.example.com' and there are many absolute URLs of images on it, how can I use this feature of 'Admin Tools' to solve my problem?
1
vote
2answers
6k views

How to remove en from my site urls?

After recovering joomla site from failed upgrade and from corrupt backup i at least got it to display something but now all my pages by default point to /index.php/en/ and because its pointing to "en" ...
1
vote
2answers
59 views

How to make Category Links noindex

Is there a way to make all my categories to be "noindex"? (Plugin or even better default joomla way) Right now crawlers find the category URLs and thus create duplicate content on search engines. ...
1
vote
3answers
4k 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 ...