Using SH404sef with flexicontent

More
12 years 9 months ago #35504 by thatch10
Evening,

Trying to set up on Joomla 2.5 website flexicontent version 2.0.1 (r1659) with sh404sef 3.7.0.1485.

I have been trying to use the menu alias as the url to no success. Can anyone shed any light on how it is proposed to set up sh404sef to display urls without categories in the url in flexicontent. I can set the articles ok, however cant see on to use the menu alias rather that the category to generate the url.

I have also run into problems with the url generated by selecting the categories option. Seems to generate a url in the format.
Code:
?cids=1931,1938,1944,1951,1957,1963,1974,1979,1986&layout=mcats

These are obviously the Id's of the categories but just displays the homepage. I suspect that their is setting/s wrong somewhere but I cant seem to find it at the moment.

Thanks

Thatch

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #35507 by Rooney
Hi,
just for my understanding. What are the exact reasons why you want to use a SEF component?
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #35529 by thatch10
Its an established site where sh404sef was previously used with lots of SEO custom titles and descriptions. This is without the duplicate errors which Joomla can introduce.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #35536 by ggppdk
Multi-category view
is a new feature of flexicontent, so the plugin must be updated

try this in file
components/com_flexicontent/sef_ext/com_flexicontent.php

find second occurence of (exists 2 times inside file):
Code:
if (!empty($cid)) shRemoveFromGETVarsList ( 'cid' );
and after the above add:
Code:
if (!empty($cids)) shRemoveFromGETVarsList ( 'cids' ); if (!empty($layout)) shRemoveFromGETVarsList ( 'layout' );

Post back here with results and i will update the plguin for future flexicontent versions


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #35562 by thatch10
George, thanks for the quick response.

I have added the lines that you suggested to

components/com_flexicontent/sef_ext/com_flexicontent.php

(around line 282) and I now get the url

?layout=mcats

would think from the code (I'm no coder) that this removes the variables from the url which it seems to do, however no writing to the sef url.

Thatch

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #35564 by ggppdk
Hello,
you are right,

about URL rewritting i think the appropriate thing to do is

1. use the menu item alias, if current menu item matches and
2. if it does not matches (e.g. it is a link was written via a WYSIWYG editor OR custom code) then leave the variables 'cids' and 'layout' in the URL (not removing them)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago #36261 by ggppdk
Hello,
will revise SH404SEF plugin next days,.
and among work done will be to remove not-needed variables (variable that already exist in the menu items!)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #41111 by magj
Hi

Sorry for bumping this old thread, But I have the same problem, in Flexicontent version 2.1.0 r1781

Is there any updated sh404sef plugin?

Thanks in advance

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #41122 by ggppdk
Hello

indeed when these variable are present in current menu item, then they can be removed,

since the menu item already contains them

i will find time to update (and test changes) to the SH404SEF plugin

Here is an enhancement issue with high priority regarding the above task:
code.google.com/p/flexicontent/i ... ail?id=592


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #62146 by kspoddar
Hi - Any luck with the plugin?

Cheers!
Kirti

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save