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
-
Broken canonical link errors
Hello, Several tools I'm using are returning errors due to "broken canonical links". However, I'm not too sure why is that. Eg.
Technical SEO | | GhillC
Page URL: domain.com/page.html?xxxx
Canonical link URL: domain.com/page.html
Returns an error. Any idea why? Am I doing it wrong? Thanks,
G1 -
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 -
301 Redirect for multiple links
I just relaunched my website and changed a permalink structure for several pages where only a subdirectory name changed. What 301 Redirect code do I use to redirect the following? I have dozens of these where I need to change just the directory name from "urban-living" to "urban", and want it to catch the following all in one redirect command. Here is an example of the structure that needs to change. Old
Technical SEO | | shawnbeaird
domain.com/urban-living (single page w/ content)
domain.com/urban-living/tempe (single page w/ content)
domain.com/urban-living/tempe/the-vale (single page w/ content) New
domain.com/urban
domain.com/urban/tempe
domain.com/urban/tempe/the-vale0 -
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 -
404 error - but I can't find any broken links on the referrer pages
Hi, My crawl has diagnosed a client's site with eight 404 errors. In my CSV download of the crawl, I have checked the source code of the 'referrer' pages, but can't find where the link to the 404 error page is. Could there be another reason for getting 404 errors? Thanks for your help. Katharine.
Technical SEO | | PooleyK0 -
How to find and fix 404 and broken links?
Hi, My campaign is showing me many 404 problems and other tools are also showing me broken links, but the links they show me dose work and I cant seem to find the broken links or the cause of the 404. Can you help?
Technical SEO | | Joseph-Green-SEO0 -
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 -
Is link cloaking bad?
I have a couple of affiliate gaming sites and have been cloaking the links, the reason I do this is to stop have so many external links on my sites. In the robot.txt I tell the bots not to index my cloaked links. Is this bad, or doesnt it really matter? Thanks for your help.
Technical SEO | | jwdesign0