Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-01-30 19:27:10

wii
Member
Registered: 2005-05-08
Posts: 77

"Nice try." pages from Textpattern

I found some pages using Google with Nice try messages, what is that? and how do I remove them?

URLS looks like this:

/content.php?33-Cruise-Ship-Desserts-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1-amp-nocache-1&nocache=1

Offline

#2 2011-01-30 19:40:21

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,943
Website GitHub

Re: "Nice try." pages from Textpattern

wii wrote:

Nice try messages, what is that?

‘Nice try’ is triggered if the URL is over a certain length — TXP keeps its URLs fairly short so anything excessive might be an attempt to breach your site. It’s governed by the Maximum URL length value in your Advanced Prefs.

and how do I remove them?

If you want such links to go through to your site(!), increase the size of the prefs value. If you want to actually remove the links from Google’s results then I’ve no idea how to do that, sorry.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2011-01-30 20:27:35

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: "Nice try." pages from Textpattern

Wouldn’t something like

Redirect gone /content.php

in .htaccess be enough? (assuming that you don’t really have a page ‘content.php’?)

Offline

#4 2011-01-31 06:16:35

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,376
Website GitHub Mastodon

Re: "Nice try." pages from Textpattern

wii wrote:

and how do I remove them?

Thanks for the report. Change set 3473 should remedy this annoyance.

Last edited by wet (2011-01-31 06:16:44)

Offline

#5 2011-01-31 07:00:57

wii
Member
Registered: 2005-05-08
Posts: 77

Re: "Nice try." pages from Textpattern

Ok wet, does this mean it’s actually a bug?

For now I removed the URLs by changing the minimum characters to 500, not sure if this is the right way to do this though.

Offline

#6 2011-01-31 07:02:28

wii
Member
Registered: 2005-05-08
Posts: 77

Re: "Nice try." pages from Textpattern

Ok wet, I will make those changes to the code, thanks a lot.

Offline

Board footer

Powered by FluxBB