| Code: |
| #Articles
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([0-9]*).html /modules.php?name=News&file=article&sid=$1&mode=$2&order=$3&thold=$4 RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) /modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 RewriteRule ^article-topic([0-9]*)-page([0-9]*).html /modules.php?name=News&new_topic=$1&pagenum=$2 RewriteRule ^article-category([0-9]*)-page([0-9]*).html /modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 RewriteRule ^article-category-([0-9]*).html /modules.php?name=News&file=categories&op=newindex&catid=$1 RewriteRule ^article-print-([0-9]*).html /modules.php?name=News&file=print&sid=$1 RewriteRule ^article-friend-([0-9]*).html /modules.php?name=News&file=friend&op=FriendSend&sid=$1 RewriteRule ^article-page-([0-9]*).html /modules.php?name=News&pagenum=$1 RewriteRule ^article([1-9][0-9]*).* /modules.php?name=News&file=article&sid=$1 RewriteRule ^article-topic-([0-9]*).html /modules.php?name=News&new_topic=$1 RewriteRule ^allnews.html /modules.php?name=News&file=allindex RewriteRule ^news.html /modules.php?name=News |
| Code: |
| <?php
$urlin = array( "'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)&mode=([a-z]*)&order=([0-9]*)&thold=([0-9]*)'", "'(?<!/)modules.php\?name=News&new_topic=([0-9]*)&pagenum=([0-9]*)'", "'(?<!/)modules.php\?name=News&file=categories&op=newindex&catid=([0-9]*)&pagenum=([0-9]*)'", "'(?<!/)modules.php\?name=News&file=categories&op=newindex&catid=([0-9]*)'", "'(?<!/)modules.php\?name=News&file=print&sid=([0-9]*)'", "'(?<!/)modules.php\?name=News&file=friend&op=FriendSend&sid=([0-9]*)'", "'(?<!/)modules.php\?name=News&pagenum=([0-9]*)'", "'(?<!/)modules.php\?name=News&file=article&op=newindex&catid=([0-9]*)'", "'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'", "'(?<!/)modules.php\?name=News&new_topic=([0-9]*)'", "'\"(?<!/)modules.php\?name=News\"'", "'(?<!/)modules.php\?name=Search&author=([a-zA-Z0-9_-]*)'", "'(?<!/)modules.php\?name=Search&topic=([0-9]*)'", "'(?<!/)modules.php\?name=Your_Account&op=([a-z_]*)'", "'(?<!/)modules.php\?name=Topics'" ); $urlout = array( "article-\\1-\\2-\\3-\\4.html", "article-topic\\1-page\\2.html", "article-category\\1-page\\2.html", "article-category-\\1.html", "article-print-\\1.html", "article-friend-\\1.html", "article-page-\\1.html", "article-cat-\\1.html", "article\\1.html", "article-topic-\\1.html", "\"news.html\"", "search-author-\\1.html", "search-\\1.html", "account-\\1.html", "topics.html" ); ?> |
| Citation: |
| que faut t-il modifier dans le .htaccess et google tape pour pouvoir faire ceci ? enfin si c'est possible, et bien que j'ai ma petite idée il me manque des informations. |
Toutes les heures sont au format GMT + 2 Heures