Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
581 views
in Q2A Core by
retagged by

How To Use Cookie-Free Domains?

In WordPress:

Edit your config.php file to reflect the following:

define("WP_CONTENT_URL", "http://static.yourwebsite.com");

define("COOKIE_DOMAIN", "www.yourwebsite.com");

How I configure for my Q2A website?

Q2A version: Cookie-Free-Domain

1 Answer

+1 vote
by

Hi,

in qa-config.php :

/*

If you wish, you can define QA_COOKIE_DOMAIN so that any cookies created by Q2A are assigned

to a specific domain name, instead of the full domain name of the request by default. This is

useful if you're running multiple Q2A sites on subdomains with a shared user base.

define('QA_COOKIE_DOMAIN', '.example.com'); // be sure to keep the leading period

*/

add your website  and save :) 

example:

define('QA_COOKIE_DOMAIN', '.yourwebsite.com');

 

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...