Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendly url support #1

Open
Dvornik opened this issue Mar 26, 2014 · 0 comments
Open

Friendly url support #1

Dvornik opened this issue Mar 26, 2014 · 0 comments

Comments

@Dvornik
Copy link

Dvornik commented Mar 26, 2014

Hi! Can i add friendly url support?

The dynamic url is: http://host.com/?dir=directory/subdirectory

What I want: http://host.com/directory/subdirectory

I read documentation and wrote following rule in .htaccess:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([\/\A-Za-z0-9-]+)/?$  /?dir=$1 [L]

It works fine in this tester http://htaccess.madewithlove.be/ but not on directory listener. I think I need reversed rule. Could you explain me, how I can solve this problem, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant