• Resolved miladmoqaddam

    (@miladmoqaddam)


    hi
    I made some redirect templates And Its execution is conditional on 404 page.
    But only one of the redirects I defined works! The one whose priority is equal to 0.
    I tried many methods but it didn’t work.

    for exalple:

    {This works====>

    ^/advertising/ads/mobile-vet/(.*)
    «URL and WordPress page type»
    /advertising/ads-category/mobile-vet/
    }

    {But not this====>
    ^/advertising/ads/birds-handover/(.*)
    «URL and WordPress page type»
    /advertising/ads-category/birds-handover/
    }

    please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Godley

    (@johnny5)

    What do you mean by redirect template?

    Have you cleared your cache? Is it a 404? If everything is correct then it will redirect, otherwise it won’t and you’ll need to track down what is different on your site to affect it.

    Thread Starter miladmoqaddam

    (@miladmoqaddam)

    I set if a product was 404, Redirected to the relevant category.
    my site have 20 different categories and we made 20 redirects similar to what I posted before.
    But only one of the redirects working. The one whose priority is 0.
    Only the redirect works if we assign zero priority to it. And the rest of the redirects, which have a lower priority, do not work at all.

    Yes, we cleared the cache.
    We disabled plugins.
    We tried with different browsers.

    Thread Starter miladmoqaddam

    (@miladmoqaddam)

    It should be noted: if the priority of the redirect that we created is greater than 0, the address that is 404 will not be displayed at all in the 404 log section.

    Plugin Author John Godley

    (@johnny5)

    Priority will have no impact on this.

    Can you give an example real URL of something that isn’t working and a screenshot of the settings used for that URL?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘redirection plugin not working’ is closed to new replies.