Warning: include(.../cache/template/template63867.php): failed to open stream: No such file or directory in /home/codingta/public_html/includes/vb5/template.php on line 328 Warning: include(): Failed opening '.../cache/template/template63867.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/codingta/public_html/includes/vb5/template.php on line 328 Permalink issues - Coding-Talk

Permalink issues

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • help Permalink issues

    Hello
    I need htaccess code to make permalinks and redirect them on a single file
    like i need example.com/a
    example.com/b
    example.com/c
    example.com/anything
    these urls to show my index file

  • #2
    do u mean u want to hide folder files so that nobody can access ur folder files using the folder url?

    Comment


    • #3
      Old question but I guess you was looking for this:
      Code:
      RewriteEngine on
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ /index.php?path=$1 [NC,L,QSA]

      Comment

      Working...
      X