Serendipity related issue?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
chscott
Posts: 2
Joined: Tue Jun 13, 2006 2:51 pm

Serendipity related issue?

Post 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
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
chscott
Posts: 2
Joined: Tue Jun 13, 2006 2:51 pm

Post by chscott »

judebert

Thank You! Thank You!1
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Happy to help out. Have fun with Serendipity!
Judebert
---
Website | Wishlist | PayPal
Post Reply