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
1 vote
2 answers
30 views

Joomla 4 SEF URLs broken since upgrade

We upgraded from Joomla 3 to Joomla 4 and since upgrading have found that many (almost all) links on the site are broken. Here is an example of a broken link: https://guildofenamellers.org/index.php/...
  • 11
0 votes
1 answer
48 views

URL System Links not working

I don't know if this is a bug or if this is something new with Joomla 4, but any help would be greatly appreciated. In Joomla 2 and 3, I would create menu items of the URL System Links type that sent ...
  • 195
2 votes
1 answer
201 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 ...
  • 41
1 vote
1 answer
108 views

Joomla correct way of routing

This is in my Controller. Currently, I am redirecting using the inherited function setRedirect(URL_TO_REDIRECT_TO). public function redirectTo($layout){ $this->setRedirect('index.php?option=...
  • 57
2 votes
1 answer
108 views

Joomla 3.x routing and slug problem

I have 1 component with 2 views - default is view1 - secondary is view2. When I associate it with the menu from the backend, Joomla creates the correct url with alias for SEO. Example: www.sitename....
0 votes
2 answers
170 views

Alias and title in article url

At the moment my joomla articles are using the alias in the urls, like that: site.com/menu/article-alias Now I need to add the title of the specific joomla article in my url, too. So I will have a ...
2 votes
1 answer
32 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 ...
  • 21
0 votes
1 answer
167 views

How to catch Joomla\CMS\Router\Exception\RouteNotFoundException in Joomla 4.1?

As per the title, how can we catch a RouteNotFoundException? For time constraints, instead of creating a custom component we opted for some hand-waving, and decided to display custom content at non-...
0 votes
1 answer
24 views

URL doesn't recognize view after slash in custom component

The view in my custom component is no longer recognized in Joomla4 when passed as, for example, mycomponent/view/anotherinfo. In Joomla3, this worked normally. What happened? What do I need to change ...
0 votes
0 answers
57 views

SEO-friendly URLs are being corrupted after update

I have built a directory website and started to add some content. I have created the standard pages (contact us, privacy, etc.) and added businesses. I would like SEO-friendly URLs, so I set: Search ...
1 vote
0 answers
199 views

Joomla 3.9 CORS error

I'm trying to allow CORS on my website but I can't get it to work. I've seen many posts about this, from updating .htacces, httpd.conf, meta tags, and php headers, but nothing worked. I always get a ...
  • 11
0 votes
1 answer
29 views

Update SEF URL to change what is output

Good day, I have inherited a very old Joomla site - and the are wanting URL updates for a custom module that was developed for them. The URL's currently contain car-rental-branch - which they want ...
1 vote
2 answers
54 views

How to define URL of Joomla sub-menus?

How/Where is the URL of a Joomla article (used as submenu item) defined when using URL-shortening? What I want to achieve is to have the article URLs to represent a submenu logic. For example, the URL ...
2 votes
1 answer
61 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-...
  • 31
1 vote
0 answers
34 views

Is there a way to make all pages in a menu have a slug in the URL?

I have a page for "Froggy Park" on my Joomla site, and right now it is at www.site.com/forkids/froggypark but I want the park to be at www.site.com/parks/forkids/froggypark The page is ...
  • 93
1 vote
0 answers
63 views

How can I give pages URLs with two layers of slashes in them?

I have a page at www.website.com/page51 with 0 layers of slash items in the URL (only the website and the page alias) and I want to make it have two layers of slash items, as in www.website.com/layer1/...
  • 93
1 vote
2 answers
49 views

how to add a slash item before alias of a page

Right now, https://www.co.bergen.nj.us/shopping is a page on my site I want to make that page https://www.co.bergen.nj.us/tourism/shopping but I do not know how to add that to the URL. I tried ...
  • 93
0 votes
1 answer
50 views

EasyBlog Component missing image to URL to Facebook

I have problem with sharing URL to Facebook is missing image with Easyblog. I have upload cover image and there are pictures in article also. I check with Sharing Debugger and I can see the image. og:...
2 votes
1 answer
201 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 ...
  • 23
0 votes
1 answer
231 views

Joomla router file with fragment(# parameter in URL) in a custom component

How can I get & set the fragment(# parameter in URL) in the URL with the Joomla's existing build & parse method in the router file of the custom component?
0 votes
1 answer
149 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 ...
  • 3
0 votes
0 answers
357 views

A slash is being automatically added after the hashtag in urls

I just wanted to implement a scroll to an element for two anchor tags. The problem is that Joomla is adding a forward slash between the hash mark and the named anchor. When I have something like <a ...
0 votes
2 answers
194 views

How to reference a file locally within my class

I'm trying to use file_get_contents to reference a .json file in my module. My directory structure is as follows my custom field which is trying to reference the json file /models/fields....
  • 1,869
0 votes
2 answers
450 views

Ajax Request returning the whole page not a specifc value

I am trying to make an AJAX Request to my function in my controller and it works, however, it returns me the whole page which i don't want. I have tried encoding it with json but no success i also ...
3 votes
2 answers
163 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 ...
  • 4,671
0 votes
2 answers
739 views

How to remove category from URL?

I have a little problem - I want to remove categories and submenus from URL in Joomla 3.9.3. Of course, I did basic things like removing ID from URLs, but removing category is like a milestone for me. ...
1 vote
2 answers
241 views

Breadcrumbs Incorrect URL Path

Using Joomla 3.9.12 and SP Portfolio v1.7 I have a menu item called Locations, this is a menu item type SP Simple Portfolio » Items Whenever I visit example.com/locations I can see all my portfolio ...
  • 3,543
1 vote
1 answer
61 views

How to add userinfo to link in Joomla Page

We have a Joomla site (latest version) with a page that links to another system with a fixed username/pw, so like https://www.othersystem.com/login.php?un=[fixed_un]&pw=[fixed_pw]. Now we need ...
1 vote
0 answers
146 views

How to enter relative (to current page) URL as a menu item?

I would like to be able to enter relative URLs (relative to the current page URL). I've tried the menu type URL (nested within System Links) but when I enter e.g. first it becomes /first and when I ...
  • 253
2 votes
1 answer
236 views

Joomla SEF url in CLI script

I am new to Joomla, I am writing a script under folder cli. I am calling helper file of admin component where I fetch category and return url of category. The function in helper is fine and works ...
  • 135
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 ...
  • 3,543
1 vote
1 answer
770 views

How to add category name to url path for an article in Joomla 4?

How to display category name in the url path? Say I have a category named cat1, and an article1 under this category. I want to display website.wb/cat1/article1, but what I get is website.wb/article1. ...
  • 45
2 votes
2 answers
126 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 ...
  • 3,543
1 vote
2 answers
336 views

How to fix empty Itemid's like https://www.joomla.org/?Itemid=

Google has indexed an URL on my site like this: https://www.joomla.org/?Itemid= This results in strange page of course. Try it with your own site! What would be the best way to redirect this to the ...
2 votes
1 answer
338 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 ...
0 votes
1 answer
851 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 ...
  • 273
1 vote
2 answers
363 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. ...
  • 294
1 vote
0 answers
56 views

Suddenly URLs with "table/"

I'm running a simple site based on Joomla. The SEF URLs are defined by SH404SEF and look like https://[domain]/[category]/[sub category]/[article title alias].html. In some cases there is a 1-to-1 ...
  • 11
1 vote
0 answers
116 views

Joomla tag links in articles url problem

Having the latest Joomla 3.9.1, when I insert tags in articles, the url when I hover over the tags under the article from a category blog page is example.com/component/tags/tag/my-example-tag. I have ...
4 votes
1 answer
548 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 # ...
0 votes
4 answers
666 views

Edit HTML-Code of specific Joomla Page

I am a Joomla Beginner and would like to know, how I can edit the HTML-Code of a specific webpage in Joomla. I am not talking about editing an article, but the whole URL. And just a single one! Is ...
  • 1
2 votes
1 answer
439 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)...
0 votes
1 answer
1k views

How does JFactory::getApplication->input get the input id

I am trying to get the current itemid of an especific menu which calls a custom component. I had a custom component called on the menu with the url /something. Inside of the site model of my ...
  • 123
3 votes
1 answer
3k 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(...
  • 294
1 vote
1 answer
52 views

How can I duplicate a category blog on the home page but still use the original article URLs?

I have a category blog for News. If I click its menu item I'm taken to /news, and if I then click an article link I'm taken to /news/article-title as expected. However, I also want to show some of ...
  • 362
2 votes
2 answers
1k 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 ...
1 vote
2 answers
423 views

How to link article to specific menu item?

I have two menu items, for example Menu1 and Menu2. Both are a Category Blog for same category Cat1, but Menu1 has some specified tags. Of course, some articles are present on both pages, and all url'...
  • 53
0 votes
1 answer
34 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 (...
  • 101
2 votes
1 answer
1k 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....
3 votes
1 answer
51 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?
  • 33