• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Another .htaccess Dilemma


Jazajay

Active Member
#2
Hay I'm at a mates pool and BBQ party at the mo, taking 10 mins out as I'm still recovering from last night TBH and everyones in the pool so if this is wrong let me know and I'll have a re-think, not entirey with it if I'm honest.

But if you are running an Apache server create a plain file and call it .htaccess.

In that file write:
RewriteEngine On
RewriteRule ^devtogethr/public$ devtogethr/

Upload that, or save it, to your root directory.

Then access http://localhost/devtogethr/ and it will display the contents from http://localhost/devtogethr/public

Any problems let me know.
Jaz

Key:
Red ~ Mod_Rewrite