Posts

Showing posts from April, 2020

How to find broken links in Sitecore.

Image
Well, recently i take it clone of website and found too much broken links so i want to listed all broken links and fix it one by one. I search about that and read so many articles so i found a easiest way to identify broken link. a. First one we can go directly on control panel under reports > Scan the data for broken links. just click on that and it will open a new popup window. choose data base and press scan button it will take few seconds or minutes as per database and will show you a list of broken links. for fix it just click on item and fix it. b. Second way i found by power shell. just go on launchpad and click on PowerShell ISE. it will open a new popup looks like below images. just copy below script and paste there and press execute button. it will take few seconds to generate broken list. #Script Copied.. $database = "master" $root = Get-Item -Path (@{ $true = " $( $database ) :\content" ;