?
avatar ManuxGR
ManuxGR
18 Nov 2014

I am trying to add manually redirects with default joomla redirect plugin but they are not working.

Expired urls which are traced from the plugin working properly.

Can someone please confirm? Thanks

Joomla 3.3.6

avatar ManuxGR ManuxGR - open - 18 Nov 2014
avatar jissues-bot jissues-bot - change - 18 Nov 2014
Labels Added: ?
avatar ghost
ghost - comment - 18 Nov 2014

Plugin and com_redirect only redirect after a 404 error has been occured. It's not meant to redirect "good URLs".

avatar ManuxGR
ManuxGR - comment - 18 Nov 2014

Thanks. Then whats the point to add "NEW" option?

avatar infograf768
infograf768 - comment - 19 Nov 2014

Good question. I have the feeling that at one time we could redirect any link there.

avatar ManuxGR
ManuxGR - comment - 19 Nov 2014

Yes, also can increase performance, by not using extensions for custom redirects, when fixed.

avatar Fedik
Fedik - comment - 19 Nov 2014

"NEW" it for manually add the link that leads to 404 error , without waiting when the plugin "System - redirect" add a record to the database when the error 404 happens ....

I suppose that your link do not leads to 404 error,
Anyway your description do not contain enough information to reproduce the bug

avatar ManuxGR
ManuxGR - comment - 19 Nov 2014

Redirections are a simple thing nowadays, you don't need a 404 error to create one.
Even if you change an article alias you have to create a 301 redirect to avoid duplicated content from spiders which means lower ranking.
I never said it was a bug.

avatar ghost
ghost - comment - 19 Nov 2014

1) It's a very very old legend that e.g. a changed alias is interpreted as DC by search engines or that this results in a penalty. Several times negated by Google.
2) I don't think that it would be a good idea to use com_redirect for none-404-redirects via plugin events at any page load because of performance reasons. Use rewrite rules inside your .htaccess that are performed before Joomla "starts working".

avatar ManuxGR
ManuxGR - comment - 19 Nov 2014

Google suggest 301 for duplicated content.
https://support.google.com/webmasters/answer/66359?hl=en
Duplicated content can affect page rank if the number is too big. This is seo, a lot of different details.

My opinion is to use htaccess for path redirects or when redesign the url structure. For single URL redirects i would suggest the system - redirect. With the logic you follow then 404 redirects would also be moved to htaccess.

Manos :)

avatar Fedik
Fedik - comment - 20 Nov 2014

If URL leads to the existing content, then CMS must render it,
and if not exist then CMS show "not found" error.

As I understand com_redirect was designed to help, when the content was moved and available in another URL.
Just use htaccess for normal links, if you really need it, as @illovo suggested :wink:
or put your content offline or remove, for force the 404 error, for make com_redirect work :smile:

avatar ManuxGR
ManuxGR - comment - 20 Nov 2014

Joomla will render content even if the alias was changed. So no 404 error will occur to make a redirect from com_redirect. so duplicated content. so you can not do anything. so you have to install an extension or use htaccess.

I know what to do to solve the problem, i just asked for confirmation.

I insist, non-404 single url redirects should work from com_redirect. It's a very basic function.

avatar zero-24
zero-24 - comment - 20 Nov 2014

@ManuxGR

I insist, non-404 single url redirects should work from com_redirect. It's a very basic function.

Why you want to redirect a existing URL?

Joomla will render content even if the alias was changed.

hmm i can't reprdouce this:

What i do
avatar zero-24 zero-24 - change - 20 Nov 2014
Category Plugins SEF
avatar ManuxGR
ManuxGR - comment - 20 Nov 2014

Hmmm, probably it happens only with articles.
Check this article.

Canonical link:
http://magazine.joomla.org/issues/issue-nov-2014/item/2383-wheels-up-jwc14

Lets say we change the alias of the article with id 2383 to this:
http://magazine.joomla.org/issues/issue-nov-2014/item/2383-wheels-test-url

Both links are going to work properly pointing to same content.

avatar zero-24
zero-24 - comment - 20 Nov 2014

@ManuxGR this is a well know issue.

avatar ManuxGR
ManuxGR - comment - 20 Nov 2014

@zero-24 Thanks for let me know.

avatar ManuxGR ManuxGR - close - 20 Nov 2014
avatar ManuxGR ManuxGR - close - 20 Nov 2014
avatar ManuxGR ManuxGR - change - 20 Nov 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-11-20 09:58:48
avatar ghost
ghost - comment - 20 Nov 2014

Sorry, posted too late. Closed already.

@ManuxGR
You should read and understand exactly the informations that you linked to about malicious and non-malicious dc. You'll find several additional statements on youtube from Google explainig that there is no penalty.

"non-404 single url redirects should work from com_redirect. It's a very basic function.". It's the badest solution concerning performance. You need a DB request for any single page load. Your link at google shows several better and practicable solutions. Therefore I insist ( ;-) ) that a general redirect functionality should not be established in Joomla core/redirect plugin.

On the other hand com_redirect doesn't block saving non-404 URLs. Thus you just need another sytem plugin redirecting the way you want.

@zero-24
I think he's talking about URLs/aliases like /58-my-old-alias versus /58-my-new-alias. Both will show the same page.

avatar zero-24
zero-24 - comment - 20 Nov 2014

@illovo

I think he's talking about URLs/aliases like /58-my-old-alias versus /58-my-new-alias. Both will show the same page.

Yes and this is the well known issue i mean :+1: IIRC this will be fixed with the router changes.

avatar ManuxGR
ManuxGR - comment - 20 Nov 2014

Do we know at which version will be fixed?

avatar zero-24
zero-24 - comment - 20 Nov 2014

but IIRC the final PR that fix this problem is not out atm.

avatar vizo
vizo - comment - 14 Feb 2015

I have the same problem ... same article have 2 urls ... anything new about this?

Add a Comment

Login with GitHub to post a comment