Joomla menu links with SEF

Discussion in 'Joomla' started by lyth0s, Apr 7, 2011.

  1. #1
    Ok so I have SEF url's enabled on my joomla website. So for example I have a page that discusses SSD vs HDD's so I created a link on my main menu called SSD vs HDD with the alias of SSD-vs-HDD so my SEF url is /SSD-vs-HDD/ . Now I want to change my main menu to have a hardware section and then add SSD vs HDD as a sublink to the hardware section. So basically I have to create a Hardware link, and then add SSD vs HDD as a sublink to Hardware. Now my problem is that when I do this the new SEF url is /hardware/ssd-vs-hdd/ . I want to keep the page link to be /ssd-vs-hdd/, but I can't seem to do that if i add the ssd vs hdd link as a sublink to "hardware".

    That may sound confusing......let me know if I can make it more clear.
     
    lyth0s, Apr 7, 2011 IP
  2. meghraj27

    meghraj27 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    u can't do it this way.
    choose "external url" type menu item and give the full path as link http:// www(dot)yoursite(dot)com/ssd-vs-hdd {I can't post link here that's why I put (dot) in place of "."}
    Now it will display the same page of SSD vs HDD. Here joomla will automatically provide the alias derived from title, but alias doesn't matter because the provided link will apear on site.

    And remember, you can't have two different pages with same url...
    You can ask again If you didn't understand my answer....
     
    meghraj27, Apr 17, 2011 IP
  3. baliwebserver

    baliwebserver Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have same question regarding this..
     
    baliwebserver, Apr 26, 2011 IP
  4. QubeSys Technologies

    QubeSys Technologies Active Member

    Messages:
    204
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    Ok here is how to do this :

    1. Buy and install sh404sef.
    2. Switch off CATEGORY ALIAS from the configuration.
    3. Purge the URLs database.
    4. Refresh Cache.
    5. Done.
     
    QubeSys Technologies, Apr 26, 2011 IP
  5. lyth0s

    lyth0s Member

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    If anyone in the future has the same problem as me I found out how to do it, mainly based off of Meghraj27's response. To create a new menu link that is under another parent link and still keep the url the same....see example below:

    main menu:
    title1
    title2
    etc...then the links will be....
    mysite.com/title1
    mysite.com/title2

    To change the menu format to:
    main menu:
    tools
    --title1
    title2
    but keeping the same URL's...do the following...

    Step 1: Make an invisible menu that is only visible to administrators.
    Step 2: move your title1 link from the main menu to the invisbile menu
    Step 3: make the link "tools" on the main menu
    Step 4: make a child link to tools called title1 and make it point to an external link type, link it to http://mysite.com/title1
    Step 5: profit

    This works because the main link for the article is still present (without a parent link) in the inivisble menu, that only admins can see. So the child title1 link under tools, is technically not a child link and points to your old mysite.com/title1 link.
     
    lyth0s, Apr 29, 2011 IP
  6. ProtoPC

    ProtoPC Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I used to use 3rd party SEF extensions...but switched back to the built in SEF and changing the alias manually with extra keywords. Makes life easier when updating extensions and Joomla core.
     
    ProtoPC, May 7, 2011 IP