"Duplicate content" URLs in News Show Pro GK5

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Jul 31, 2014 11:49 am
Hi all,

Here's the issue. I have a blog on my site, and here's an example URL coming from the main menu:
/blog/item/71-example-blog-post
On the homepage i have a News Show Pro GK5 module, which pulls all articles from the blog category, and here's the same article, but with a different URL:
/component/k2/item/71-example-blog-post
Basically, we end up having 2 different URLs for the same article, which is not cool at all.

I remember "fixing" this myself, in the GK4 version of the component, but i decided that you should also know about this and that it should be fixed "properly" :)
In the meantime, could you please let me know what's the best method to fix this?
Module override, .htaccess?

Thanks in advance
User avatar
Fresh Boarder

teitbite
Fri Aug 01, 2014 12:02 am
Hi

NSP is using JRoute which is a joomla function to create links. Please show me Your site I need to check You menu structure.
User avatar
Moderator

GK User
Wed Aug 06, 2014 11:04 am
Hi, you can see it in my screenshot. Very simple one...
menu-structure.jpg

The K2 module: Showing the latest items from one category (K2 category blog).
The resulting URLs: /blog/item/71-example-blog-post - the regular k2 links
On the other side, the NSP generates: /component/k2/item/71-example-blog-post.

I know if i create a submenu for each blog post, the resulting URLs might be the same all over the place, and will have no ID in the URL(/blog/example-blog-post), but i cannot do this for, let's say, a thousand blog posts...
There has to be a better solution

teitbite wrote:Hi

NSP is using JRoute which is a joomla function to create links. Please show me Your site I need to check You menu structure.
User avatar
Fresh Boarder

teitbite
Thu Aug 07, 2014 10:54 am
Hi

There is a better solution and also a requirements of creating a landing page. Please just change the "Blog" menu item type to Category Layout, this way such page will be used to show articles at.
User avatar
Moderator

GK User
Thu Aug 07, 2014 11:47 am
Nice!!! Nailed it right there, u the man :) Thanks a ton

teitbite wrote:Hi

There is a better solution and also a requirements of creating a landing page. Please just change the "Blog" menu item type to Category Layout, this way such page will be used to show articles at.
User avatar
Fresh Boarder


cron