Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
How to fix broken links?
-
Hi,
I use WordPress CMS with Yoast SEO plugin. I have just found out that my 403 errors increased dramatically. It seems that all my tags below of each post are being broken for some reason. When i click on the tags i get the following massage: **403 Forbidden Request forbidden by administrative rules. **
I assume it has something to do with the configuration within Yoast SEO plugin.
Dose anyone know how should i fix that?
Thanks,
Raviv
-
Awesome! Definitely happy you let us know
-
Hi Dan,
Just wanted to let you know that the problem is fixed at last:)
WP support suggested to check this out with the hosting and bingo! Apparently is happened because of a massive on many WP sites ( Brute Force Attack ) which blocked some of my files and that was the reason for the 403's.
I thought that you might want to know.
Again, thanks so much for your help!!!
Raviv
-
For sure!
-
Hi Raviv - great, that will be your quickest source to the answer I think at this stage. Do update us if you can!
-Dan
-
Hey Dan,
Thanks so much for your help! really!
I still didn't fix it but as you said the tags themselves are broken. when i viewed them in the tags archive i get the same thing guess what? 403!
anyways, I will contact the help forum as you suggested hopefully they'll be able to tell me how to get it done.
Thanks again!
Raviv
-
Ah good! We've ruled out Yoast. Either one of two things are going on;
1. Tags are simply broken.
2. Maybe the link to the tags are just broken.
Can you adjust the URL at all to get to tags? Maybe the links are adding something extra in the URL making it incorrect? Or you can't get to tags at all. From within the Admin section, try going to Posts->Tag and hovering over a tag click "view" to try and view that tag archive. If it's still broken then it's tags themselves.
Either way this is leaning more towards a development issue, and maybe you want to contact the help department for your theme, or try the WordPress help forum.
-Dan
-
Hey Dan,
So I've tested it and it seems that I still get those broken links even when the Yoast plug in was disabled. In both tests i got the same results- 403.
Any suggestions of how to fix it?
Cheers,
Raviv
-
Hi Raviv
Yes, go to plugins and hit "disable" - you shouldn't lose your information, but I would take screenshots or write down of your settings just in case. Definitely don't delete the plugin - just disable it temporarily.
Let me know!
-Dan
-
Hi Dan!
Thanks for helping here!
2nd test result - even when I'm not being logged in to WP then I still get the 403 error
with regard to the 1st test ( shunting off the plugin) : 1 ) shall i do it by the 'deactivate' function in the plugins section? or is it something in I need to do withing the setting of Yoast plug in itself.
- either way is shutting off the plug in means that I will have to reconfigure the plugin from the beginning after switching it back on?
Sorry ... I'm still very new to this
Thanks Again
Raviv
-
Raviv
Just to make sure we're not assuming incorrectly, temporarily shut off the Yoast SEO plugin. This should be fine to do for just a few minutes. Do you still get the 403 errors? If so, then it is not the Yoast plugin but some other issue.
Also, do you get this error while logged out of WordPress? Trying doing it on your site in incognito mode in Chrome without logging in.
Let us know what happens with both of those tests!
-Dan
-
Hi Ed,
Thanks for that! But I need now to find out how to fix those broken links
Cheers,
Raviv
-
Hi Raviv,
I used this Worpress plugin to fix my broken links, hope it helps http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/
Regards
Ed
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is link equity passed through redirect chains?
Hi there, When redirects are passed through multiple stages e.g. https://www.google.com 301 to http://www.bing.com 301 to http://www.yahoo.com Does http://www.yahoo.com still retain all link equity from the original referring domain, and is there a limit to the redirect chain before Google starts to not pass through link equity? Cheers
Technical SEO | | Corbec8881 -
Intermittent 404 - What causes them and how to fix?
Hi! I'm working on a client site at the moment and I've discovered a couple of pages that are 404ing but producing a 200 OK response. However, I have checked these URLs again and some are now producing a 404 Error response. No changes have been made (that I'm aware of) so it appears that the URLs are returning both 200 OK and 404 Error responses intermittently. Any ideas what could cause this and the best solution? Thanks!
Technical SEO | | daniel-brooks0 -
How can I stop a tracking link from being indexed while still passing link equity?
I have a marketing campaign landing page and it uses a tracking URL to track clicks. The tracking links look something like this: http://this-is-the-origin-url.com/clkn/http/destination-url.com/ The problem is that Google is indexing these links as pages in the SERPs. Of course when they get indexed and then clicked, they show a 400 error because the /clkn/ link doesn't represent an actual page with content on it. The tracking link is set up to instantly 301 redirect to http://destination-url.com. Right now my dev team has blocked these links from crawlers by adding Disallow: /clkn/ in the robots.txt file, however, this blocks the flow of link equity to the destination page. How can I stop these links from being indexed without blocking the flow of link equity to the destination URL?
Technical SEO | | UnbounceVan0 -
How to set up internal linking with subcategories?
I'm building a new website and am setting up internal link structure with subcategories and hoping to do so with best Seo practices in mind. When linking to a subcategory's main page, would I make the internal link www.xxx.com/fishing/ or www.xxx.com/fishing/index.html or does it matter? I'm just trying to avoid duplicate content I guess, if Google saw each page as a separate page. Any other cautions when using subdirectories in my navigation?
Technical SEO | | wplodge0 -
Should we nofollow footer social links?
Like most sites today we have a whole raft of social links in our footer, these are on every page of the site and link out to Facebook, Twitter, YouTube, etc Should these links be nofollow to avoid juice leaving our site or would you recommend allowing them to be followed to increase the power of these social sites? Is there a definitive Yay or Na on these social links?
Technical SEO | | Twist3600 -
Correct linking to the /index of a site and subfolders: what's the best practice? link to: domain.com/ or domain.com/index.html ?
Dear all, starting with my .htaccess file: RewriteEngine On
Technical SEO | | inlinear
RewriteCond %{HTTP_HOST} ^www.inlinear.com$ [NC]
RewriteRule ^(.*)$ http://inlinear.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^./index.html
RewriteRule ^(.)index.html$ http://inlinear.com/ [R=301,L] 1. I redirect all URL-requests with www. to the non www-version...
2. all requests with "index.html" will be redirected to "domain.com/" My questions are: A) When linking from a page to my frontpage (home) the best practice is?: "http://domain.com/" the best and NOT: "http://domain.com/index.php" B) When linking to the index of a subfolder "http://domain.com/products/index.php" I should link also to: "http://domain.com/products/" and not put also the index.php..., right? C) When I define the canonical ULR, should I also define it just: "http://domain.com/products/" or in this case I should link to the definite file: "http://domain.com/products**/index.php**" Is A) B) the best practice? and C) ? Thanks for all replies! 🙂
Holger0 -
Self-referencing links
I personally think that self-referencing links are silly. It's blatantly easy for Google to tell and my instinct says that the link juice for this would simply evaporate rather than passing back to itself. Does anyone have information backing me up from an authoritative source? I can't find any info about this linked to Matt Cutts, Rand or any of those I look up to.
Technical SEO | | IPROdigital0 -
International Site Links In Footer
We have several international sites and we have them linked in the footer of our main .com site . Should we add "nofollow" to these links? Our concern is that Google could see these sites as a network?
Technical SEO | | EwanFisher0