Make short URL without changing breadcrumbs?

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
glazebro
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Fri Sep 21, 2012 3:18 pm

Make short URL without changing breadcrumbs?

Post by glazebro » Wed Aug 21, 2013 3:17 pm

Hi all,

I am working on a website for my company in joomla. I don't have a live url for you so sorry about that. What I need though is this. I have mod_rewrite on and SEF urls on and working well. My urls display like this:

http://www.example.com/the-­news/1­-lat ... to­-joomla

my breadcrumbs reflect the URL Home>the news>1 latest news>1 welcome to joomla

I am trying to get the url to show as such:
http://www.example.com/1-­welcome-­to­-joomla

but then keep the same breadcrumb structure as before
Home>the news>1 latest news>1 welcome to joomla

Can anyone point me in the right direction here?

Thanks in advance!

User avatar
pishro
Joomla! Explorer
Joomla! Explorer
Posts: 285
Joined: Tue Oct 09, 2012 7:22 am

Re: Make short URL without changing breadcrumbs?

Post by pishro » Wed Aug 21, 2013 4:21 pm


glazebro
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Fri Sep 21, 2012 3:18 pm

Re: Make short URL without changing breadcrumbs?

Post by glazebro » Wed Aug 21, 2013 4:39 pm

Thanks for the reply, but I have already done everything in that article. I could be wrong but I don't think it says anything in there about removing the "route" to a page? That is what I need to remove the route but have the breadcrumbs keep the route.

example.
If the url is currently www.example.com/test/test1/test2
I want the url to that page to only say www.example.com/test2

I would still want the breadcrumbs to say home>test>test1>test2 though. Does that help explain what I am trying to do?

Thanks again.

glazebro
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Fri Sep 21, 2012 3:18 pm

Re: Make short URL without changing breadcrumbs?

Post by glazebro » Wed Aug 21, 2013 5:45 pm

I believe it is a setting in the .htaccess file with mod-rewrite but I just do not know how to write the code. Can anyone confirm / help me write the code?

User avatar
pishro
Joomla! Explorer
Joomla! Explorer
Posts: 285
Joined: Tue Oct 09, 2012 7:22 am

Re: Make short URL without changing breadcrumbs?

Post by pishro » Wed Aug 21, 2013 6:13 pm

glazebro wrote:I believe it is a setting in the .htaccess file with mod-rewrite but I just do not know how to write the code. Can anyone confirm / help me write the code?
hi glazebro ;)
Maybe this can help you!
1- in cpanel enter to file manager .
file-manager.gif
2 - Show Hidden Files check box on the next page.
Show Hidden Files.gif
3 - Click on the .htaccess file and then edit the options file edit and add the following code inside it.
RewriteEngine on

Code: Select all

RewriteEngine on
.htaccess.gif
You do not have the required permissions to view the files attached to this post.

glazebro
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Fri Sep 21, 2012 3:18 pm

Re: Make short URL without changing breadcrumbs?

Post by glazebro » Wed Aug 21, 2013 6:22 pm

Thanks for the reply. I don't think I have made myself clear maybe. I have already turned on rewrite engine and sef urls. I have activated the .htaccess file already and my url do not have index.php on them which is great. I am trying to shorten the urls that I have. I will use an actual example this time from my site. What it currently shows is this:

http://10.20.0.22/coaccess/plans-servic ... -for-shots

I would like it to show this:

http://10.20.0.22/access-food-for-shots

I don't want to edit the actual path as I have breadcrumbs that I want to still hold the path. I just want the URL shortened. I believe this can be done through rewrites in the .htaccess file, but they are not currently written in.

Sorry if I am just completely missing your point, but I don't think you are giving me something I haven't already done.

Thanks!

User avatar
pishro
Joomla! Explorer
Joomla! Explorer
Posts: 285
Joined: Tue Oct 09, 2012 7:22 am

Re: Make short URL without changing breadcrumbs?

Post by pishro » Wed Aug 21, 2013 6:30 pm

@glazebro
Unfortunately in this case I can not help you :(
Because I've asked the same question at the Forum Joomla!
In this post: http://forum.joomla.org/viewtopic.php?f=712&t=814577
If you find a solution please let share. Thank you.


Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”