<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Url Modification Help!</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 21:29:12 -0000</pubDate>

		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Yes, what you want is advanced rewriting. There's some examples in the article that you can use for that (the one for pages).]]></description>
			<pubDate>Fr, 15 Okt 2010 17:39:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26649]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[if you have really read the article you would know that it uses the functions.custom.php in system folder to add functions for the rewrite process...<br />
<br />
so basicly the htaccess file delivers a &quot;rewritten&quot; url for cot to understand and know how to work with. in your example to: page.php?id=123 .]]></description>
			<pubDate>Fr, 15 Okt 2010 13:18:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26647]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[Ok, i've got it working for all the basic url's such as forums, plugins, contact etc..<br />
I still have another question though.<br />
<br />
Take for example this url on the Cotonti website:<br />
www.cotonti.com/downloads/releases/genoa_0610<br />
Normally that would be like this:<br />
www.cotonti.com/page.php?id=23<br />
<br />
How does that work?]]></description>
			<pubDate>Do, 14 Okt 2010 02:16:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26639]]></link>
		</item>
		<item>
			<title>urlkiller</title>
			<description><![CDATA[<blockquote>One more note (not related to the above):<br />
If you want to match a parameter in urltrans by using a * (for example e=someplug&amp;var=*) but you don't want the value for 'var' to be in the output url, you have to put {!$var} instead of {$var}. </blockquote>
<br />
interesting!]]></description>
			<pubDate>So, 10 Okt 2010 14:48:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26591]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[In urltrans.dat:<br />
<pre>plug	e=contactus	contact</pre>
<br />
In .htaccess:<br />
<pre>RewriteRule ^contact$ plug.php?e=contactus [NC,NE,QSA,L]</pre>
<br />
You see, the rightmost column in urltrans.dat is what you put first in the rewriterule. The first two columns are combined and form the second part of your rewriterule.<br />
<br />
One more note (not related to the above): <br />
If you want to match a parameter in urltrans by using a * (for example e=someplug&amp;var=*) but you don't want the value for 'var' to be in the output url, you have to put {!$var} instead of {$var}.]]></description>
			<pubDate>Do, 07 Okt 2010 02:54:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26545]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[Thank you for giving some more detailed information, but i'm still not completely sure on how to do it. My knowledge about stuff like this is still very basic.<br />
<br />
If for example I would like to rewrite this url: /plug.php?e=contactus into /contact<br />
What should be placed in urltrans.dat and what should be placed in .htaccess?<br />
<br />
I'm trying to fully understand it before I might screw it up again..]]></description>
			<pubDate>Mi, 06 Okt 2010 23:23:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26539]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Personally I always write the urltrans.dat myself instead of using the admin panel. That has always given me much better results, probably because I've never really understood the admin interface for this.<br />
<br />
It is actually very simple. You just have to make sure that your .htaccess rules match up with the urltrans rules. The most generic rules (* * {$_area}.php being the absolute most generic) should always be at the bottom. For example:<br />
<br />
<pre>admin	m=*	admin/{$m}
admin	*	admin
pm	*	pm
users	*	members
index	*	home
rss	*	rss
*	*	{$_area}.php</pre>
<br />
The first item (column) on the line is the name of the file (script) you're writing the rule for, so <em>forums.php</em> becomes <em>forums</em>. The second item is the query string you want to match, but leaving off the questionmark at the beginning. A variable in your .htaccess is an asterisk (*) in urltrans.dat. The third item is what the url will come to look like after the transformation. This is what the .htaccess rewriterule should match. You can call a query string parameter from the second item by preceding it with a dollar sign ($) and enclosing it with accolades. See the first line in the example above: m=* becomes {$m}<br />
<br />
Here's a more complicated rule (first the urltrans.dat line, then the .htaccess rule):<br />
<br />
<pre>plug	e=userresults&amp;u=*&amp;resid=*&amp;m=scores	{$u}/scores/{$resid}</pre>
<pre>RewriteRule ^(.*)/scores/([0-9]+)$
	plug.php?e=userresults&amp;u=$1&amp;resid=$2&amp;m=scores [NC,NE,QSA,L]</pre>
<br />
I hope this helps. Don't forget that items/columns must be separated by one tab.]]></description>
			<pubDate>Di, 05 Okt 2010 04:24:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26505]]></link>
		</item>
		<item>
			<title>peptobismal</title>
			<description><![CDATA[Okay, well, I had this problem? I know how to revert it back, but not to get it to modify URLs. Already have confirmed my server to have mod_rewrite on it as well. <br />
<br />
Under the heading: Basic URL Tool Details<br />
It gives this: <a href="http://xxx.xxx.xxx/admin.php?m=urls" rel="nofollow">http://xxx.xxx.xxx/admin.php?m=urls</a> &lt; As a way to go straight to the URL Modification, just reset it all back, instead of doing things the hard way. Other than that I am no help. I've been messing with values here and there to see which ones work for the pages without displaying different errors.]]></description>
			<pubDate>Mo, 04 Okt 2010 14:43:14 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26477]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[I've got a big problem..<br />
<br />
I've tried to do some modifications on the url's, and I think I messed it up pretty good..<br />
<br />
None of the url's in the account menu are working, the admin panel is not working as it should and a lot of other links do not work anymore and are all changed to www.mydomain.net instead of for example www.mydomain.com/admin.php<br />
<br />
Is there any way I can reset this? <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/sad.gif" alt=":(" /><br />
<br />
Edit: Pfew, replacing urltrans.dat with the original one from the Cotonti package got it back to normal.<br />
<br />
I did read <a href="http://www.cotonti.com/docs/en/admin/url_modification,">http://www.cotonti.com/docs/en/admin/url_modification,</a> but I still can't really figure out how to set it up properly, can someone give me some assistence with this?]]></description>
			<pubDate>Sa, 02 Okt 2010 01:12:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=5948&d=0#post26445]]></link>
		</item>
	</channel>
</rss>