diff --git a/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md b/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md
index 3b980ae43308b466fce8270e8eaa0ba0c47a1f8b..7dc90b76939a7d85414e33f0e1eac9c6678914e7 100644
--- a/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md
+++ b/Documentation/ProjectFile/prj/linear_solvers/linear_solver/petsc/t_prefix.md
@@ -1,3 +1,3 @@
 Sets the options prefix for this PETSc linear solver.
 
-Cf. the PETSc [KSPSetOptionsPrefix documentation](http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSetOptionsPrefix.html).
+Cf. the PETSc [KSPSetOptionsPrefix documentation](https://petsc.org/release/manualpages/KSP/KSPSetOptionsPrefix/).
diff --git a/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md b/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md
index a0c291ee737ad8f5ef18e4adc8ac42964dee7c4d..b678f79ee822549e93a6fead4c861d879bd0d4f2 100644
--- a/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md
+++ b/Documentation/ProjectFile/prj/nonlinear_solvers/nonlinear_solver/t_prefix.md
@@ -1,5 +1,5 @@
 Sets the options prefix for the PETSc SNES solver.
 
 See the PETSc
-[SNESSetOptionsPrefix](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESSetOptionsPrefix.html)
+[SNESSetOptionsPrefix](https://petsc.org/release/manualpages/SNES/SNESSetOptionsPrefix/)
 documentation for details.
diff --git a/MathLib/LinAlg/PETSc/PETScLinearSolver.h b/MathLib/LinAlg/PETSc/PETScLinearSolver.h
index 559024eba10b9df11f18abf482408edf6778415e..ba9db59fda521d59f37d6a135d48e8ef7841a728 100644
--- a/MathLib/LinAlg/PETSc/PETScLinearSolver.h
+++ b/MathLib/LinAlg/PETSc/PETScLinearSolver.h
@@ -42,7 +42,7 @@ public:
                        that owns an instance of this class.
         \param petsc_options PETSc options string which is passed to PETSc lib
         and inserted in the PETSc option database (see
-        https://petsc.org/release/docs/manualpages/Sys/PetscOptionsInsertString.html).
+        https://petsc.org/release/manualpages/Sys/PetscOptionsInsertString/).
     */
     PETScLinearSolver(std::string const& prefix,
                       std::string const& petsc_options);
@@ -69,4 +69,4 @@ private:
     double elapsed_ctime_ = 0.0;  ///< Clock time
 };
 
-}  // end namespace
+}  // namespace MathLib