Page 1 of 1

Serendipity related issue?

Posted: Tue Jun 13, 2006 3:07 pm
by chscott
I just recently finished the Serendipity installation as the root site on my hosted server. I decided to add an an album, so I created a directory "albums" outside of the Serendipity directories. I then uploaded the first album files to the "albums" directory. Now when I type the url in "http://mysite.com/albums/AlbumName/index.html, I am immediately directed to the root site (http://mysite.com). Any ideas why this would happen?

Any help would be much appreciated! Thanks!!1

Posted: Tue Jun 13, 2006 3:28 pm
by judebert
Serendipity creates a .htaccess file that, by default, redirects all URLs anywhere in its subdirectory to Serendipity itself. If s9y can't figure out which article you want, it displays the front page.

Luckily, Apache will look for .htaccess files in the subdirectories and use them instead of the base directory's. Make an .htaccess file in your albums/ directory and put this line in it:

Code: Select all

RewriteEngine off
Then you should see the albums.

Posted: Tue Jun 13, 2006 3:59 pm
by chscott
judebert

Thank You! Thank You!1

Posted: Tue Jun 13, 2006 10:34 pm
by judebert
Happy to help out. Have fun with Serendipity!