Page url has ?template=untitled&is_preview=on added to it on some sites

online9
11 Posts
online9 posted this 08 August 2020

Hi
This URL suffix has started to appear on one of my sites.
swrotary.org.nz/?template=untitled&is_preview=on
Others have the same version of themler, but don't get the slug added - I am using version 505

Update: I restarted my system and the problem resolved itself

Hi This URL suffix has started to appear on one of my sites. swrotary.org.nz/?template=untitled&is_preview=on Others have the same version of themler, but don't get the slug added - I am using version 505 Update: I restarted my system and the problem resolved itself

Last edited 08 August 2020 by online9

Vote to pay developers attention to this features or issue.
2 Comments
Order By: Standard | Newest
Mika Hawkins
7 Posts
Mika Hawkins posted this 19 August 2020

Hi online9,
Thank you for posting the solution along with the question, as I was having the same issue guess I'll also restart my system. I hope it'll work for me aswell.

Regards,
Mika Hawkins

Hi online9, Thank you for posting the solution along with the question, as I was having the same issue guess I'll also restart my system. I hope it'll work for me aswell. Regards, Mika Hawkins
Support Team
Support Team posted this 2 weeks ago

Hello,

If the problem is persistent even after system restart, you can try this workaround:

Open .htaccess file on your server and add this code there:

RewriteCond %{QUERY_STRING} template=werbeagentur&is_preview=on
RewriteRule ^.*$  - [R=404,L]
RewriteCond %{QUERY_STRING} template=rezensionen&is_preview=on
RewriteRule ^.*$  - [R=404,L]

or

RewriteCond %{QUERY_STRING} template=werbeagentur&is_preview=on
    RewriteRule ^.*$  - [R=410,L]
RewriteCond %{QUERY_STRING} template=rezensionen&is_preview=on
RewriteRule ^.*$  - [R=404,L]

This would though prevent Themler Editor from opening so it is advised to first complete theme development and then add the code.

Gina
Themler Support

Hello, If the problem is persistent even after system restart, you can try this workaround: Open .htaccess file on your server and add this code there: RewriteCond %{QUERY_STRING} template=werbeagentur&is_preview=on RewriteRule ^.*$ - [R=404,L] RewriteCond %{QUERY_STRING} template=rezensionen&is_preview=on RewriteRule ^.*$ - [R=404,L] or RewriteCond %{QUERY_STRING} template=werbeagentur&is_preview=on RewriteRule ^.*$ - [R=410,L] RewriteCond %{QUERY_STRING} template=rezensionen&is_preview=on RewriteRule ^.*$ - [R=404,L] This would though prevent Themler Editor from opening so it is advised to first complete theme development and then add the code. Gina Themler Support
You must log in or register to leave comments