<settings module="basic_urls">
	<section name="general">
		<option type="status" name="dpc_status_basic_urls" module="basic_urls" title="{@text:URL optimization}" description-intro="{@text:This module improves the your website urls. The url includes everything, which appears in the browsers address bar (e.g. https://www.delucks.com/seo).}" description="{@text:The keywords in a vital part to almost every url of your website as these are very important for SEO. The earlier a keyword appears in searches and the shorter your url is, the better it is for your website. So, you should exclude irrelevant words like mine, yours, the, he, she, it from your urls. We call those words: stopwords.}" helptext="{@text:Activate the url optimization to remove stopwords from your urls. Redirect visitors from dead links and ensure a secure connection.}" helplink-de="https://delucks.com/wordpress-seo-plugin/optimierung-anleitung/urls/" helplink-en="https://delucks.com/en/wordpress-seo-plugin/optimization-tips-tutorial/urls/">
			<value label="{@text:Activated}" class="btn btn-success" value="1" addToDom="class,value"/>
			<value label="{@text:Deactivated}" class="btn btn-warning" addToDom="class,value,data-target" toggle="posttypes"/>
		</option>
		<option type="section" section="words section-toggable" />
	</section>
	<section name="words section-toggable">
		<option type="wrapper" width="4" class="col-sm-5 col-xs-12">
			<option type="checkbox" id="stopwords" name="stopwords" label="{@text:Remove stopwords from urls}" class="icheckbox_square-blue form-control" data-toggle="buttons" addToDom="data-toggle,class" />
		</option>
		<option type="wrapper" width="8" class="col-sm-5 col-xs-12">
			<option type="checkbox" id="forceSSL" name="forceSSL" label="{@text:Force encrypted connection}" class="icheckbox_square-blue form-control" data-toggle="buttons" addToDom="data-toggle,class" />
		</option>
		<option type="nextRow" />
		<option type="wrapper" width="12" row="no" class="stopword-wrap col-sm-12 col-xs-12"  data-expert_mode="true" addToDom="data-expert_mode">
			<option type="wrapper" hide="true" displayElement="stopwords" displayValue="on" displayType="block">
				<option type="each" source="@function:getLanguages" namespace="lang">
					<option type="wrapper" width="0" class="col-sm-0 col-xs-0">
						<option type="checkbox" id="{@ns:lang|lang_key}Status" name="{@ns:lang|lang_key}][stopwords][status" label="" class="icheckbox_square-green form-control" color="green" value="on" addToDom="class" />
					</option>
					<option type="wrapper" width="11" class="col-sm-4 col-xs-6">
						<option type="label" text="{@text:Stopwords} {@ns:lang|name}" />
					</option>
					<option type="htmlelement" element="clear"/>
					<option type="wrapper" width="12" addToDom="style" hide="true" displayElement="{@ns:lang|lang_key}][stopwords][status" displayValue="on" displayType="block">
						<option name="{@ns:lang|lang_key}][stopwordlist" type="textarea" style="width:650px;height:150px;" addToDom="style" />
					</option>
				</option>
			</option>
		</option>
		<option type="hinweis" text="{@text:Please only activate after having set up a SSL certificate for your domain and haveing set up the https urls in your general WordPress settings.}" link="/wp-admin/options-general.php" link-text="{@text:Go to settings page}" displayElement="forceSSL" displayValue="on" class="pull-left errorPage-select" id="sslNotice" hide="true"/>
		
		
		<option type="text" name="ranking_check_url" label="{@text:Domain for ranking check}" class="form-control" addToDom="class" />
		<option type="hinweis" text="{@text:If WordPress is used headless on a different domain, we need the domain of the live system to compare Google rankings.}" class="pull-left errorPage-select" />
		
	</section>

	<section name="manager">
		<option type="postAction" module="basic_urls" action="managerUpdate" />
		<option type="var" key="object_id" value="@function:getObejctId" />
		<option type="var" key="target_url" value="@method:basic:urls:getRedirectEntryData" params="{@var:object_id}|target_url"/>
		<option type="var" key="choosenType" value="@method:basic:urls:getRedirectEntryData" params="{@var:object_id}|type" />
		<option type="var" key="choosenPost" value="@method:basic:urls:getRedirectEntryData" params="{@var:object_id}|post_id" />
		<option type="wrapper" width="12" class="col-sm-12 col-xs-12">
			<option id="errorPage" type="select" name="404page" label="{@text:Redirect to}" class="form-control" source="@function:getCustomPostTypes" sourceParams="attachment,revision,nav_menu_item,product_variation,shop_order,shop_coupon" data-toggle="buttons" value="{@var:choosenType}" forceValue="true" addToDom="data-toggle,class">
				<value label="{@text:Category}" value="category"/>
				<value label="{@text:Custom URL}" value="url"/>
				<value label="{@text:Do nothing}" value="nothing"/>
			</option>
			<option type="hide" displayElement="404page" displayValue="page" class="pull-left errorPage-select">
				<option type="select" name="page" class="pull-left form-control" source="@function:getPages" value="{@var:choosenPost}" forceValue="true" addToDom="data-toggle,class" />
			</option>
			<option type="hide" displayElement="404page" displayValue="post" class="pull-left errorPage-select">
				<option type="select" name="post" class="pull-left form-control" source="@function:getPosts" value="{@var:choosenPost}" forceValue="true" addToDom="data-toggle,class" />
			</option>
			<option type="hide" displayElement="404page" displayValue="category" class="pull-left errorPage-select">
				<option type="select" name="category" class="pull-left form-control" source="@function:getPostCategories" value="{@var:choosenPost}" forceValue="true" addToDom="data-toggle,class" />
			</option>
			<option type="hide" displayElement="404page" displayValue="url" class="pull-left errorPage-select">
				<option type="text" name="url" placeholder="{@text:Target}" class="pull-left form-control" value="{@var:target_url}" forceValue="true" style="width:500px" addToDom="class,style" />
			</option>
			<!-- CPT -->
			<option type="each" source="@function:getCustomPostTypes" namespace="cpt" sourceParams="post,page,attachment,revision,nav_menu_item,product_variation,shop_order,shop_coupon">
				<option type="hide" displayElement="404page" displayValue="{@ns:cpt|value}" class="pull-left errorPage-select">
					<option type="select" name="{@ns:cpt|value}" class="pull-left form-control" source="@function:getPostsForCpt" sourceParams="{@ns:cpt|value}" value="{@var:choosenPost}" forceValue="true" addToDom="data-toggle,class" />
				</option>
			</option>
			<!-- CPT END -->
		</option>
	</section>

	<defaults>
		<var name="stopwords" value=""/>
		<var name="404page" value="nothing"/>
		<var name="404][de][type" value="nothing"/>
		<var name="404][en][type" value="nothing"/>
		<var name="404][fr][type" value="nothing"/>
		<var name="404][es][type" value="nothing"/>
		<var name="de][stopwords][status" value="on"/>
		<var name="en][stopwords][status" value="on"/>
		<var name="de][stopwordlist" value="ab,aber,alle,all,als,also,am,an,ander,auch,auf,aus,bei,beim,bevor,bin,bis,bislang,bist,bloß,da,dabei,dadurch,dafuer,dafür,dagegen,daher,damit,danach,dann,daran,darin,darüber,darueber,darum,darunter,das,dass,dasselbe,daß,davon,dazu,dein,deine,deiner,deins,dem,demselben,den,denn,denselben,der,derselbe,derselben,des,deshalb,desselben,dessen,desweg,dich,die,dies,diese,dieselben,dieser,dieses,dir,doch,dort,dran,drin,du,durch,ebenfalls,ebenso,eher,ein,eine,einem,einen,einer,eines,einmal,einig,einiges,eins,einzig,entweder,er,erhalt,erst,es,etc,etwa,etwas,euch,euer,eure,falls,fast,fern,folglich,fuer,für,ganz,genau,gegen,gerade,gewesen,grad,hab,haben,hat,hatte,hatten,hattest,hattet,heraus,herein,hier,hinter,ich,ihm,ihn,ihnen,ihr,ihre,ihres,im,immer,in,indem,indes,infolge,ins,inzwischen,irgend,irgendwas,irgendwer,irgendwie,irgendwo,ist,ja,jede,jedem,jeden,jeder,jederzeit,jedes,jedoch,jemand,jene,jenem,jener,jenes,jetzt,kann,kannst,kein,keine,keinem,keinen,keiner,keines,koennt,können,könnt,machen,mal,man,manch,manche,manchem,manchen,mancher,manches,mehr,mein,meine,meinem,meinen,meiner,meines,meist,mich,mir,mit,muss,muß,musste,möchte,nach,nachdem,naemlich,nahezu,namlich,nämlich,nebst,nein,nem,nen,nicht,nichts,noch,nun,nur,nutzt,ob,obgleich,obwohl,oder,oft,ohne,OK,per,pro,rein,rund,schon,sehr,seid,sein,seine,seinem,seinen,seiner,seines,seit,seitdem,seither,selber,selbst,sich,sie,sieh,siehe,sieht,sind,sitzt,so,sobald,solch,soll,sollen,sollst,sollt,sollte,somit,sondern,sonst,soweit,sowie,spaet,spät,stets,tun,um,ums,und,uns,unser,unsere,unter,usw,über,viel,viele,vieles,vielleicht,vollstaendig,vollständig,vom,von,vor,vorbei,vorhin,vorüber,vorueber,war,waer,wär,waren,warst,warum,was,weg,weil,weit,weiter,weitere,weiterhin,welch,welche,wem,wen,wenigstens,wenn,wenngleich,wer,werd,werde,werden,werdet,weshalb,wessen,wie,wieder,wies,wieso,will,wir,wird,wirst,wo,wodurch,woher,wohin,wollen,woll,wollt,wollte,woran,worauf,worin,wozu,wuensch,wuerd,wünsch,würd,wurden,zig,zu,zufolge,zum,zur,zusammen,zwar,zwischen"/>
		<var name="en][stopwordlist" value="a,about,above,after,again,against,all,along,already,also,although,always,am,among,amount,an,and,another,any,anybody,anyhow,anyone,anything,anyway,anywhere,apart,appear,are,aren't,arent,around,as,aside,ask,at,back,be,because,been,before,being,below,beside,best,better,between,beyond,both,but,by,can,can't,cannot,cant,cause,certain,change,clear,come,computer,concern,consider,contain,content,could,couldn't,couldnt,course,current,definite,describe,despite,detail,did,didn't,differ,do,does,doesn't,doing,don't,done,down,due,during,each,edu,eg,eight,either,else,elsewhere,empty,enough,entire,especial,et,etc,even,ever,every,everybody,everyone,everything,everywhere,ex,exact,example,except,far,few,first,for,forty,from,further,furthermore,general,had,hadn't,hard,has,hasn't,hasnt,have,haven't,having,he,he'd,he'll,he's,hello,help,hence,her,here,here's,hereafter,hereby,herein,hereupon,hers,herself,him,himself,his,how,how's,however,i,i'd,i'll,i'm,i've,ie,if,ignore,immediate,in,inc,incl,into,inward,is,isn't,it,it's,its,itself,just,last,later,least,less,let,let's,like,little,ltd,made,main,many,may,maybe,me,mean,meanwhile,mere,might,mine,more,moreover,most,move,much,must,mustn't,my,myself,near,need,neither,never,nevertheless,new,next,nine,no,nobody,non,none,noon,nor,norm,normal,not,novel,now,nowhere,obvious,of,off,often,oh,ok,okay,old,on,once,one,only,onto,or,other,otherwis,ought,our,ours,ourselve,ourselves,out,outside,over,overall,own,part,particular,per,perhaps,place,please,plus,possible,prefer,present,probably,provide,put,que,quit,rather,really,reason,regard,regardless,relate,right,said,same,saw,say,second,see,seem,seen,self,sensible,sent,serious,seven,sever,shall,shan't,she,she'd,she'll,she's,should,shouldn't,show,side,since,sincer,sincerly,six,sixty,so,some,somebody,somehow,someone,something,sometime,somewhat,somewhere,soon,sorry,specify,still,sub,such,suitable,superb,sure,take,taken,tend,than,thank,thanx,that,that's,the,their,theirs,them,themselves,then,there,there's,thereafter,thereby,therefor,therein,thereof,thereupon,these,they,they'd,they'll,they're,they've,thick,thin,third,this,thorough,those,though,three,through,throughout,thru,thus,to,together,too,took,top,toward,truly,twice,u,under,unfortunatelly,unless,unlike,until,up,upon,use,usual,value,various,very,via,vs,want,was,wasn't,way,we,we'd,we'll,we're,we've,welcome,well,went,were,weren't,what,what's,whatever,whatsoever,when,when's,whenever,whensoever,where,where's,whereafter,whereas,whereat,whereby,wherefrom,wherein,whereinto,whereof,whereon,whereto,whereupon,wherever,wherewith,whether,which,whichever,whichsoever,while,whilst,who,who's,whoever,whole,whom,whomever,whomsoever,whose,whosoever,why,why's,will,with,within,without,won't,wonder,would,wouldn't,wouln't,yes,yet,you,you'd,you'll,you're,you've,your,yours,yourself,yourselves"/>
		<var name="fr][stopwordlist" value="alors,au,aucuns,aussi,autre,avant,avec,avoir,bon,car,ce,cela,ces,ceux,chaque,ci,comme,comment,dans,des,du,dedans,dehors,depuis,devrait,doit,donc,dos,début,elle,elles,en,encore,essai,est,et,eu,fait,faites,fois,font,hors,ici,il,ils,je,juste,la,le,les,leur,là,ma,maintenant,mais,mes,mine,moins,mon,mot,même,ni,nommés,notre,nous,ou,où,par,parce,pas,peut,peu,plupart,pour,pourquoi,quand,que,quel,quelle,quelles,quels,qui,sa,sans,ses,seulement,si,sien,son,sont,sous,soyez,sujet,sur,ta,tandis,tellement,tels,tes,ton,tous,tout,trop,très,tu,voient,vont,votre,vous,vu,ça,étaient,état,étions,été,être,moi,toi"/>
		<var name="es][stopwordlist" value="un,una,unas,unos,uno,sobre,todo,también,tras,otro,algún,alguno,alguna,algunos,algunas,ser,es,soy,eres,somos,sois,estoy,esta,estamos,estais,estan,como,en,para,atras,porque,por qué,estado,estaba,ante,antes,siendo,ambos,pero,por,poder,puede,puedo,podemos,podeis,pueden,fui,fue,fuimos,fueron,hacer,hago,hace,hacemos,haceis,hacen,cada,fin,incluso,primero,desde,conseguir,consigo,consigue,consigues,conseguimos,consiguen,ir,voy,va,vamos,vais,van,vaya,gueno,ha,tener,tengo,tiene,tenemos,teneis,tienen,el,la,lo,las,los,su,aqui,mio,tuyo,ellos,ellas,nos,nosotros,vosotros,vosotras,si,dentro,solo,solamente,saber,sabes,sabe,sabemos,sabeis,saben,ultimo,largo,bastante,haces,muchos,aquellos,aquellas,sus,entonces,tiempo,verdad,verdadero,verdadera,cierto,ciertos,cierta,ciertas,intentar,intento,intenta,intentas,intentamos,intentais,intentan,dos,bajo,arriba,encima,usar,uso,usas,usa,usamos,usais,usan,emplear,empleo,empleas,emplean,ampleamos,empleais,valor,muy,era,eras,eramos,eran,modo,bien,cual,cuando,donde,mientras,quien,con,entre,sin,trabajo,trabajar,trabajas,trabaja,trabajamos,trabajais,trabajan,podria,podrias,podriamos,podrian,podriais,yo,aquel"/>

	</defaults>
</settings>