× Here you can get community support related to ReDJ.

Multiple URL’s created by ID numbers (Joomla 3)

More
10 years 3 months ago #2048 by Berry
Hi,

How do I prevent articles from being accessed from multiple menus?
Example:

www.mysite.com/red-socks/9-size-large (ID number being 9)
Being accessed from:
www.mysite.com/black-socks/9-size-large
www.mysite.com/white-socks/9-size-large

Is it possible to isolate the ID number 9 and redirect it to the original URL only?

Have tried a simple redirect such as:
From URL: /9
To URL: www.mysite.com/red-socks/9-size-large
But creates a loop.

Regards, Dave

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

More
10 years 3 months ago #2051 by admin
Hi Dave,
I think a good solutions is to use the canonical link instead of the redirect. In this case you could use Tag Meta and build a single rule with dynamic canonical (using macros).

If you want to continue with redirections, fix the rule as follow:
From URL: /9-size-large
To URL: http://{siteurl}/red-socks/9-size-large
Skip condition: /red-socks/9-size-large

That's all.

Kind regards,
Luigi
The following user(s) said Thank You: Berry

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

More
10 years 3 months ago #2056 by Berry
Hi Luigi,

Is the Skip condition available only on the Enterprise for Joomla 3.0, can not see it on Community for Joomla 3.0

Regards
Dave

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

More
10 years 3 months ago #2059 by admin
Skip condition was added to 1.7.4 in both community and enterprise version.

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

More
10 years 3 months ago #2065 by Berry
Hi Luigi,

I have updated to 1.7.4

Tried:

From URL: /14-size-large
To URL: http://{siteurl}/red-socks/14-size-large
Skip condition: /red-socks/14-size-large

Works ok, but also Re-directs article number 147 to http://{siteurl}/red-socks/14-size-large

Any help would be great.

Regards, Dave

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

More
10 years 3 months ago #2066 by Berry
Sorry , forget the above...
Tried:

From URL: /14
To URL: mysite.com/red-socks/14-size-large
Skip condition: /red-socks/14-size-large

Works ok, but also Re-directs article number 147 to mysite.com/red-socks/14-size-large
And any ID number with 14 in it.

Your suggestion worked ok but the article was still accesses from:

http://my site.com/white-socks/14
Without the -size-large

Regards, Dave

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

Time to create page: 0.104 seconds