• Resolved Rik0399

    (@rik0399)


    Hi,

    Thank you for this wonderful plugin.

    I need some help fixing a massive problem with regards “feeds” generating 404’s

    Example : https ://MYWEBSITE.com/thompson-morgan/?feed_id=19356&_unique_id=5fc2d593f1ac5

    As you know, feeds generate unique numbers each time, so no point blocking or deleting them but, they are being caught by the plugin – pages and pages!!!

    Should be : https ://MYWEBSITE.com/thompson-morgan/

    Another example : /firebox/SHARE%20THE%20LOVE

    Should be : /firebox/

    Is it possible to employ a wildcard that will either remove these or, amend to examples?

    Hope that made sense ??

    Many Thanks

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

    (@johnny5)

    I don’t know that feeds generate unique numbers, or what a feed is in this context – it doesn’t look like an RSS feed.

    You can use a regular expression to match things that change:

    https://redirection.me/support/redirect-regular-expressions/

    Plugin Author John Godley

    (@johnny5)

    I think it may be be wise to look into what is generating the URLs and updating that.

    Thread Starter Rik0399

    (@rik0399)

    Hi John,

    Thanks for that,

    Typically, these urls are coming from sites such as pinterest and irritating visitors trying to screw with the site.

    Creating a ton of 404s using unique urls each time.

    If I understand you correctly, I should do this :

    To stop this : https ://MYWEBSITE.com/thompson-morgan/?feed_id=19356&_unique_id=5fc2d593f1ac5

    Do this : https ://MYWEBSITE.com/thompson-morgan/.*

    So it goes to : https ://MYWEBSITE.com/thompson-morgan/

    Is that correct?

    Many Thanks

    Thread Starter Rik0399

    (@rik0399)

    Hi John,

    Tried this :

    ^/sweatband-sports-equipment/.*

    /sweatband-sports-equipment/

    Seem to be getting “redirected too many times” when going to the URL?

    I’m guessing that there can only be 1 instance of :

    /sweatband-sports-equipment/

    Would I be correct?

    Many Thanks

    Thread Starter Rik0399

    (@rik0399)

    Hi John,

    Come across another strange occurrence …

    Seeing a search for :

    https://www.MYSITE.com/wp-login.php?action=login&redirect_to=https://www.MYSITE.com/listing/snapfish/

    So I added it as follows :

    SOURCE : /wp-login.php?action=login&redirect_to=https://www.MYSITE.com/listing/snapfish/

    TARGET : /snapfish/

    But it goes to google?

    Any idea, please?

    Many Thanks

    Plugin Author John Godley

    (@johnny5)

    You do not need to ‘fix’ every 404, and in my opinion it’s not worth trying to solve the above.

    Redirection only does what you tell it to do so. If a URL is going to Google then either you have configured Redirection to do that, or something else is redirecting it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Wildcard’ is closed to new replies.