- Posts: 955
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
- Simon Wells
-
Topic Author
- Offline
- Platinum Member
Less
More
15 years 1 week ago #82246
by Simon Wells
K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item was created by Simon Wells
This is not a bug!!OK, for once I am stuck and hope someone can help with a couple of issues.
I turn on Search Engine Friendly URLs from Configuration, then my menu links are formed with ?layout=item at the end of the url this then produces 500 - Layout "item" not found error.
How do i prevent component/k2/item being displayed immediatley after the domain and before the file link?
Can anyone offer advice?SimonK2Joom
I turn on Search Engine Friendly URLs from Configuration, then my menu links are formed with ?layout=item at the end of the url this then produces 500 - Layout "item" not found error.
How do i prevent component/k2/item being displayed immediatley after the domain and before the file link?
Can anyone offer advice?SimonK2Joom
Please Log in or Create an account to join the conversation.
- Mark Matheson
-
- Offline
- New Member
15 years 1 week ago #82247
by Mark Matheson
Replied by Mark Matheson on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Simon
Do you have the SEO Patch from Joomlatwork (www.joomlatwork.com/products/free-downloads/seo-patch-joomla-15.html) installed?
I had a similar problem on one of my sites with menu items having "layout=item" appearing, and I think removing that patch fixed it for me.
Mark
The Little Acorn
Do you have the SEO Patch from Joomlatwork (www.joomlatwork.com/products/free-downloads/seo-patch-joomla-15.html) installed?
I had a similar problem on one of my sites with menu items having "layout=item" appearing, and I think removing that patch fixed it for me.
Mark
The Little Acorn
Please Log in or Create an account to join the conversation.
- Simon Wells
-
Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 955
15 years 1 week ago #82248
by Simon Wells
Replied by Simon Wells on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Hi Mark,
Unfortunately, no, that plugin is not installed.
Unfortunately, no, that plugin is not installed.
Please Log in or Create an account to join the conversation.
- Mark Matheson
-
- Offline
- New Member
15 years 1 week ago #82249
by Mark Matheson
Replied by Mark Matheson on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Simon
I have found when this issue occurs for me, and it involves two very specific settings: -
1. I use a K2 Item as my Front Page item, linked to my Default menu item
2. I use redirects in the login module, in my case YooLogin, that redirects the login.logout functions to my Default menu item
When a user logs in or logs out, the URL ends up with "layout=item" at the end of it. If I remove the redirects, or use a normal Joomla article as my Front Page item, the problems does not arise.
Sounds like my issue is a little different to yours, but thought it might help you diagnose your issue further.
Mark
The Little Acorn
K2Joom said:Hi Mark, Unfortunately, no, that plugin is not installed.
I have found when this issue occurs for me, and it involves two very specific settings: -
1. I use a K2 Item as my Front Page item, linked to my Default menu item
2. I use redirects in the login module, in my case YooLogin, that redirects the login.logout functions to my Default menu item
When a user logs in or logs out, the URL ends up with "layout=item" at the end of it. If I remove the redirects, or use a normal Joomla article as my Front Page item, the problems does not arise.
Sounds like my issue is a little different to yours, but thought it might help you diagnose your issue further.
Mark
The Little Acorn
K2Joom said:Hi Mark, Unfortunately, no, that plugin is not installed.
Please Log in or Create an account to join the conversation.
- Simon Wells
-
Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 955
15 years 6 days ago #82250
by Simon Wells
Replied by Simon Wells on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Just wondered if there was anyone with J! SEF and/or mod_rewrite /.htaccess skills that could help me on this.
Simon
K2 Support
Simon
K2 Support
Please Log in or Create an account to join the conversation.
- robbie
-
- Offline
- New Member
Less
More
- Posts: 2
14 years 11 months ago #82251
by robbie
Replied by robbie on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Hi Simon,
Did you manage to find a solution for this problem?
Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
Did you manage to find a solution for this problem?
Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
Please Log in or Create an account to join the conversation.
- Simon Wells
-
Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 955
14 years 11 months ago #82252
by Simon Wells
Replied by Simon Wells on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Yes, its will be something addressed in 2.3, but i have been able to overcome it with a modified .htaccess file.
This has worked for me with my host, but with a client on a different host, running the same template and same K2 version, it does not work.
Add me as a friend and send me you email and I will send it to you to test.
Simon
K2 Support
Robert Harrison said:Hi Simon, Did you manage to find a solution for this problem?
Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
This has worked for me with my host, but with a client on a different host, running the same template and same K2 version, it does not work.
Add me as a friend and send me you email and I will send it to you to test.
Simon
K2 Support
Robert Harrison said:Hi Simon, Did you manage to find a solution for this problem?
Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
Please Log in or Create an account to join the conversation.
- Chris Yates
-
- Offline
- Senior Member
Less
More
- Posts: 62
14 years 11 months ago #82253
by Chris Yates
Replied by Chris Yates on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Simon,
I've found that that aceSEF Pro together with the K2 plugin is a fabulous solution to SEF issues and delivers faultless SEF url's without fail.
The pro version also auto generates meta description and keywords for each item and category and auto pings Google, Yahoo and Bing plus other services at configurable time intervals from immediately to yearly dependent on update frequency of specific items or categories.
The latter is important if you want the main search engines to take more notice of your site.
Hope that gives you food for thought.
Be Well,
CHRIS
K2Joom said:Yes, its will be something addressed in 2.3, but i have been able to overcome it with a modified .htaccess file.
This has worked for me with my host, but with a client on a different host, running the same template and same K2 version, it does not work.
Add me as a friend and send me you email and I will send it to you to test.
Simon
K2 Support
Robert Harrison said:Hi Simon, Did you manage to find a solution for this problem? Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
I've found that that aceSEF Pro together with the K2 plugin is a fabulous solution to SEF issues and delivers faultless SEF url's without fail.
The pro version also auto generates meta description and keywords for each item and category and auto pings Google, Yahoo and Bing plus other services at configurable time intervals from immediately to yearly dependent on update frequency of specific items or categories.
The latter is important if you want the main search engines to take more notice of your site.
Hope that gives you food for thought.
Be Well,
CHRIS
K2Joom said:Yes, its will be something addressed in 2.3, but i have been able to overcome it with a modified .htaccess file.
This has worked for me with my host, but with a client on a different host, running the same template and same K2 version, it does not work.
Add me as a friend and send me you email and I will send it to you to test.
Simon
K2 Support
Robert Harrison said:Hi Simon, Did you manage to find a solution for this problem? Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
Please Log in or Create an account to join the conversation.
- Francis Darren
-
- Offline
- Senior Member
Less
More
- Posts: 55
14 years 11 months ago #82254
by Francis Darren
Replied by Francis Darren on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
I'm having the same issue "component/k2/item". How do we prevent this? Did you find a solution?
Please Log in or Create an account to join the conversation.
- Marty Peet
-
- Offline
- Premium Member
Less
More
- Posts: 84
14 years 8 months ago #82255
by Marty Peet
Replied by Marty Peet on topic K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item
Hi Chris, I decided to try out AceSEF after reading Chris's post, guess what? I get the same problem, ?layout=blah, blah, blah
Chris Yates said:Simon,
I've found that that aceSEF Pro together with the K2 plugin is a fabulous solution to SEF issues and delivers faultless SEF url's without fail.
The pro version also auto generates meta description and keywords for each item and category and auto pings Google, Yahoo and Bing plus other services at configurable time intervals from immediately to yearly dependent on update frequency of specific items or categories.
The latter is important if you want the main search engines to take more notice of your site.
Hope that gives you food for thought.
Be Well,
CHRIS
K2Joom said:Yes, its will be something addressed in 2.3, but i have been able to overcome it with a modified .htaccess file. This has worked for me with my host, but with a client on a different host, running the same template and same K2 version, it does not work.
Add me as a friend and send me you email and I will send it to you to test.
Simon
K2 Support
Robert Harrison said:Hi Simon, Did you manage to find a solution for this problem? Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
Chris Yates said:Simon,
I've found that that aceSEF Pro together with the K2 plugin is a fabulous solution to SEF issues and delivers faultless SEF url's without fail.
The pro version also auto generates meta description and keywords for each item and category and auto pings Google, Yahoo and Bing plus other services at configurable time intervals from immediately to yearly dependent on update frequency of specific items or categories.
The latter is important if you want the main search engines to take more notice of your site.
Hope that gives you food for thought.
Be Well,
CHRIS
K2Joom said:Yes, its will be something addressed in 2.3, but i have been able to overcome it with a modified .htaccess file. This has worked for me with my host, but with a client on a different host, running the same template and same K2 version, it does not work.
Add me as a friend and send me you email and I will send it to you to test.
Simon
K2 Support
Robert Harrison said:Hi Simon, Did you manage to find a solution for this problem? Im getting the same problem. The url has "?layout=item" or "?layout=category" added at the end.
Cheers
Rob
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- K2 + J! SEF + mod_rewrite - Helps with Menu Links append ?layout=item