Follow this guide to make your translated website SEO-friendly.

  1. Log-in to your Windows server.
  2. Locate your web.config file in the root of your server.
  3. Modify the web.config to include these configurations:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <customHeaders>
            <add name="X-Bablic-ID" value="[ Bablic site ID ]" />
        </customHeaders>
        <rewrite>
            <allowedServerVariables>
                <add name="HTTP_CONTENT_LENGTH" />
                <add name="HTTP_X_BABLIC_ID"/>
                <add name="HTTP_X_ORIGINAL_URI"/>
                <add name="HTTP_ACCEPT_ENCODING" />
            </allowedServerVariables>
            <rules>
                <rule name="IsBOT" stopProcessing="true">
                    <match url="(.*)" />
                    <serverVariables>
                        <set name="HTTP_CONTENT_LENGTH" value="0"/>
                        <set name="HTTP_X_BABLIC_ID" value="[ Bablic site ID ]"/>
                        <set name="HTTP_X_ORIGINAL_URI" value="{CACHE_URL}"/>
                        <set name="HTTP_ACCEPT_ENCODING" value=""/>
                    </serverVariables>
                    <conditions>
                        <add input="{HTTP_USER_AGENT}" pattern="bot|crawler|baiduspider|80legs|google|facebook|twitter|seo"/>
                    </conditions>
                    <action type="Rewrite" url="http://seo.bablic.com/api/engine/seo?site=[ Bablic site ID ]#"  />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>


4. Replace the instances of [ Bablic site ID ] with your Bablic Site ID.

5. Restart the IIS

That's it, you can now click the "Verify" button in your Bablic SEO Configuration Wizard and complete the integration.

Did this answer your question?