-
Notifications
You must be signed in to change notification settings - Fork 0
/
_urlnormalizer.xml
88 lines (88 loc) · 6.97 KB
/
_urlnormalizer.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" group="system" method="upgrade">
<name>URL Normalizer (by JoomlaWorks)</name>
<author>JoomlaWorks</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.joomlaworks.net</authorUrl>
<copyright>Copyright (c) 2006 - 2024 JoomlaWorks Ltd. All rights reserved.</copyright>
<creationDate>June 7th, 2024</creationDate>
<license>https://www.gnu.org/licenses/gpl.html GNU/GPL</license>
<version>1.12</version>
<description>Provides URL normalization & other features for Joomla.</description>
<config>
<fields name="params">
<fieldset name="basic" addfieldpath="/plugins/system/urlnormalizer/urlnormalizer/elements">
<!-- URL Normalizations & Redirects -->
<field name="" type="header" default="URL Normalizations & Redirects" label="" description="" />
<field name="originDomain" type="textarea" cols="30" rows="8" default="" label="Define the origin domains (one below the other - do not use http:// or https://)" description="Don't use http:// or https:// in front of each origin domain or subdomain. Place each entry in a separate line. You can define a domain or subdomain port as well." />
<field name="cdnDomain" type="text" default="" label="Define the target domain - MUST use http:// or https://)" description="All origin domains & subdomains defined above with be overwritten to the target domain (thus the normalization)." />
<field name="redirectWithJS" type="radio" default="0" label="Force redirect protocol" description="Please note that the redirection is done with JavaScript.">
<option value="http">To http://</option>
<option value="https">To https://</option>
<option value="0">Do nothing (disabled)</option>
</field>
<field name="jsRedirectDomain" type="radio" default="0" label="Force redirect to target domain" description="If a visitor directly requests one of the origin domains, a JavaScript based redirect can change the domain to the target domain defined.">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<!-- Client-side Caching -->
<field name="" type="header" default="Client-side Caching" label="" description="" />
<field name="browsercache" type="radio" default="0" label="Use client-side (browser) caching" description="This setting instucts the browser to cache content locally.">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="cachetime" type="text" default="15" label="Cache lifetime for the home page (in mins)" description="" />
<field name="cachetime_inner" type="text" default="" label="Cache lifetime for every other page (in mins)" description="If no value is set, the 'home page' value will be used." />
<field name="mustRevalidate" type="radio" default="0" label="Force revalidation for stale content (must-revalidate)" description="">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="excludedComponents" type="textarea" default="com_users com_contact" cols="30" rows="8" label="Enter components to exclude from caching (one per line)" description="" />
<field name="excludedUrls" type="textarea" default="" cols="30" rows="8" label="Enter relative URLs to exclude from caching (one per line, URLs must start with a '/')" description="" />
<!-- Tidy -->
<field name="" type="header" default="Tidy" label="" description="" />
<field name="tidyState" type="radio" default="0" label="Tidy state" description="Tidy reformats the output of the page by properly indenting code and removing inline CSS styles. The result improves client-side rendering. Use with caution. PHP's Tidy module must be precompiled with PHP.">
<option value="0">Disabled</option>
<option value="1">Enabled</option>
</field>
<field name="bypassStyleAttrProc" type="radio" default="0" label="Bypass style attribute processing" description="">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="tagsNotToStrip" type="text" default="" size="40" label="Common social tags and new HTML5 tags are excluded - add your custom HTML tags here" description="Separate tags with a comma." />
<field name="indent" type="radio" default="1" label="Allow code indentation" description="">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="wrap" type="text" default="" size="4" label="Number of characters after which code will wrap" description="Enter the number of characters after which the code will be wrapped. If you want to disable this feature, clear the box or put 0If you wanna disable this feature" />
<field name="altText" type="text" default="" label="Replacement text for empty alt tags" description="By default the plugin will enter 'Image' if you don't input anything." />
<field name="hideComments" type="radio" default="0" label="Hide HTML comments" description="">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="cdataIndent" type="radio" default="0" label="CDATA indentation" description="Enable indentation for code inside CDATA blocks.">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="breakBeforeBr" type="radio" default="1" label="Break before br tag" description="This allows for better readability of code.">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
</fieldset>
</fields>
</config>
<files folder="plugin" destination="urlnormalizer">
<filename plugin="urlnormalizer">urlnormalizer.php</filename>
<filename plugin="urlnormalizer">urlnormalizer.xml</filename>
<folder>urlnormalizer</folder>
</files>
<!--
<languages folder="plugin">
<language tag="en-GB">language/en-GB/en-GB.plg_system_urlnormalizer.ini</language>
<language tag="en-GB">language/en-GB/en-GB.plg_system_urlnormalizer.sys.ini</language>
</languages>
-->
<updateservers>
<server type="extension" priority="1" name="URL Normalizer">https://cdn.joomlaworks.org/updates/urlnormalizer.xml</server>
</updateservers>
</extension>