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
0 votes
1 answer
74 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-...
user avatar
0 votes
1 answer
11 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 ...
user avatar
0 votes
0 answers
46 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 ...
user avatar
1 vote
0 answers
58 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 ...
user avatar
  • 11
0 votes
0 answers
12 views

How to execute external application in Joomla 3.10 and pass parameters

My scenario is very simple. I want execute a URL menu item to call an external application and pass parameters in the URL. Example: I want to execute my external app "Reporter" and pass the ...
user avatar
0 votes
1 answer
23 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 ...
user avatar
1 vote
2 answers
25 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 ...
user avatar
2 votes
1 answer
56 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-...
user avatar
  • 31
1 vote
0 answers
31 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 ...
user avatar
  • 93
1 vote
0 answers
58 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/...
user avatar
  • 93
1 vote
2 answers
38 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 ...
user avatar
  • 93
0 votes
1 answer
43 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:...
user avatar
2 votes
1 answer
133 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 ...
user avatar
  • 23
0 votes
1 answer
169 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?
user avatar
0 votes
1 answer
93 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 ...
user avatar
  • 3
0 votes
0 answers
259 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 ...
user avatar
0 votes
2 answers
142 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....
user avatar
  • 1,829
0 votes
2 answers
330 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 ...
user avatar
3 votes
2 answers
123 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 ...
user avatar
  • 4,403
0 votes
2 answers
602 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. ...
user avatar
1 vote
2 answers
188 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 ...
user avatar
  • 3,501
1 vote
1 answer
59 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 ...
user avatar
1 vote
0 answers
129 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 ...
user avatar
  • 243
2 votes
1 answer
210 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 ...
user avatar
  • 135
3 votes
1 answer
1k 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 ...
user avatar
  • 3,501
1 vote
1 answer
533 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. ...
user avatar
  • 45
2 votes
2 answers
122 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 ...
user avatar
  • 3,501
1 vote
2 answers
318 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 ...
user avatar
2 votes
1 answer
310 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 ...
user avatar
0 votes
1 answer
746 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 ...
user avatar
  • 273
1 vote
2 answers
330 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. ...
user avatar
  • 294
1 vote
0 answers
54 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 ...
user avatar
  • 11
1 vote
0 answers
111 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 ...
user avatar
4 votes
1 answer
526 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 # ...
user avatar
0 votes
4 answers
582 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 ...
user avatar
  • 1
2 votes
1 answer
417 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)...
user avatar
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 ...
user avatar
  • 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(...
user avatar
  • 294
1 vote
1 answer
45 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 ...
user avatar
  • 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 ...
user avatar
1 vote
2 answers
376 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'...
user avatar
  • 53
0 votes
1 answer
31 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 (...
user avatar
  • 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....
user avatar
3 votes
1 answer
46 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?
user avatar
  • 33
3 votes
2 answers
822 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" ...
user avatar
  • 293
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 ...
user avatar
  • 293
-1 votes
1 answer
405 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 ...
user avatar
  • 1,369
1 vote
1 answer
1k views

How to correctly create dynamic content for Joomla?

I know this is a broad question but I really need to ask it. I started using Joomla a long time ago, and I have build a pretty extensive system that is highly used but I never liked the way I did it. ...
user avatar
1 vote
0 answers
124 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 ...
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 ...
user avatar
  • 341