Questions tagged [joomla-sef-urls]

Questions relating to Search Engine Friendly URLs for Joomla

Search Engine Friendly URLs are URLs that are easily readable by both humans ans search engines. SEF URLs can be developed for Joomla on a variety of server platforms including Apache and IIS.

95 questions
7
votes
3 answers

Manual links with SEF on Joomla!

Say you want to create a manual link to an article in Joomla! (that is, an "External Link" type menu item or a link within an article). You must start the URL with "index.php?...", not an absolute URL, or it will break compatibility with Search…
Jerph
  • 4,572
  • 3
  • 42
  • 41
5
votes
5 answers

Using JRoute::_() in Joomla administrator

I have a custom component I'm working on and I'm writing an import script which is running in the administration area. I have the following code: $newUrl = ContentHelperRoute::getArticleRoute($import->article_id.':'.$import->alias,…
udjamaflip
  • 682
  • 1
  • 8
  • 24
4
votes
1 answer

Rewrite custom urls with Joomla SEF

I'm trying to wrap my head around rewriting some urls internally in Joomla! 1.7 with SEF features turned on but can't seem to figure it out: The following SEF URL exists (menu item): website.com/local/amsterdam What I would like is the…
jessedb
  • 159
  • 8
4
votes
3 answers

How do you use JRoute in Joomla to route to a Search menu item?

I am trying to create a a box in a template in Joomla! that will display all of the keywords and link them to their appropriate search page. I have a menu item set, however, I don't want to hard-code the menu item into the template, so I want to use…
4
votes
5 answers

Joomla plugin : how to get article title and article id

I have developed on simple plugin in Joomla 1.6 I stuck at : How to get article title and article url. I am getting no output if tried to print below statement: echo $article->title; echo $article->id; I have written this in php file, not used MVC…
pravin
  • 2,155
  • 8
  • 37
  • 49
3
votes
1 answer

Apache mod_rewrite issue with WAMP - shows Error 404 Not found - Joomla 1.5.14 with SEF URL

I am newbie to Joomla and WAMP environiment. I am using WAMP environment: Win Srv 2003 R2 (Std Ed) with SP2 and all recent updates Apache 2.2.9 PHP 5.2.6 Joomla 1.5.14 I want to enable mod_rewrite with Joomla SEF URL but it is not working…
DM.
  • 111
  • 1
  • 1
  • 4
3
votes
2 answers

Joomla Not Usinsg Alias?

I just transferred a Joomla website over to a new server and for some reason I cannot follow any of the links - they lead to 404 / index.php not found. I have my SEF and URL rewriting enabled and I am using alias in my menus etc. If I use the…
Howdy_McGee
  • 10,422
  • 29
  • 111
  • 186
2
votes
6 answers

How to find the non-SEF URL whilst SEF is enabled (Joomla 1.5)?

I know you probably don't get many questions like this... I am working on a component that I want to be able to deal with the non-SEF URLs whilst SEF is enabled, whether it be the built-in SEF or something like sh404sef. Does Joomla store the…
privateace
  • 1,367
  • 6
  • 16
  • 24
2
votes
3 answers

URLs for Joomla Component

I have created a simple basic component in joomla named, careerform so I want to know that what will be its url? Will it be : index.php/?option=com_careerform or in sef it will be something like: index.php/components/careerform or it will be…
Hafiz
  • 4,187
  • 12
  • 58
  • 111
2
votes
2 answers

Make Joomla component compatible with SEF/SEO

Hi I have developed a custom component for Joomla 1.5. However the urls when SEF is turned on could look a bit better e.g. display the title rather than the id, how can I make custom urls for my component when SEF for Joomla is turned on?
Martin
  • 10,294
  • 11
  • 63
  • 83
2
votes
1 answer

Joomla JRoute requiring Itemid, but providing it always is not friendly

I can see all over the internet people are talking over this. While using JRoute::_($URL) we are forced to calculate the Itemid first and then append it to the input URL…
Izhar Aazmi
  • 915
  • 12
  • 25
2
votes
1 answer

Is there a better way to build this joomla url?

So far I'm re-inventing the wheel here in the most uncomfortable way. I can feel in my gut that this will break one day and cause me a lot of pain. Therefore I'm looking for a better way to take an article alias and build either the menu item url…
Brett Pontarelli
  • 1,718
  • 15
  • 29
1
vote
1 answer

Do I need a menu item with alias for all sef urls in Joomla?

I'm new to Joomla so my comprehension of how it all works is a bit incomplete. I'd just like to know whether or not I need to add new menu items with an alias for all short urls used in the application (e.g. http://mysite/shorturl). What bothers me…
kjetilh
  • 4,821
  • 2
  • 18
  • 24
1
vote
1 answer

Using component's routes from 'router.php' in custom Plugin in Joomla

Question: How do I enable the Routes from my component's router.php in a plugin? I'm working on a custom Plugin which redirects the route from default user profile: index.php?option=com_users&view=profile (SEF: /component/users/profile) to my own…
WooDzu
  • 4,771
  • 6
  • 31
  • 61
1
vote
1 answer

Hiding the article ID in a Joomla menu

I have a series of sequentially-numbered items in several named categories, which appear as numbered lists on this page. However, the added article ID in the URL is confusing the client. I know that Joomla now adds the article ID to URLs, and that…
Dave Everitt
  • 17,193
  • 6
  • 67
  • 97
1
2 3 4 5 6 7