Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\?product=([^&]+)&color=([^&]+)&size=([^&]+)&texture=([^&]+)&maker=([^\ ]+)\ HTTP/
RewriteRule ^index\.php$ http://example.com/product/%1/%2/%3/%4/%5? [R=301,L]
niksdevil каза:Видях, но не можах да се оправя.
http://сайт.com/product.php?id=12
http://сайт.com/product-12.html
RewriteEngine on
RewriteRule ^product-([0-9]+)\.html$ product.php?id=$1
niksdevil каза:Здравейте, как да направя от този линк,
http://сайт.com/index.php?page=video&id=1550
да стане така:
http://сайт.com/watch/1550
RewriteRule ^watch/([0-9]+)/$ /index.php?page=video&id=$1
Използвай пълния адрес в img тага, или сложи RewriteCondniksdevil каза:Окей, справих се, но изображенията заминаха на кино... Идея ?
RewriteRule ^user/(.*) /index.php?page=users&user=$1
RewriteRule ^user/(.*) /index.php?page=users&user=$1
RewriteRule ^watch/(.*) /index.php?page=video&id=$1
RewriteRule ^watch/(.*) /index.php?page=video&id=$1
RewriteCond %{REQUEST_URI} !\.(css|gif|ico|jpg|js|png|swf|txt)$
Ще го споделиш ли тук, ако все пак някой има същия проблем би могло да е от помощ :?:niksdevil каза:Намерих начина...