Category display not displaying correctly
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Sat Jan 10, 2015 11:35 am
- Reply with quote
- Report this post
Hi,
On the front page of my site http://rusticsourdoughbakery.com/ if you click on the locations tab, then click on locations it takes you here http://rusticsourdoughbakery.com/index. ... -locations and that doesn't display nicely. I want it to display the same way it does when you click on locations in the top menu http://rusticsourdoughbakery.com/index.php/locations
And if that can't be done then I just want to take out the locations category in the tab.
On the front page of my site http://rusticsourdoughbakery.com/ if you click on the locations tab, then click on locations it takes you here http://rusticsourdoughbakery.com/index. ... -locations and that doesn't display nicely. I want it to display the same way it does when you click on locations in the top menu http://rusticsourdoughbakery.com/index.php/locations
And if that can't be done then I just want to take out the locations category in the tab.
-
- Junior Boarder
- teitbite
- Sun Jan 11, 2015 10:49 pm
- Reply with quote
- Report this post
Hi
Looks like joomla does not recognise link in module as a category. Please check if "Locations" menu item is set as K2 Category and has only one category attached. If yes than try select all menu options and hit "Rebuild" button.
If the above will fail try add a redirection in redirection component from: index.php/component/k2/itemlist/category/28-locations to index.php/locations or add it to htaccess file.
Looks like joomla does not recognise link in module as a category. Please check if "Locations" menu item is set as K2 Category and has only one category attached. If yes than try select all menu options and hit "Rebuild" button.
If the above will fail try add a redirection in redirection component from: index.php/component/k2/itemlist/category/28-locations to index.php/locations or add it to htaccess file.
-
- Moderator
- GK User
- Sat Jan 17, 2015 8:21 am
- Reply with quote
- Report this post
I did this to my .htaccess but it must be wrong because it doesn't want to work.
- Code: Select all
# Use PHP5.4 as default
AddHandler application/x-httpd-php54 .php
RewriteCond %{HTTP_HOST} ^http://rusticsourdoughbakery.com/index.php/component/k2/itemlist/category/28-locations [NC]
RewriteRule ^(.*)$ http://rusticsourdoughbakery.com/index.php/locations [R=301,L]
-
- Junior Boarder
- teitbite
- Mon Jan 19, 2015 5:18 pm
- Reply with quote
- Report this post
Hi
A code in .htaccess should be much simplier. For example:
A code in .htaccess should be much simplier. For example:
- Code: Select all
redirect 301 http://rusticsourdoughbakery.com/index.php/component/k2/itemlist/category/28-locations http://rusticsourdoughbakery.com/index.php/locations
-
- Moderator
- GK User
- Mon Jan 19, 2015 5:42 pm
- Reply with quote
- Report this post
Thanks. I just tried that so it looks like this
But no changes?
- Code: Select all
# Use PHP5.4 as default
AddHandler application/x-httpd-php54 .php
redirect 301 http://rusticsourdoughbakery.com/index.php/component/k2/itemlist/category/28-locations http://rusticsourdoughbakery.com/index.php/locations
But no changes?
-
- Junior Boarder
- teitbite
- Wed Jan 21, 2015 6:16 pm
- Reply with quote
- Report this post
Hi
This can only mean that htaccess is not used. Please send me an access to ftp so I'll see what the problem is.
This can only mean that htaccess is not used. Please send me an access to ftp so I'll see what the problem is.
-
- Moderator
- teitbite
- Wed Jan 21, 2015 7:19 pm
- Reply with quote
- Report this post
Hi
Ok. It was a small mistake. The actual link You should redirect from should be without host name. Like:
this works.
Ok. It was a small mistake. The actual link You should redirect from should be without host name. Like:
- Code: Select all
redirect 301 /index.php/component/k2/itemlist/category/28-locations http://rusticsourdoughbakery.com/index.php/locations
this works.
-
- Moderator
- GK User
- Wed Jan 21, 2015 7:30 pm
- Reply with quote
- Report this post
ah wow thank you so much!
-
- Junior Boarder
- teitbite
- Fri Jan 23, 2015 8:07 pm
- Reply with quote
- Report this post
Hi
No problem. Glad I could help
No problem. Glad I could help
-
- Moderator
9 posts
• Page 1 of 1