Dead Link Management [Deleted]

I am a bit concerned about this. I have been getting false positives, e.g. the first link on this post shows as a 404, yet it is absolutely fine.

http://cafesaxophone.com/threads/microphones-again.10264/#post-124255

here is the link:

http://www.recording-microphones.co.uk

I also get that sometimes, but it's not our end that is the problem. It's their sever configuration.
Check the server header, it's giving 404 response.
http://tools.seobook.com/server-hea...icrophones.co.uk/&useragent=1&typeProtocol=11
 
Will there be an option in the future to handle the 301's? I have 10.000 301's now in our forum because http:// is redirected to https:// with a 301.

It would be nice if DLM would follow the 301 and change it in the post.
 
@au lait I'm working with your add-on but is does not work 100% and I would like to give some suggestions:

  1. Status 0 and 10001 should also be available in the frontend tool
  2. In the frontend I'm albe to select multiple links, but if there are more than one link in a post, he only replaces the first link in the post and all the others are untouched
  3. The link checker seems to skip (non-working) images that are between IMG tags, for example:
    Code:
    [IMG]http://i168.photobucket.com/albums/u189/Jeroentje147/IMG_0145.jpg[/IMG]
  4. I see in the tables that you have prepared 301, 302, 303's for replacement in colums link, new_link but it is not available in the software. Now I used those to do replaces in MySQL. It would be nice to have this in the software too
  5. It would be nice to rescan the posts of a certain status too, so besided the rescan of the urls themselves. Now I have to do a full rescan when I change some items in the database instead of in the frontend / AdminCP
 
Last edited:
In the frontend I'm albe to select multiple links, but if there are more than one link in a post, he only replaces the first link in the post and all the others are untouched

I can confirm this.

see in the tables that you have prepared 301, 302, 303's for replacement in colums link, new_link but it is not available in the software. Now I used those to do replaces in MySQL. It would be nice to have this in the software too

I presume you mean to automatically replace the 301 with the link that it is being redirects to. I've done a couple of these manually (when they are internal links) but I'm not sure it would be possible for this to be done automatically, though t would be good if that was possible.
 
Yes I mean an auto-change URL for the 301. It is possible because he captures the current URL and the 301 redirect URL he gets back from the status code.
 
Yes I mean an auto-change URL for the 301. It is possible because he captures the current URL and the 301 redirect URL he gets back from the status code.

I didn't know that. Where do I see the redirected URL. I can't see them in the front end or in the ACP tools URL list
 
SELECT link,new_link FROM phc_deadlinks where status = 301;
SELECT link,new_link FROM phc_deadlinks where status = 302;
SELECT link,new_link FROM phc_deadlinks where status = 303;
 
I did a scan of a full year (without internal links ticked) and deleted all links.

before rescanning for internal links I did one more scan without internal links ticked in order to double check there were no external links.

However this second scan brought up the internal links, in spite of that not being ticked in options.
 
Hi @au lait
I'm getting a compatibility error.
Code:
Error Info
ErrorException: BB code to string error:Undefined index: tag - library/XenForo/BbCode/Formatter/Base.php:636
Generated By: Breixo, A moment ago
Stack Trace
#0 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(636): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/xxx...', 636, Array)
#1 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(565): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#2 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#3 /var/www/xxx/library/phc/DeadLinkManagement/BBCode/Custom.php(25): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#4 [internal function]: phc_DeadLinkManagement_BBCode_Custom::tagDLMURL(Array, Array, Object(SolidMean_ComprehensiveURLParser_BbCode_Formatter_Base))
#5 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(745): call_user_func(Array, Array, Array, Object(SolidMean_ComprehensiveURLParser_BbCode_Formatter_Base))
#6 /var/www/xxx/library/BBM/BbCode/Formatter/Base.php(810): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#7 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(652): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#8 /var/www/xxx/library/BBM/BbCode/Formatter/Base.php(1618): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#9 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(565): BBM_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#10 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#11 /var/www/xxx/library/BBM/BbCode/Formatter/Base.php(1601): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#12 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(749): BBM_BbCode_Formatter_Base->renderSubTree(Array, Array)
#13 /var/www/xxx/library/BBM/BbCode/Formatter/Base.php(810): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#14 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(652): BBM_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#15 /var/www/xxx/library/BBM/BbCode/Formatter/Base.php(1618): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#16 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(565): BBM_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#17 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(546): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#18 /var/www/xxx/library/BBM/BbCode/Formatter/Base.php(1601): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#19 /var/www/xxx/library/XenForo/BbCode/Formatter/Base.php(526): BBM_BbCode_Formatter_Base->renderSubTree(Array, Array)
#20 /var/www/xxx/library/BBM/BbCode/Formatter/Base.php(1538): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
#21 /var/www/xxx/library/XenForo/BbCode/Parser.php(505): BBM_BbCode_Formatter_Base->renderTree(Array, Array)
#22 /var/www/xxx/library/XenForo/BbCode/TextWrapper.php(119): XenForo_BbCode_Parser->render('Esta es la preg...', Array)
#23 [internal function]: XenForo_BbCode_TextWrapper->__toString()
#24 /var/www/xxx/library/phc/DeadLinkManagement/Extend/XenForo/ViewPublic/Thread/View.php(94): preg_replace('#<a href\\s*=\\s*...', '$0 <img src="ht...', Object(XenForo_BbCode_TextWrapper))
#25 /var/www/xxx/library/*******/AutoLink/ViewPublic/Thread/View.php(8): phc_DeadLinkManagement_Extend_XenForo_ViewPublic_Thread_View->renderHtml()
#26 /var/www/xxx/library/EWRporta/ViewPublic/Custom.php(7): *******_AutoLink_ViewPublic_Thread_View->renderHtml()
#27 /var/www/xxx/library/DigitalPointAdPositioning/ViewPublic/Thread/View.php(6): EWRporta_ViewPublic_Custom->renderHtml()
#28 /var/www/xxx/library/Nobita/QuickReplyPro/XenForo/ViewPublic/Thread/View.php(22): DigitalPointAdPositioning_ViewPublic_Thread_View->renderHtml()
#29 /var/www/xxx/library/XenForo/ViewRenderer/Abstract.php(227): Nobita_QuickReplyPro_XenForo_ViewPublic_Thread_View->renderHtml()
#30 /var/www/xxx/library/XenForo/ViewRenderer/HtmlPublic.php(71): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Html', Array, 'thread_view')
#31 /var/www/xxx/library/XenForo/FrontController.php(605): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'thread_view', NULL)
#32 /var/www/xxx/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#33 /var/www/xxx/index.php(13): XenForo_FrontController->run()
#34 {main}
Request State
array(3) {
  ["url"] => string(93) "http://www.xxx.121799/page-7"
  ["_GET"] => array(1) {
    ["xxx/page-7"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
I think mostly it has something to do with plugins like:
SolidMean_ComprehensiveURLParser and ******* Autolink.
They automatically convert a word into a link.
When using the DLMURL BBcode, this error appears in several threads.
Problematic broken links have inside its url an autolink word.
Is there anything that can be made to improve it?
Danke schön!
 
Top Bottom