I have some problems to make a full working .htaccess for my page.
I have made this .htaccess
- Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*)-(.*)\.html$ /vise.php?program=$2&ime_programa=$1 [QSA,L]
RewriteRule download-(.*)-(.*)\.html$ /download.php?program=$1&ime_programa=$2 [QSA,L]
RewriteRule ^kategorija-(.*)-(.*)\.html$ /kategorija.php?ispis=$1&imekat=$2 [QSA,L]
I want to rewrite these dynamic URL's to static:
1. /vise.php?program=13796&ime_programa=Maxthon-Standard
I want to: /Maxthon-Standard-13796.html
2. /kategorija.php?ispis=5&imekat=Audio
I want to: /Audio-5-kategorija.html
3. /programi.php?podkategorija=384&imepodkat=Audio-CD-Player
I want to: /Audo-CD-Player-Programi-384.html
4. /opsirnije.php?vijest=1310&info=Street-Figther-HD-Remix
I want to: /Street-Fighter-HD-Remix-1310.html
5. /index-freeware-new.php
I want to: /index-freeware-new.html
Is this possible, and can somebody make a full and work .htaccess.
Thank you. Best regards.

English |
French
