• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Code ?_debug=1 in the url


from Google Webmaster Tool I noted many errors with a strange code that I see at the end of my urls. For example, a normal thread of my forum, like this:

Is reported from GWT as an error, with this url:

I am talking of about 100 - 150 errors; I have also other url, where the code is repeated, like this:


1) Do you know the cause of this problem? Addons, bug, other?

2) Can you suggest a rewrite url (for Nginx) to redirect all this strange url to original url?

Thank you
Hello Brogan,

I checked in config.php file but I haven't debug mode enabled; I am using the addons "Enable Debug Mode"

So, is that the cause of problem?

Regard the rewrite rule to fix the error of GTW, can you help me set it?

Thanks again

Chris D

XenForo developer
Staff member
Regardless of whether debug mode is enabled via an add-on or via the config file, you should not be running your live board with debug mode enabled.