# Broken link

{% hint style="info" %}
**Who can use this feature?**

* This feature is available for all users.
* Advanced settings are available for Pro and Enterprise plan users.
  {% endhint %}

### What is it?

This helps you to detect all [404 error pages](https://docs.avada.io/seo-suite-help-center/getting-started/seo-dictionary#undefined) and redirect them to a new URL of your choice.&#x20;

### Why should you use it?

* Improve user experience by preventing users from going to 404 links or dead ends
* Help maintain SEO value by redirecting traffic from 404 links to relevant, active pages
* Reduce bounce rate caused by users leaving after hitting a 404 error

### How does it work?&#x20;

In 404 link managers, you can set up automated redirect and custom redirect.

* Automated redirect: This helps auto detect and redirect 404 pages to new URL.
* Custom redirect: This helps redirect specific 404 pages to new URL.

#### Automated redirect

1. Go to "Broken link manager"
2. In Auto-redirect, click **Edit**
3. **Temporary redirect**: This helps redirect 404 pages to new URL temporarily. SEO value won't be transferred to new URL. \
   This helps improve user experience when directing 404 link to new URL temporarily.&#x20;

   * Click Turn on -> Select page <br>

     <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FEllmXjVNBdCpmwGEp13p%2Fcustom%20url.png?alt=media&#x26;token=6dcdf8ad-da5d-4844-ad42-ebb1030f1cfc" alt=""><figcaption></figcaption></figure>

     <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2F0jga79APzwqwYmax4bGr%2Fselect%20page%20from%20list.png?alt=media&#x26;token=0825d276-b93e-403d-8c53-50461b26e747" alt=""><figcaption></figcaption></figure>

   **Permanent redirect (301)**: This helps redirect 404 pages to new URL permanently. SEO value will be transferred to new URL. Learn more about [301](https://docs.avada.io/seo-suite-help-center/other-features/broken-link/301-and-302-redirect).

   * Select how often you want us to auto-detect and fix 404 pages: Daily and weekly<br>

     <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FUirXGqxTyjh9xeTgveUG%2Ffrequency%20404.png?alt=media&#x26;token=a3c9daeb-6e3a-4c4f-933c-419cc1624032" alt=""><figcaption></figcaption></figure>
   * Select redirect URL\
     You'll set up redirect URL for 404 pages which are Product pages, Collection pages, Blog pages or Others.\
     For example, if a product page goes broken, it will be redirected to new URL as set up.<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FEvBfFLywf00sIj7lpFFg%2Fset%20up%20redirect.png?alt=media&#x26;token=0596c0fa-f983-4307-9c79-77028c65faa9" alt=""><figcaption></figcaption></figure>

#### Custom Redirect

In Custom redirect, you can check all 404 links detected in your site with its status and traffic. You can set up redirect to fix each 404 link.

1. Click **Add direct**<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FF7idhoHvJ3lmdcvwgqrK%2Fclick%20add%20redirect.png?alt=media&#x26;token=6a614fd7-5868-46f9-90d2-51b021a97de3" alt=""><figcaption></figcaption></figure>
2. Enter the URL that you want to redirect from
3. Select your target type for the Redirect<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FoN4VLLtHERIIANjAVdjR%2Fset%20up%20redirects.png?alt=media&#x26;token=1dde5a30-8449-49af-888e-08ea4a4acb00" alt=""><figcaption></figcaption></figure>
4. Click **Add**<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FHa41YTNo0F3fFsPVuWlz%2Fadd%20redirect.png?alt=media&#x26;token=4d44cf1a-0b60-4b5e-ad10-6926ae7a4894" alt=""><figcaption></figcaption></figure>
5. You can edit or delete rules anytime by clicking on the **Edit** or **Delete** buttons<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2Fxw5Bp6vjSSPhuZtptnnH%2Fedit%20or%20delete.png?alt=media&#x26;token=075c7bb5-96f3-42ef-b386-77ad659bece0" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To select all broken links in all pages: Click **checkbox** to select all links on that page -> Click **Select all** to select all links in all pages.

<img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FPlp1ZCJ42sUfV1zSghvF%2Fselect%20all%20404.png?alt=media&#x26;token=2cba3035-857e-4dfd-8dc1-60a0581616df" alt="" data-size="original">
{% endhint %}

### Report

In report, you can check how many 404 links are resolved and not.

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FZSCsjwaOWT8ONnekURXo%2Freport%20404.png?alt=media&#x26;token=c6c9e0f8-57f6-481d-bb13-e6c65b901817" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
404 links that are redirected to new URL by "Temporary redirect" are **not considered as resolved**.
{% endhint %}

### Export and import

#### Export

Click **Export** to export all 404 pages with its details to your devices.

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FA5VD5FZULyXm2KvLWkff%2Fexport.png?alt=media&#x26;token=a137f49b-36cf-4ac2-a8b6-3ade51e7e110" alt=""><figcaption></figcaption></figure>

#### Import 404 report from Google Search Console

1. Log in to Google search console

2. Go to **Pages** -> Not found (404)

3. Click **Export** -> Click **Download CSV**<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FInzENGwctZsZUjGhtDeI%2Fexport%20from%20GSC.png?alt=media&#x26;token=f9692a26-a514-4d28-a0e7-f4174a89f822" alt=""><figcaption></figcaption></figure>

4. In "Custom redirect", click **Import** -> Drop your file exported from Google Search Console

5. Click **Upload.** \
   Select the checkbox "Override the broken link with matching CSV file" if you want to check and replace matching values.<br>

   <figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2F2aaZt40lWnfEPllRYLnJ%2Fupload%20file.png?alt=media&#x26;token=d394d136-f6c3-445c-a585-97b7467c0505" alt=""><figcaption></figcaption></figure>

### Get notification when detected 404 pages

You can [set up email notification](https://docs.avada.io/seo-suite-help-center/other-features/email-notification) to get email everytime we detect a 404 page on your website.

You can simply click Notifications settings in the banner to go set up notification.<br>

<figure><img src="https://154471318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPf5QlibAKQnTygXuMIzw%2Fuploads%2FLAUNufRHvZmGtc2xo0At%2Fset%20up%20notification.png?alt=media&#x26;token=58ee5b67-6f4b-47e8-b5e7-182495c0b7b2" alt=""><figcaption></figcaption></figure>
