# How to Redirect Squarespace Page

**URL:** <https://community.elfsight.com/t/how-to-redirect-squarespace-page/58390>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [June 24, 2024, 9:48am UTC](https://community.elfsight.com/t/how-to-redirect-squarespace-page/58390 "2024-06-24T09:48:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [June 24, 2024, 9:48am UTC](https://community.elfsight.com/t/how-to-redirect-squarespace-page/58390/1 "2024-06-24T09:48:08Z")

</div>

To redirect Squarespace Page to another page, you can follow these.  
Suppose you have a page Contact, you want: when users access Contact \>\> It will redirect to the Services Page. You can follow these.

**#1.** First, find the Page URL of the Contact and Services Page.  
You can hover on **Contact** or **Services** \> Click the **Gear icon**

![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/4/2/42f29a8def116129353567a945f9411b6a3a372d.png)

In **General** \> See **URL Slug**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/2/b/2bd401e2cd2c2d53ea2066aa7c3e0e7657172786.png)

In my example, we will have:

- Contact: /contact-us
- Services – /services

**#2.** Hover on the **Contact** page \> Click the **Gear icon**

![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/4/2/42f29a8def116129353567a945f9411b6a3a372d.png)

**#3.** Click **Advanced** \> Paste this code

```auto
<script>
window.location.href = "/services";
</script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/e/0e97b83c9fb06889bd2f45d3d65ef2cd09dfdff9.png)

**#4.** In case, you want to redirect the page on Mobile only, use this code

```auto
<script type="text/javascript">
if (screen.width <= 767) {
document.location = "/services";
}
</script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/d/0/d0bb99b7f869f5682e3085540ab0ac380e567e18.png)

**#5.** If you want to redirect after X seconds, you can use this code. 3000 = 3 seconds.

```auto
<script>
         setTimeout(function(){
            window.location.href = '/services';
         }, 3000);
</script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/9/c9475818662536d3c25a4f7edc61ba89a66341af.png)
