Integrating SPG in a subfolder
-
Hello, I am banging my head on this problem and I dont know enough about htaccess to figure it out. I will try to be as specific as possible but am rather confused myself!!
My site is setup using “categories” for the front page and “pages” for all else like this:
home/
media/music/
media/lyrics/
media/gallery/
about/
contact/I am trying to incorporate SPG gallery into the media/gallery/ folder. The problem is the additional directory (media).
what i’d like to do if its possible is have the spg gallery load when gallery is selected. At the moment, the gallery page that loads is the page i created within wordpress.
If I create a “real”media folder and put the gallery folder in it so its like:
media/gallery/
then my other media pages do not work as it conflicts with the virtual site structure. I figure this could be defeated using htaccess but am not sure how to proceed or if its the best way.
I searched to no avail because all other spg installations seem to use : me.com/gallery/ or me.com/wp/gallery/ and what i need is : me.com/media/gallery/
the ht access is like this:
DirectoryIndex sp_index.php
RewriteEngine On
RewriteBase /gallery/RewriteRule ^folder/(.*) sp_index.php?dir=./$1
RewriteRule ^file/(.*) sp_index.php?file=./$1
RewriteRule ^thumb/(.*) sp_getthumb.php?source=$1is there something i could add here that would make spg perform as if there were an actual “real” folder titled media but at the same time not conflict with the “virtual” site structure wordpress is using?
btw, i am using wp 1.5.1.3 and spg for wp.
Thanks in advance,
Rob
- The topic ‘Integrating SPG in a subfolder’ is closed to new replies.