• Resolved Nathan Lake

    (@nathanlake2)


    I am using the following arguments to list the most recent network posts on my home page…

    [netsposts exclude_blog=”1″ thumbnail=”true” show_author=”true” include_link_title=”true” days=”365″ list=”20″ image_class=”alignleft” excerpt_length=”100″ use_layout=”inline”]

    This gives me three links. One to the post, one to the sub-site home, and one to an author page. The author link is throwing a 404 error for all 8 authors on the site.

    I don’t believe this has always been the case, and the site was recently hacked. I have mostly restored the site to the pre-hack condition, but this error remains.

    Any ideas?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    I just visited the site and it looks fine.

    Thread Starter Nathan Lake

    (@nathanlake2)

    On the home page (www.thetravelwriters.net), if you click on any of the author’s names, don’t you get a 404?

    Plugin Author johnzenausa

    (@johnzenausa)

    First thing to try is to go to each site and under permalinks hit update on each blog. This might and should correct the issue. If not try the ones below:

    I was redirect on a page not found on two authors. Author with ID 391 and Author with ID 1. This can happen when two different authors end up with the same ID number. This sometimes happens but very rare in a wordpress multisite set up. Check all your authors and see if there are any duplicate ids. If there are you will need to manually delete the user and recreate their profile so they get a unique id. You may also check the database in phpmyadmin and manually change their id there.

    The best solution is to delete the user re-assign the blog to you then create the user again and re-assign the blog back to them. This should correct all errors. If there isn’t any duplicates that is the only solution.

    • This reply was modified 7 years, 6 months ago by johnzenausa.
    Plugin Author johnzenausa

    (@johnzenausa)

    If the above doesn’t work there is one other solution is by using the redirection plugin by John Godley. For some reason due to plugins or whatever the redirection from non-pretty link to pretty link doesn’t always work with author pages. So when you install the plugin activate it on each blog individually and set up a redirect as such.

    The 404 error is from the author link:
    https://thetravelwriters.net/shoesofanomad/?author=845.

    So once that plugin is activated on that site go to:
    tools/redirection and set up a redirect.
    In the box source url you would put in the link:
    https://thetravelwriters.net/shoesofanomad/?author=845
    and in the target url you would put in:
    https://thetravelwriters.net/shoesofanomad/author/melaniekitzan/
    which is her author page.
    If people would rather have it go to an about me page you would put that link in instead.
    I can’t change the way my plugin calls the author page but since it isn’t redirecting properly the above plugin makes this a simple fix.
    Here is an example. One of the plugins automatically redirects my author page to the home page so with the above plugin I have done the following:
    Source URL: https://amsoil-original-equipment-oem-motor-oil.syntheticmotoroil.org/?author=1
    Target URL: https://amsoil-original-equipment-oem-motor-oil.syntheticmotoroil.org/author/johnzena/

    When you go to the source url it will take you to the target url. Sorry this may be a pain but it will work and keep you from having to do anything to the database. Plus the redirection is instaneouse so nobody will notice and it is one hundred percent SEO friendly.

    All this plugin is doing is what WordPress is failing to do whether because of a plugin conflict (as is my case on the above site) or whatever. On another site where I’m not using the conflicting plugin the WordPress redirection is working on its own.

    • This reply was modified 7 years, 6 months ago by johnzenausa.
    Plugin Author johnzenausa

    (@johnzenausa)

    If you need me to do this for you submit me a support ticket and I will let you know what information (login details) I need. https://ticket-support.johncardell.com

    Thread Starter Nathan Lake

    (@nathanlake2)

    I installed the Redirection plugin and that takes care of the problem.

    Thanks,

    Thread Starter Nathan Lake

    (@nathanlake2)

    Resolved

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Author page 404’ is closed to new replies.