Options -Indexes
<IFModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^index.html index.php [nc]

RewriteRule ^icdata/([^/]+)?$ index-modal.php?p=$1 [L,QSA]
RewriteRule ^icprime/([^/]+)?$ pajax.php?do=$1 [L,QSA]

RewriteRule ^pages/([^/]+) ic-module/content/pages-single.php?title=$1 [nc]
RewriteRule ^news/([^/]+) ic-module/content/news-single.php?title=$1 [nc]
RewriteRule ^posts/([^/]+) ic-module/content/posts-single.php?title=$1 [nc]
RewriteRule ^cat/([^/]+)?$ ic-module/content/cats.php?title=$1 [L,QSA]
RewriteRule ^agahi/([^/]+) ic-module/content/agahi-single.php?title=$1 [nc]

RewriteRule ^myfiles/([^/]+)?$ ic-module/users/panel.php?do=$1 [L,QSA]

RewriteRule ^forms/([^/]+)?$ ic-module/forms/$1.php [L,QSA]

RewriteRule ^users/([^/]+)?$ ic-module/users/$1.php [L,QSA]

</IFModule>

<FilesMatch "\.(ttf|otf|eot|woff)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>

