Skip to main content

Excluding selected pages

Chiara avatar
Written by Chiara
Updated over a month ago

In certain cases you may need to exclude selected pages from the redirect. For example you may want to exclude any blog pages from being redirected as the blog is common across all regional sites.

You can do this in the Location section of your GeoRedirect.

​A very important thing to remember is to remove the ending / from the URL you want to exclude, https://www.acme.com/blog is correct https://www.acme.com/blog/ is not!

There are four types of page exclusions rules

1. Page URL equals to

​Exclude a page if the URL matches a specific value. For example adding https://www.acme.com/blog will exclude the page if the URL matches acme.com/blog. Note that the https and www is ignored. In this case only the page https://www.acme.com/blog will be excluded.‍​

2. Page URL contains

​Exclude a page if the URL contains a specific value. For example adding https://www.acme.com/blog will exclude the page if the URL contains acme.com/blog. Note that the https and www is ignored. In this case all pages containing acme.com/blog will be excluded. For example acme.com/blog/article-1 will be excluded as well.​

3.Page query contains

​Excludes page if URL query contains a value. For example using a value of utm_source=facebook will exclude the page from being redirected if the page URL looks like https://www.acme.com?utm_source=facebook​‍4. Page hash contains​Excludes page if hash contains a value. For example using a value of contact will exclude the page from being redirected if the page URL looks like https://www.acme.com#contact

If you want to upload a CSV instead of doing this manually, you can use this format for the CSV:

Rule, Value

url-contains,/test

query-contains,/testing/done

hash-contains,http://hash.com

Did this answer your question?