Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-04-11 09:41:34

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 351
Website

aks_clean_url : Optionaly Allow/Deny hardcoded `features` in core TxP

aks_clean_url – Optionaly Allow/Deny hardcoded `features` in Textpattern.

download link / homepage

Summary

Optionaly Allow/Deny hardcoded `Features` from admin interface.
In our case, Textpattern `Features` – is `Duplicate Content Vulnerability`… :(

Screenshot

Tested on

  • 4.0.7
  • 4.2
  • 4.4.1
  • dev r3721
  • 4.5

2Do

  • Fixes other permlink bug and content duplicates.

Last edited by makss (2016-01-16 18:48:08)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#2 2012-04-13 21:07:32

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,249
Website

Re: aks_clean_url : Optionaly Allow/Deny hardcoded `features` in core TxP

May seem like a strange request but could you add an option to ignore article urls?


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#3 2012-05-07 06:21:42

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: aks_clean_url : Optionaly Allow/Deny hardcoded `features` in core TxP

Hi,

Am I right in saying this can’t co exist with gbp permanent links? I would like to lock down the duplicate content but use gbp for a custom url structure. In an initial quick test with both active, i was getting a 404 on the home page, and errors like

Tag error: <txp:if_section name=’<txp:section />’> -> Notice: Undefined variable: s

Tag error: <txp:article_custom section=’<txp:section />’ wraptag=“ul” break=“li”> -> Notice: Undefined index: id

Tag error: <txp:article_custom section=’<txp:section />’ wraptag=“ul” break=“li”> -> Notice: Undefined variable: q

this was before enabling any of the options in your plugin.

As I say, gbp perm links is used heavily and it would make sense if these two plugins were mutually exclusive.

Kind regards,
Mike

Offline

#4 2012-05-10 11:42:58

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 351
Website

Re: aks_clean_url : Optionaly Allow/Deny hardcoded `features` in core TxP

MattD wrote:

May seem like a strange request but could you add an option to ignore article urls?

Option with unset($_SERVER[“REQUEST_URI”]) ?

mmelon

Maybe need to change the boot order of plugins? Need to be loaded aks_clean_url to gbp_perm_links.
Try uncheck some options via admin interface.


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#5 2016-01-31 06:21:02

sochicomputerRU
Member
From: Россия
Registered: 2013-01-18
Posts: 61
Website

Re: aks_clean_url : Optionaly Allow/Deny hardcoded `features` in core TxP

Enabling this plugin on Textpattern 4.5.7 results in front page giving the 404 error. Disabling from plugins menu fixes the problem. What gives?

Offline

#6 2016-01-31 14:06:03

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,937

Re: aks_clean_url : Optionaly Allow/Deny hardcoded `features` in core TxP

sochicomputerRU wrote #297661:

Enabling this plugin on Textpattern 4.5.7 results in front page giving the 404 error.

Not here. Check for a plugin conflict.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB