Viewing 10 replies - 1 through 10 (of 10 total)
  • It should be able to redirect a any URL as long as

    1. It does not exist on the server
    2. You have some form of permalink structure set up.
    3. The URL is on the same level as the domain/site where the plugin is installed (i.e., https://yoursite.com/ has the plugin so https://subdomain.yoursite.com/ URLs will not work, only https://yoursite.com/).

    Also, if you just removed the files, you may need to clear any cache files if they were cached prior.

    Regards,
    Don

    Thread Starter gyzhor

    (@gyzhor)

    No such luck.

    The content of the old links are not on the same server as the site/plugin.
    I’m not using subdomains.
    I’m not entirely sure what you mean by having a permalink structure set up. The locations of the redirected links are permanent locations, except when they’re WordPress dynamic urls.
    I am using relative urls, but I thought that was what the plugin prefers.

    Here are some examples of what I’m redirecting:

    /index.php?page_id=20 goes to: /index.php
    /my-directory/ goes to: /index.php/category/new-directory/
    /images/pdf/my_document.pdf goes to: /wp-content/uploads/new-document.pdf

    What am I doing wrong?
    Thanks again for the help!

    Can you tell me the domain name so I can check the URL headers on the redirects and see if there is anything odd going on?

    Regards,
    Don

    Thread Starter gyzhor

    (@gyzhor)

    I’m developing the site on a secure server, but once it gets pushed live it ends up here:
    https://www.freezerworks.com

    Thanks for the assist!

    I am not sure why they are not redirecting. It looks like either something is overriding the plugin or maybe there is something else in play.

    Can you tell me how the redirects are set up? Quick or individual? And what is your permalink structure set to (on settings/permalinks)?

    Thread Starter gyzhor

    (@gyzhor)

    I’ve entered them as Quick Redirects and left the “Make ALL redirects this type” field as “use individual settings.”

    Permalinks structure is set to custom, as: /index.php/%year%/%monthnum%/%day%/%postname%/

    do you have any cache plugins installed? If so, try purging them and see if that makes a difference.

    Thread Starter gyzhor

    (@gyzhor)

    Hm. I did have one that I’d deactivated. Let me delete it and see.

    Thread Starter gyzhor

    (@gyzhor)

    Yeah, no change.
    I even deactivated all other plugins and changed to the Twenty Sixteen theme, and I’m still getting 404 messages.

    Thread Starter gyzhor

    (@gyzhor)

    Found the problem!
    Turns out migrating our site to another server butchered our .htaccess file.
    All fixed! Thanks for the help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Not redirecting non-html’ is closed to new replies.