I'm moving my current blog (www.leighlo.com) to a new server (basically a migration from our server on its last legs to Dreamhost.com).
Anyway, in doing so, I've decided I want my blog to be my dedicated page and to have all my other pages sit inside the blog directory. So that means address like my gallery at www.leighlo.com/spore have to have the "spore" folder sit directly in the blog directory.
Except for that when I try to visit it, which at the moment is set up at http://leighlo.flollop.com/spore , I'm just being redirected to the blog and not to the image gallery.
Likewise with all other directories like with http://leighlo.flollop.com/projects/bowie , the same thing occurs.
Is there some way to disable Serendipity from sending me back to the root structure?
Directory issues
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
Yup, sure can, simply create text file and call it .htaccess (the point is required), and inside that file put this line
Then simply upload that file into any directory that isn't part of Serendipity such as the gallery folder you mention. This will now prevent Apache from redirecting site visitors to your Serendipity installation.
Be aware that the name of the file must be exactly as I typed it above, and you may have trouble finding this file in explorer because the point makes the file hidden, in whichcase simply set your folder view to show hidden files and you'll be ok.
Good luck,
Carl
Code: Select all
RewriteEngine Off
Be aware that the name of the file must be exactly as I typed it above, and you may have trouble finding this file in explorer because the point makes the file hidden, in whichcase simply set your folder view to show hidden files and you'll be ok.
Good luck,
Carl