<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : url mod rewrite..</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Thu, 30 Apr 2026 17:38:25 -0000</pubDate>

		<item>
			<title>young mone</title>
			<description><![CDATA[Options +FollowSymlinks<br />
RewriteEngine On<br />
#RewriteBase /<br />
<br />
# AddType application/x-httpd-php .php .html<br />
#AddHandler php-cgi .php .html<br />
#Action php-cgi /cgi-bin/php.cgi<br />
<br />
<br />
# **** NEW FORUMS ****<br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^forum\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^$ 					forums.php [L]<br />
<br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^forum\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^(.*)-t([0-9]*)\.html(.*)$ 			forums.php?m=posts&amp;q=$2$3 [L]<br />
<br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^forum\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^(.*)-f([0-9]*)\.html(.*)$ 			forums.php?m=topics&amp;s=$2$3 [L]<br />
<br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^forum\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^(.*)-s([0-9]*)\.html$ 			forums.php?m=topics&amp;s=$2$3 [L]<br />
<br />
# **** NEW PAGE/LIST REWRITE ****<br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} !^(forum|forums|gallery|main)\.([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^([^.]+)\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^(.+)\.html(.*)$ /page.php?al=$1&amp;comments=1$2 [L]<br />
<br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} !^(forum|forums|gallery|main)\.([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^([^.]+)\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^$ list.php?c=%1 [L]<br />
<br />
RewriteCond %{HTTP_HOST} ^main\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^$ 				<a href="http://www.%1.%2/" rel="nofollow">http://www.%1.%2/</a> [R=301,L]<br />
<br />
RewriteCond %{HTTP_HOST} ^main\.([^.]+)\.(com|org|si|net)/?$<br />
RewriteRule ^(.+)$ 				<a href="http://www.%1.%2/$1" rel="nofollow">http://www.%1.%2/$1</a> [R=301,L]<br />
<br />
RewriteCond %{REQUEST_URI} !^/(.*)/$<br />
RewriteCond %{REQUEST_URI} !^/(.*)/(.*)\.html$<br />
RewriteCond %{REQUEST_URI} !^/(links|blogs|bloglist)\.html$<br />
RewriteCond %{REQUEST_URI} !^/blog-(.*)\.html$<br />
RewriteCond %{REQUEST_URI} !^/(.*)-b([0-9]*)\.html$<br />
RewriteRule ^(.*)\.html(.*)$ 				page.php?al=$1&amp;comments=1$2 [L]<br />
<br />
RewriteRule ^forum/$ 									forums.php [L]<br />
RewriteRule ^forum/(.*)-t([0-9]*)\.html(.*)$ 			forums.php?m=posts&amp;q=$2$3 [L]<br />
RewriteRule ^forum/(.*)-f([0-9]*)\.html(.*)$ 			forums.php?m=topics&amp;s=$2$3 [L]<br />
RewriteRule ^forum/(.*)-s([0-9]*)\.html$ 				forums.php?m=topics&amp;s=$2$3 [L]<br />
RewriteRule ^tags/(.*)\.html$ plug.php?e=pagesearch&amp;what=$1 [L]<br />
RewriteRule ^(.*)/(.*)\.html(.*)$						page.php?al=$2&amp;comments=1$3 [L]<br />
RewriteRule ^(.*)/$ 									list.php?c=$1 [L]<br />
<br />
## *** Catch all for any /*/ ****<br />
#RewriteCond %{HTTP_HOST} ^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
#RewriteCond %{REQUEST_URI} !^/(users|forum|forums|reviews|main|tags)/(.*)\.html$<br />
#RewriteRule ^(.*)/(.*)\.html(.*)$ 				<a href="http://$1.%2.%3/$2.html$3" rel="nofollow">http://$1.%2.%3/$2.html$3</a> [R=301,L]<br />
<br />
#RewriteCond %{HTTP_HOST} ^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
#RewriteCond %{REQUEST_URI} !^/(users|forum|forums|reviews|main|tags)/$<br />
#RewriteRule ^(.*)/$ 						<a href="http://$1.%2.%3/" rel="nofollow">http://$1.%2.%3/</a> [R=301,L]<br />
<br />
# **** SITEMAP ****<br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^([^.]+)\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^sitemap\.xml$ /rss.php?m=sitemap&amp;cat=%1 [L]<br />
<br />
# **** OTHER ****<br />
RewriteRule ^users/(.*)\.html(.*)$ 						users.php?m=details&amp;name=$1 [L]<br />
<br />
# **** SAFETY ****<br />
<br />
RewriteCond %{QUERY_STRING} (\&quot;|%22).*(\&gt;|%3E|&lt;|%3C).* [NC]<br />
RewriteRule ^(.*)$ redirect.html [NC]<br />
RewriteCond %{QUERY_STRING} (\&lt;|%3C).*script.*(\&gt;|%3E) [NC]<br />
RewriteRule ^(.*)$ redirect.html [NC]<br />
RewriteCond %{QUERY_STRING} (\;|\'|\&quot;|\%22).*(union|insert|where|select|update|drop|md5|or|and|if).* [NC]<br />
RewriteRule ^(.*)$ redirect.html [NC]<br />
RewriteRule (,|;|&lt;|&gt;|'|`) redirect.html [NC]<br />
<br />
# **** MESSAGES ****   <br />
RewriteCond %{HTTP_HOST} !^(www\.)?([^.]+)\.(com|org|si|net)?$<br />
RewriteCond %{HTTP_HOST} ^([^.]+)\.([^.]+)\.(com|org|si|net)?$<br />
RewriteRule ^message\.php(.*)$ 				<a href="http://www.%2.%3/message.php$1" rel="nofollow">http://www.%2.%3/message.php$1</a> [R,L]<br />
RewriteRule ^(.*)/message\.php(.*)$ /message.php$3 [R,L]   <br />
RewriteRule ^(.*)/(.*)/message\.php(.*)$ /message.php$4 [R,L]   <br />
<br />
# **** ERROR MESSAGES **** <br />
<br />
ErrorDocument 400 /plug.php?e=error&amp;m=400<br />
ErrorDocument 401 /plug.php?e=error&amp;m=401<br />
ErrorDocument 403 /plug.php?e=error&amp;m=403<br />
ErrorDocument 404 /plug.php?e=error&amp;m=404<br />
ErrorDocument 500 /plug.php?e=error&amp;m=500<br />
<br />
RewriteCond %{HTTP_HOST} ^([^.]+)\.(com|org|si|net) [NC] <br />
RewriteRule ^(.*)$ <a href="http://www.%1.%2/$1" rel="nofollow">http://www.%1.%2/$1</a> [R=301,L]<br />
<br />
RewriteRule ^index.php / [R=301,L]<br /><br /><b>Added 1 day later:</b><br /><br />anyone]]></description>
			<pubDate>Wed, 03 Mar 2010 09:29:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5381&d=0#post23369]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[How did you configure your .htaccess?]]></description>
			<pubDate>Wed, 03 Mar 2010 06:16:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5381&d=0#post23368]]></link>
		</item>
		<item>
			<title>young mone</title>
			<description><![CDATA[well it kinda broke my site<br />
Not Found<br />
<br />
The requested URL /forum/test-t14.html was not found on this server.<br />
<br />
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.]]></description>
			<pubDate>Wed, 03 Mar 2010 05:33:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=5381&d=0#post23367]]></link>
		</item>
	</channel>
</rss>