1. Kategorie
Teraz to wyglada tak
http://gryonline-pl.pl/category/83/Gry_Lego
http://gryonline-pl.pl/category/85/Gry_3D
a wczesniej wygladało tak
http://gryonline-pl.pl/category/83/Gry_Lego/1.html
http://gryonline-pl.pl/category/85/Gry_3D/1.html
Jak osiągnąć efekt, któy był wcześniej ?
2.Nie działają s profile np:
http://gryonline-pl.pl/profile/1760/shrek.html
Jak widzicie zamiast profilu pojawia się informacja o tym,ze taka strona nie istnieje .
Cały kod htaccess wygląda tak
Kod
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^game/([0-9]+)/(.+)\.html$ file.php?f=$1&name=$2 [L]
RewriteRule ^category/([0-9]+)/(.+?)/([a-zA-Z]+)?/?([0-9]+)\.html$ browse.php?c=$1&p=$4&name=$2&order=$3 [L]
RewriteRule ^category/([0-9]+)/(.+)/?$ browse.php?c=$1&name=$2 [L]
RewriteRule ^profile/([0-9]+)/.+\.html$ profile.php?u=$1&name=$2 [L]
RewriteRule ^page/(.+)\.html$ page.php?p=$1 [L]
RewriteRule ^scores/([0-9]+)/([0-9]+)\.html$ scores.php?f=$1&p=$2 [L]
RewriteRule ^game/[0-9]+/(newscore|index)\.php$ $1.php [L]
RewriteRule ^game/[0-9]+/arcade/gamedata/(.*)$ arcade/gamedata/$1 [L]
RewriteRule ^g([0-9]+)/?$ links.php?a=short&f=$1 [L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
</IfModule>
RewriteEngine on
RewriteRule ^game/([0-9]+)/(.+)\.html$ file.php?f=$1&name=$2 [L]
RewriteRule ^category/([0-9]+)/(.+?)/([a-zA-Z]+)?/?([0-9]+)\.html$ browse.php?c=$1&p=$4&name=$2&order=$3 [L]
RewriteRule ^category/([0-9]+)/(.+)/?$ browse.php?c=$1&name=$2 [L]
RewriteRule ^profile/([0-9]+)/.+\.html$ profile.php?u=$1&name=$2 [L]
RewriteRule ^page/(.+)\.html$ page.php?p=$1 [L]
RewriteRule ^scores/([0-9]+)/([0-9]+)\.html$ scores.php?f=$1&p=$2 [L]
RewriteRule ^game/[0-9]+/(newscore|index)\.php$ $1.php [L]
RewriteRule ^game/[0-9]+/arcade/gamedata/(.*)$ arcade/gamedata/$1 [L]
RewriteRule ^g([0-9]+)/?$ links.php?a=short&f=$1 [L]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
</IfModule>
Jak to wszystko pozmieniać, żeby jednak działało ?