0
Hi Germinal I have a question about URLs. I'm using Joomla SEF and also using RedirectMatch to get rid of "component/muscol".
This works fine as I get urls like:
Is this the right way to do it?
I'm asking this because I've been tuning my muscol website for performance and reading about internal rewrites, external rewrites, etc, and it is very confusing!
My doubt comes because on my website, if I hover over a link I see that the link is not SEF, meaning:
And if I click it I get redirected to this via RedirectMatch:
Is there a more efficient way to do it? A way to have the SEF and redirect link already on the page instead of just getting redirected. One problem with the current situation is that google is indexing both urls and warning about repeated content (as metas are the same). Also, if you check my source code, Joomla uses the prerewrite url to create the canonical (which google reads) and prints something like:
Thanks in advance for your advice.
RedirectMatch 301 /en/component/muscol(.*) http://www.anything.com/en$1
This works fine as I get urls like:
http://www.anything.com/en/C/1418-artist/373-album
Is this the right way to do it?
I'm asking this because I've been tuning my muscol website for performance and reading about internal rewrites, external rewrites, etc, and it is very confusing!
My doubt comes because on my website, if I hover over a link I see that the link is not SEF, meaning:
http://www.lobotoradio.com/en/component/muscol/D/179-artist/280-album
And if I click it I get redirected to this via RedirectMatch:
http://www.lobotoradio.com/en/D/179-artist/280-album
Is there a more efficient way to do it? A way to have the SEF and redirect link already on the page instead of just getting redirected. One problem with the current situation is that google is indexing both urls and warning about repeated content (as metas are the same). Also, if you check my source code, Joomla uses the prerewrite url to create the canonical (which google reads) and prints something like:
<link href="/en/initium/D/179-desorden-publico/280-desorden-publico" rel="canonical"/>
Thanks in advance for your advice.
Responses (5)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Sorry I didn't mention it before. The default itemid is in the component too. I've been digging around Muscol and fixing things here and there. Please don't take it wrong as I know how things go with websites, but some things just don't work out of the box. Perhaps because of enviromental variables or folder structure or who knows. The default itemid is one of them. In my case it didn't work in joomla 2.5 and it doesn't work in joomla 3, which is why I do the redirect through htacces. For example, if you go to my website and search songs (it can be an empty search, it doesn't matter), you'll see that the nice background images for play, playing and pause work. The blue background also works for the song currently playing. But in the album page it doesn't. That happened to me in joomla 2.5 too. In any case, Is there any other other place I have to put the default itemid besides the muscol's component and modules? Since I installed muscol I have suspected my menu structure.-
Germinal Campsmore than a month agogustavo, what you mention is strange. it should work on album page too. it's the same "code", sort to say. if you want, please send me site access to support@ joomlathat.com.. the Itemid seems good as well, it should be working.
-
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »