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
-
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 -
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 -
How to fix Google index after fixing site infected with malware.
Hi All Upgraded a Joomla site for a customer a couple of months ago that was infected with malware (it wasn't flagged as infected by google). Site is fine now but still noticing search queries for "cheap adobe" etc with links to http://domain.com/index.php?vc=201&Cheap_Adobe_Acrobat_xi in web master tools (about 50 in total). These url's redirect back to home page and seem to be remaining in the index (I think Joomla is doing this automatically) Firstly, what sort of effect would these be having on on their rankings? Would they be seen by google as duplicate content for the homepage (moz doesn't report them as such as there are no internal links). Secondly what's my best plan of attack to fix them. Should I setup 404's for them and then submit them to google? Will resubmitting the site to the index fix things? Would appreciate any advice or suggestions on the ramifications of this and how I should fix it. Regards, Ian
Technical SEO | | iragless0 -
Find all links in the site and anchor text
Hi, Find all links in the site and anchor text and i need this done on my own website so i know if we dont have links that are anchored to numbers and punctuations that are not seen at all. Thanks
Technical SEO | | mtthompsons0 -
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 -
Find broken links in Excel?
Hello, I have a large list of URL's in an excel sheet and I am looking for a way to check them for 404 errors. Please help! Adam
Technical SEO | | digitalops0 -
Forum Profile Links
Are they really important? Many preach they are, and there are tonnes of services out there who give you thousands of forum profile links in no time. I strictly believe in genuine links built the hard way, and definitely don't want to get into anything which is black hat. Please suggest if building several Forum Profile Links is an appropriate way of building links?
Technical SEO | | KS__2 -
Add to Cart Link
We have shopping cart links (<a href's,="" not="" input="" buttons)="" that="" link="" to="" a="" url="" along="" the="" lines="" of="" cart="" add="" 123&return="/product/123. </p"></a> <a href's,="" not="" input="" buttons)="" that="" link="" to="" a="" url="" along="" the="" lines="" of="" cart="" add="" 123&return="/product/123. </p">The SEOMoz site crawls are flagging these as a massive number of 302 redirects and I also wonder what sort of effect this is having on linkjuice flowing around the site. </a> <a href's,="" not="" input="" buttons)="" that="" link="" to="" a="" url="" along="" the="" lines="" of="" cart="" add="" 123&return="/product/123. </p">I can see several possible solutions: Make the links nofollow Make the links input buttons Block /cart/add with robots.txt Make the links 301 instead of 302 Make the links javascript (probably worst care) All of these would result in an identical outcome for the UX, but are very different solutions. What would you suggest?</a>
Technical SEO | | Aspedia0