Setting up SEO support

Search engine optimization (SEO) is enabling content to be accessible by search engines so they can index the content to provide them as results for users which in turn drives traffic to your site.

By default, we setup simple SEO support on another domain which hosts your content and robots will index it, but when visitors click a link in the search engines it will be a generic domain.

Custom Domain

To increase the page rank on search engines, you can serve the content from your own domain.

To setup SEO support for your website, you can do an advanced setup and search results will show your domain which involves configuring your web server to proxy requests to us.

Apache configuration

You can either locate the Apache virtual host file or use your .htaccess file in your project.

# Load these modules if not currently loaded
LoadModule proxy_module /usr/lib/apache2/modules/
LoadModule proxy_http_module /usr/lib/apache2/modules/
#LoadModule ssl_module /usr/lib/apache2/modules/ # Optional for SSL

<VirtualHost *:80>
   # Add this to your VirtualHost
   #SSLProxyEngine On # Optional for SSL
   ProxyPass /g
   ProxyPassReverse /g

Nginx configuration

server {
  listen 80;

  # Guides configuration (this location block only)
  location ~* ^/(g)/ {
    proxy_set_header Host $http_host;
Was this article helpful?