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
0 answers
44 views

Rewrite rule in htaccess in joomla 4?

In J3 i used specific rewrite rules in .htaccess that worked fine but doesn't seem to work in J4. Here's an example : RewriteRule ^metier/([a-zA-Z0-9-_]+)\.html$ /index.php?option=com_content&view=...
Joannes De KOSTER's user avatar
0 votes
1 answer
58 views

How do I change a page URL on Joomla 3.10.11?

I'm a complete newbie to Joomla here (been working with it for a few days only) and wanted to ask what is probably a silly question. For clarification I'm not using any SEF extensions/plugins - only ...
dkdk96's user avatar
  • 1
0 votes
0 answers
24 views

Linking to a category list item

I have a Joomla 4 menu item of type "List All Categories in an Article Category Tree". The menu item is FAQ, which sits under another menu item labelled Help. There is a category with an ...
Jimmy's user avatar
  • 307
1 vote
1 answer
100 views

Is it possible to remove language code for all languages from the URL Joomla 4 website

I have two languages installed on my website I went to the Language Filter plugin, and configured it. "Remove URL Language Code" to "Yes". www.example.com/en/company/contact.html ...
user4571727's user avatar
1 vote
2 answers
186 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/...
zoe's user avatar
  • 11
0 votes
1 answer
234 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 ...
chavab_1's user avatar
  • 195
2 votes
1 answer
574 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
1 vote
1 answer
388 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=...
DeesreX's user avatar
  • 87
2 votes
1 answer
200 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....
Orazio D'Arrigo's user avatar
0 votes
2 answers
370 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 ...
Keroster's user avatar
2 votes
1 answer
40 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
0 votes
1 answer
258 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-...
Vincenzo Oliva's user avatar
0 votes
1 answer
36 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 ...
David Ribeiro's user avatar
0 votes
0 answers
67 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 ...
33money's user avatar
1 vote
0 answers
326 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 ...
Brian's user avatar
  • 11
0 votes
1 answer
36 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 ...
Hilton Anthony Moore's user avatar
1 vote
2 answers
92 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 ...
ares_games's user avatar
2 votes
1 answer
66 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
1 vote
0 answers
38 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 ...
David's user avatar
  • 93
1 vote
0 answers
67 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/...
David's user avatar
  • 93
1 vote
2 answers
52 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 ...
David's user avatar
  • 93
0 votes
1 answer
53 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:...
Saovry Sok's user avatar
2 votes
1 answer
262 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
0 votes
1 answer
323 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?
learnNewThingAlways's user avatar
0 votes
1 answer
176 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 ...
Andino's user avatar
  • 3
0 votes
0 answers
398 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 ...
MatthiasDunkel's user avatar
0 votes
2 answers
219 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....
Eoin's user avatar
  • 1,889
0 votes
2 answers
589 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 ...
Thiago Guimarães's user avatar
3 votes
2 answers
209 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,781
0 votes
2 answers
849 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. ...
michalkowalczyk's user avatar
1 vote
2 answers
288 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 ...
jonboy's user avatar
  • 3,593
1 vote
1 answer
71 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 ...
Bob Mulder's user avatar
1 vote
0 answers
160 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 ...
Wieger's user avatar
  • 253
2 votes
1 answer
272 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 ...
Ekta Puri's user avatar
  • 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 ...
jonboy's user avatar
  • 3,593
1 vote
1 answer
1k 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. ...
JDoe's user avatar
  • 45
2 votes
2 answers
131 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,593
1 vote
2 answers
343 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 ...
COBIZ webdevelopment's user avatar
2 votes
1 answer
357 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
0 votes
1 answer
916 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 ...
Reygoch's user avatar
  • 273
1 vote
2 answers
391 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. ...
cilap's user avatar
  • 294
1 vote
0 answers
58 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 ...
hajo70's user avatar
  • 11
2 votes
0 answers
129 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 ...
user712961's user avatar
4 votes
1 answer
589 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
0 votes
4 answers
719 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 ...
Mio K.'s user avatar
  • 1
2 votes
1 answer
453 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
0 votes
1 answer
2k 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 ...
ValRob's user avatar
  • 123
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
1 vote
1 answer
55 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 ...
isherwood's user avatar
  • 372
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 ...
steveorg's user avatar