• Hey all!

    I’m blogging over at korywoodard.com, and a few days ago a friend pointed out that there are links broken on my site. I’ve been to the links, and the 404 pages that show up seem to be generated by GoDaddy. So, I contacted them and they are saying that they are unable to duplicate the pages that I’m seeing. This, this, and this are just examples of the pages that are giving me 404 pages. I’m wondering if anyone else is seeing them?

    I haven’t changed anything in between when they were working and now, so I’m not sure what’s going on.

    Any help would be greatly appreciated.

Viewing 15 replies - 1 through 15 (of 39 total)
  • It looks like none of the post categories are working…

    Can you check categories and their posts at:

    Admin Dashboard>Posts>Categories>Are these categories listed and do that have any posts associated?

    Thread Starter korywoodard

    (@korywoodard)

    Yes. All of the categories are still there, and they still have multiple posts listed in them.

    I’ve also double checked the actual link from there, and I’m putting in the correct links. Even from the dashboard they’re giving 404 pages, though.

    Try change the permalink structure back to the default setting under Settings > permalinks. Check if the categories load correctly now.

    Thread Starter korywoodard

    (@korywoodard)

    Nope, that didn’t work.

    When I click your ′His Graduation′ post the URL is https://www.korywoodard.com/2013/05/his-graduation, not https://www.korywoodard.com/category/design/his-graduation

    Set your permalink structure to the Postname setting to see if that helps. (You might need to add the code to your .htaccess manually for that to work, or set its permission to 777)

    Thread Starter korywoodard

    (@korywoodard)

    I’m not worried about what shows up when the post title is clicked. I am concerned with the links I have to the specific category pages not showing up.

    I don’t really know anything about the .htaccess file.

    At your permalink settings page
    https://www.korywoodard.com/wp-admin/options-permalink.php
    when you have Common settings set to something else than Default, does it say at the bottom of the page something beginning with:
    “If your .htaccess file were writable, we could do this automatically…”

    If it does, you should copy the code that it suggests and go add it to a file named .htaccess which is located in your wordpress installation root.

    I don’t know how to do this with godaddy, but ftp or ssh would work. If you don’t know how to do it, ask a friend or godaddy customer service to add the code there for you.

    Alternatively, you could change file permissions as Rock Solid Design suggested for example via ssh, but change them back after having wordpress write the .htaccess file for security.

    This might make it more clear for you: https://support.godaddy.com/help/article/2504/what-is-htaccess

    Thread Starter korywoodard

    (@korywoodard)

    Nope, that’s not there. It doesn’t have any kind of error message at all.

    Just to be sure it is not the permalink settings, can you change the permissions of the .htaccess file to 777, and set the permalink structure to the “Default” and click Save? Then check to see if the category links work correctly. After that set the permalinks back to “Postname”.

    Also, do you have a SEO plugin installed? If so, check if there are any permalink settings checked. Try disabling the plugin first to see if that fixes the problem.

    You might also want to disable all other plugins to see if that fixes the problem.

    I see you have Yoast SEO installed. Please uncheck this option:

    “Strip the category base”

    See if that works.

    Thread Starter korywoodard

    (@korywoodard)

    Okay, did the SEO plugin. That option wasn’t checked..

    Thread Starter korywoodard

    (@korywoodard)

    Deactivated plugins, still not working. Emptied cache to make sure it’s not reloading the 404 page unintentionally, still nothing. I’ll try the .htaccess thing next.

    Better copy the contents of .htaccess here too.

    Thread Starter korywoodard

    (@korywoodard)

    Okay! Here’s what the .htaccess currently says:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    What should I be changing in this?

Viewing 15 replies - 1 through 15 (of 39 total)
  • The topic ‘broken links’ is closed to new replies.