• Resolved Gal Baras

    (@galbaras)


    For some reason, Google Search Console “knows” about customizer preview URLs and lists them as (many) errors that I’d like to clean.

    So I’ve configured the following redirection:

    Source URL: ^(.+)[?&]customize_changeset_uuid.+$ [Regex]
    Match: URL and login status
    When matched: Redirect to URL
    Logged Out: $1

    I’ve even tested this and there’s no issue with the regular expression, but the redirection isn’t even registering any hits.

    The page I need help with: [log in to see the link]

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

    (@johnny5)

    I’d be more concerned as to why Google has these URLs. It would indicate that either your site is showing them for logged out users, or it’s somehow indexed a logged in user.

    The URL you gave returns a 500 error. It is likely that this error is returned before Redirection has chance to do anything.

    Thread Starter Gal Baras

    (@galbaras)

    Good point.

    I ended up resolving this with some rewrite rules in .htaccess, but I’ve found disabled rules to redirect customizer IDs to the home page in the Redirection list. Any idea how these are added?

    Plugin Author John Godley

    (@johnny5)

    I can’t say why something is in the list. The rules for any automatic redirects are listed on your options page. Anything else outside of that is added manually.

    Thread Starter Gal Baras

    (@galbaras)

    I can assure you these redirections weren’t created by any of the site users manually. They’d have no idea how to do that (that’s my job, actually).

    URL monitoring is acting for all by “report variants” and logging is disabled for “external” redirects. I don’t see these redirection failures in either the “log” or “404” tabs (which makes sense in the case of a server error).

    Now that these redirections are handled in .htaccess, they shouldn’t be logged or redirected anymore (and I can confirm they aren’t). I’m just reporting this as a strange thing that may make more sense to you.

    Happy to close for now. Thank you!

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

The topic ‘Redirecting customizer links’ is closed to new replies.