- Posts: 55
COMMUNITY FORUM
Home goes to minor K2 Category
- Roger Edrinn
-
Topic Author
- Offline
- Senior Member
When I hover over my site logo, I see mydomain.com, however when I hover over Home, I see mydomain.com/index.php. If I click on my site logo it sends me to the home page, however if I click on "Home" I get a minor K2 Category page, not even the K2 Category Home page.
How/what is causing this to happen?
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
it might not be the actual default menu item
Please Log in or Create an account to join the conversation.
- Roger Edrinn
-
Topic Author
- Offline
- Senior Member
- Posts: 55
More info:
Under the options tab I can select the individual category. It is set to Home.
How do you suppose that the index.php shows up when I hover?
Thanks for the reply.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Roger Edrinn
-
Topic Author
- Offline
- Senior Member
- Posts: 55
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
For some reason all of your menu items go to /index.php
This is either a caching misconfiguration (the menu module should not be cached) or a 3rd party extension acting weird. In both cases this issue is unrelated to K2.
If disabling the cache (both the site's and the module's) does not fix this, then try disabling third party extensions one by one to see which one is causing this.
Please Log in or Create an account to join the conversation.
- Roger Edrinn
-
Topic Author
- Offline
- Senior Member
- Posts: 55
Krikor wrote: jmp.sh/Yk00MCM
For some reason all of your menu items go to /index.php
Yes but all but Home are Menu Item - Alias, which means they have no page.
This is either a caching misconfiguration (the menu module should not be cached) or a 3rd party extension acting weird. In both cases this issue is unrelated to K2.
If disabling the cache (both the site's and the module's) does not fix this, then try disabling third party extensions one by one to see which one is causing this.
This was a dead end except you were correct it is not a K2 problem.
THE ANSWER
The problem was SEO related, in Global Setting there are four SEO settings:
Search Engine Friendly URLs
Use URL Rewriting
Adds Suffix to URL
Unicode Aliases
All were set to No except the first, the second needed to also be set to Yes because it appended /index.php to the URL.
Setting Use URL Rewriting = Yes fixed the Home issue but broke all the Main menu links, that was fixed by copying the file htaccess.txt to .htaccess in public.html. Not a clue why or how.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
htaccess is needed for rewriting when you are using an Apache server.
Otherwise all your links will break.
Please Log in or Create an account to join the conversation.