Questions tagged [alias]
Joomla uses the Alias to create Search Friendly URLs
26
questions
1
vote
1
answer
48
views
Replicate SEF URLs Using Article Alias
I've got a Joomla site that I'm preparing to upgrade to Joomla 4. I'm currently using the sh404SEF component to create SEF urls that use the article's alias (Ex: example.com/about-us). I need a ...
3
votes
1
answer
107
views
Joomla 4 - Check if Alias is Unique
I'm trying to develop a Joomla 4 component and I almost completed it, but I have issues to save an item when the Alias is not Unique.
In the database, I've set up this:
CREATE UNIQUE INDEX aliasindex ...
2
votes
1
answer
173
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....
1
vote
1
answer
23
views
Omit previously imported articles by comparing existing articles aliases with generated aliases
I am needing to compare the generated articles aliases of items imported from an external news API against those that are already stored in the com_content database to ensure that duplicates are ...
1
vote
2
answers
87
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 ...
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 ...
0
votes
1
answer
155
views
How to disable Joomla routing by Article ID with any alias but use exact alias only
Joomla use own SEF redirects what drives any variants of URL to same article basing on Article ID (no matter what alias will be used)
http://example.com/3-welcome-to-your-blog.html
or
http://example....
0
votes
1
answer
179
views
Joomla custom component - router not find alias
I am creating my own component.
Is it possible to transform:
Route::_('index.php?option=com_toto&view=tutu') into /somealiasinmenu?
(This alias can be found in a menu in the backoffice.)
I can do ...
2
votes
2
answers
384
views
How to apply aliases in SELECT clause when two columns from JOINed tables have the same name?
I am trying to build a gamelist, right now I'm struggling getting the detailed team information.
#__game
id team_home team_guest
1 1 2
2 2 3
#__team
id ...
1
vote
2
answers
277
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 ...
1
vote
1
answer
94
views
How to collect multi-row data from #__fields_values and assign specific aliases for each value in the result set?
I have the following (working) query to get name, username and the value of a custom field:
// Get a db connection.
$db = JFactory::getDbo();
// Create a new query object.
$query = $db->getQuery(...
0
votes
0
answers
37
views
"Temporarily Unavailable" message when a menu alias contains "contact"
One of the websites we manage, http://wesleyunited.ca , recently started having a problem with menu aliases containing "contact" as a substring: clicking the menu just brings up an empty page that ...
1
vote
1
answer
104
views
Adding SKU to generated aliases in J2Store
I'm a bit of a Joomla noob so hopefully this is an easy problem.
We have a Joomla 3.8.11 website using J2Store 3.3.0, and the client wants to add the SKU values to the product aliases. Specifically ...
3
votes
1
answer
99
views
Create alias for alternate view format
I've just created an RSS feed view format for one of the views in my component. This is contained in:
components/com_mycomponent/views/myview/view.rss.php
I'd now like to allow access to this via ...
2
votes
1
answer
461
views
Dynamic urls (aliases) based on variable
I have a component with multiple retailers, based on data from an API.
Each retailer has a "read more" link.
Now, what I need, is to give each retailer it's own alias, without having to add an alias ...
1
vote
1
answer
406
views
How to change JoomShopping URLs?
I have added several JoomShopping categories with respective pages. However, they have long URLs:
http://ysadba.kiev.ua/component/jshopping/CATEGORY/PRODUCT.html?Itemid=0
I'd like them to look like ...
1
vote
1
answer
1k
views
Duplicate Menu Item Alias in Joomla 3.6.5
We upgraded our Joomla sites from 3.4.8 to 3.6.5 a while ago and it looks like the default behavior on how the alias for Menu Item Type [Menu Item Alias] is generated has changed. And this is either a ...
1
vote
1
answer
4k
views
Can't browse directly to article alias
I have an article that I want to link to directly using html rather than create a menu item that links to it. I was able to do this in Drupal but when I try the same thing in Joomla it doesn't seem to ...
1
vote
1
answer
42
views
How to recover the values of two columns with the same name?
I have this query:
$query
->select(array('a.id', 'a.alias', 'b.category_id', 'b.item_id', 'c.id', 'c.name', 'c.alias'))
->from($db->quoteName('#__zoo_category', 'a'))
->join('...
3
votes
3
answers
494
views
Joomla 3.4.4 - URL Problems with alias of products in submenu
I am writing for help regarding a problem with incorrect alias in the URL for product content from my Italian submenu. I created a submenu for products in my website (the products are with VirtueMart)....
0
votes
2
answers
204
views
Dynamic content plugin/module, depending on the site name [closed]
Is there a plugin or module which shows content depending on the site I am currently on? For example:
If I am on site with alias site-1 I want picture images/pictureXY.jpg to be shown by the plugin/...
1
vote
1
answer
189
views
How to make article alias of subcategories as 1 level?
In a joomla website I have a category and its 2 different subcategories like
News
__Subcategory1
__Subcategory2
__Subcategory2
My news catagory used News Show Pro GK4 ver. 3.3.6 plugin
If I ...
0
votes
1
answer
1k
views
Menu Item Aliases stopped working Joomla 3.3.3
I recently upgraded my site from Joomla 3.3.1 to Joomla 3.3.3. When I did this the menu items in my footer that were aliases of other menu items stopped working. The only one that still works points ...
1
vote
1
answer
827
views
how to add more frontend feature to front-end editing (alias, association...)
Front-end editing in Joomla 3 is a bit limited. How could I add more features to it such as the "alias" or the "association" tab, or maybe to get on the front-end the same features than in backend?
6
votes
4
answers
2k
views
What's the correct method to get the alias of the active page
I want to load some JS but only on the page where it is needed.
I'm trying to use the alias of the active article to determine that.
My code in the component.php file is:
$path = &JFactory::...
1
vote
1
answer
385
views
How does alias-parent-active get implemented?
I have 2 menus - one main menu and effectively an alias menu.
Main Menu
About
Products
Prod 1
Prod 2 etc
Alias Menu
Alias pointing to Prod 1
Alias pointing to Prod 2
There is no 'parent' item ...