> ## Documentation Index
> Fetch the complete documentation index at: https://docs.locadapt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Advanced Configuration

> Fine-tune your Locadapt setup for optimal performance

## URL Structure

For detailed information on setting up your URL structure, including subdomains, subdirectories, and query parameters, please refer to our [URL Setup guide](/details/url-setup).

## Boolean Settings

Toggle these options to fine-tune your localization strategy:

<CardGroup cols={2}>
  <Card title="Support Dynamic Content" icon="bolt">
    Enable on-the-fly translation for dynamic content like comments or user-generated content.

    <Callout type="warning">
      Not necessary for static sites. May impact performance on highly dynamic pages.
    </Callout>
  </Card>

  <Card title="Translate Meta SEO" icon="magnifying-glass">
    Automatically translate meta tags and descriptions, boosting your multilingual SEO efforts.

    <Callout type="tip">
      Highly recommended for improving search engine visibility in target languages.
    </Callout>
  </Card>

  <Card title="Auto Detect Language" icon="globe">
    Display content in the user's preferred browser language.

    <Callout type="note">
      Requires Professional plan. Enhances user experience for international visitors.
    </Callout>
  </Card>

  <Card title="Enable Visual Editor" icon="paintbrush">
    Collaborate with AI and edit translations directly on your site.

    <Callout type="info">
      Coming soon! Will require Professional subscription.
    </Callout>
  </Card>
</CardGroup>

## Inclusions & Exclusions

Fine-tune which content gets translated and which remains in its original language:

### Blacklist Regexes

Specify URLs that should not be translated using regular expressions.

```regex theme={null}
^/api/.*$  # Exclude all URLs starting with /api/
.*\.pdf$   # Exclude all PDF files
```

### Whitelist Regexes

Define which URLs should be translated. If set, the blacklist is ignored.

```regex theme={null}
^/blog/.*$  # Only translate URLs in the blog section
^/products/.*$  # Only translate product pages
```

### CSS Ignore Rules

Prevent specific elements from being translated by specifying CSS selectors:

```css theme={null}
.no-translate, #brand-name, .legal-text
```

For more detailed information on CSS ignore rules and other translation prevention techniques, refer to our [Translation Prevention guide](/details/translation-prevention).

## Allowed Domains

Control which domains Locadapt can operate on:

```
example.com, blog.example.com, *.example.com
```

<Warning>
  When using subdomains with our reverse proxy, you must update your allowed domains to include the wildcard subdomain (e.g., `*.example.com`). Only one primary domain is allowed per project in this case.
</Warning>

<Tip>
  For development and testing, best practice is **not** to set `*`or `localhost`. Indeed, for technical reasons trying to do so will lead to an error. Instead, use a secure secret key — see our [Local Development guide](/details/local-development) for more information.
</Tip>
