1. Home
  2. Docs
  3. Website Integration
  4. Configure WordPress
  5. Add configurations

Add configurations

In the htaccess.conf file, add these lines:

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

In the wp-config.php file, add this line:

define('JWT_AUTH_SECRET_KEY', 'TECTURE WILL PROVIDE KEY');

In the theme’s header.php file, change the EXAMPLEVENUE to your site’s domain.

<!-- Tessera Includes -->
<?php echo file_get_contents('https://tickets.EXAMPLEVENUE.com/tessera/includes'); ?>

In the theme’s partials/tessera-conf-file.php file, change EXAMPLEVENUE to your site’s domain.

"TesseraUrl": "https://tickets.EXAMPLEVENUE.com/"
"ApiUrl": "https://tickets.EXAMPLEVENUE.com/api/v1"
"FrontendUrl": "https://www.EXAMPLEVENUE.com/"

"AccountUrl": "https://tickets.EXAMPLEVENUE.com/"

How can we help?