Permalink issues

Started on the old forum in June 2017 · view the original in the archive · old links redirect here

2 replies · 85 views · started 9 years ago · 1 min read

3 participants
abhitn Junior · 15 posts #1

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

thunderwap Developer · 169 posts #2

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

WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

something else Fellow · 2,296 posts #3

Old question but I guess you was looking for this:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?path=$1 [NC,L,QSA]

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close