Hi,
I’m trying to install wordpress for a friend of mine. He’s got jamroom installed in the root directory and I’m trying to install wordpress in a subdirectory. The install is fine but I can’t access the blog because i get this error:
{{Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
This webpage has a redirect loop
We contacted the webhost and they said it’s the jamroom’s .htaccess file that causes the problem. They said that the redirects are preventing us from using any subdirectories not associated with jamroom.
What do we have to change in the .htaccess file to solve this problem?
This is the content of the .htaccess file
#-----------------------------------------
# Jamroom 4 SEFJAM .htaccess file
# $Id: sefjam_htaccess,v 1.5 2010/02/11 16:16:33 bigguy Exp $
#-----------------------------------------
Options +FollowSymLinks
Options -MultiViews
RewriteEngine On
# This is our fallback page if any friendly URL for a profile should
# fail to be redirected. Note that this is not needed unless you
# need to send failed URLs to a custom page
# Uncomment this line for Cobalt3, Sage, Flashback skins
#SetEnv JR_FRIENDLY_FAIL lists/browse_artist/search_string=
# Uncomment for Nova skin
#SetEnv JR_FRIENDLY_FAIL lists/artists/search_string=
# Uncomment if you are using the Nova or JamTube skins and settings.cfg.php uses a WWW url
RewriteCond %{HTTP_HOST} !^www\\.
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
#
# Uncomment if you are using the Nova or JamTube skins and settings.cfg.php uses a NON WWW url
#RewriteCond %{HTTP_HOST} ^www\\.(.+)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
# If we come in EMPTY, just load the index
RewriteRule ^$ index.php [L]
# jrMobile
RewriteRule ^mobile(/)$ index.php?module=jrMobile&t=index [L]
RewriteRule ^audio_([0-9]+).mp3$ jrMobileStream.php?mode=audio&id=$1 [E=SEFTAG:jrm_stream_audio,L]
# PAGES (templates)
# Rewrite Pattern Redirect URL Options - SEFTAG required!
RewriteRule ^pages/([^/]+) index.php?t=$1 [E=SEFTAG:pages,L]
RewriteRule ^charts/([^/]+) index.php?t=$1 [E=SEFTAG:charts,L]
RewriteRule ^lists/([^/]+) index.php?t=$1 [E=SEFTAG:lists,L]
RewriteRule ^articles/([^/]+) index.php?c=$1 [E=SEFTAG:articles,L]
RewriteRule ^signup/([^/]+) signup.php [E=SEFTAG:signup,L]
RewriteRule ^content/(.+) index.php?c=$1 [E=SEFTAG:content,L]
RewriteRule ^forum(/)+(.*)$ forum.php?band_id=0 [E=SEFTAG:forum,QSA,L]
RewriteRule ^comments(/)+(.*)$ comment.php [E=SEFTAG:comments,QSA,L]
RewriteRule ^community(/)+$ index.php?t=community [E=SEFTAG:community,QSA,L]
RewriteRule ^search(/)+$ index.php?t=search [E=SEFTAG:search,QSA,L]
# for Apicos Adtrackz Module (apAdtrackz)
# Rewrite Pattern Redirect URL Options
RewriteRule ^go/([A-Za-z0-9-_]+)/([A-Za-z0-9-_]+)/([A-Za-z0-9-_/]+)/?$ apAdtrackz.php?mode=go&c=$1&s=$2&u=$3 [QSA,L]
RewriteRule ^go/([A-Za-z0-9-_]+)/([A-Za-z0-9-_]+)/?$ apAdtrackz.php?mode=go&c=$1&s=$2 [QSA,L]
RewriteRule ^go/([A-Za-z0-9-_]+)/?$ apAdtrackz.php?mode=go&c=$1 [QSA,L]
RewriteRule ^st/([A-Za-z0-9-_]+)/?$ apAdtrackz.php?mode=st&s=$1 [QSA,L]
# SefJam support for Link Masker
RewriteRule ^chart=([^/]+)$ sefjam.php?uf_str=$1 [L]
RewriteRule ^list=([^/]+)$ sefjam.php?uf_str=$1 [L]
RewriteRule ^page=([^/]+)$ sefjam.php?uf_str=$1 [L]
# Profiles - specific pages
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{SCRIPT_FILENAME} !(([^/]+)\\.css)
RewriteCond %{SCRIPT_FILENAME} !(([^/]+)\\.xml)
RewriteCond %{REQUEST_URI} !^(.*epk.*)$
RewriteCond %{REQUEST_URI} !^(.*song_player.*)$
RewriteRule ^members/([0-9]+)(/.*)?$ sefjam.php?band_id=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/guestbook(/)?$ guestbook.php?mode=view_guestbook&template=script_guestbook.tpl&profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/epk(/)?$ epk.php?profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/contact(/)?$ contact.php?template=script_contact.tpl&profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/comments(/)?$ comment.php?mode=view_comments&type=band&template=script_comment.tpl&profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/share(/)?$ share.php?mode=form&template=script_share.tpl&profile=$1 [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/info(/)?$ $1/info.php [QSA,L]
RewriteRule ^([A-Za-z0-9_.-]+)/forum(/.*)?$ forum.php?profile=$1 [QSA,L]
# Profiles - entry
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/]+)((/.+\\.php)?/?)$ sefjam.php?uf_name=$1&uf_path=$2 [QSA,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^artists$ "http\\:\\/\\/www\\.artistsstores\\.com\\/index\\.php\\?t\\=artists" [R=301,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^store$ "http\\:\\/\\/www\\.artist\\ sstores\\.com\\/index\\ \\.php\\?t\\=store\\ " [R=301,L]
RewriteCond %{HTTP_HOST} ^artistsstores.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.artistsstores.com$
RewriteRule ^artists$ "http\\:\\/\\/www\\.artist\\ sstores\\.com\\/index\\ \\.php\\?t\\=artists\\ " [R=301,L]
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^blogs$ "http\\:\\/\\/www\\.artistsstores\\.com\\/index\\.php\\?t\\=blogs" [R=301,L]
RewriteCond %{HTTP_HOST} ^artistsstores.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.artistsstores.com$
RewriteRule ^blogs$ "http\\:\\/\\/www\\.artistsstores\\.com\\/index\\.php\\?t\\=blogs" [R=301,L]
RewriteCond %{HTTP_HOST} ^artistsstores.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.artistsstores.com$
RewriteRule ^lightroomgalleries\\/BlackWhite\\/$ "http\\:\\/\\/www\\.pooyasalehyar\\.com" [R=301,L]
RewriteCond %{HTTP_HOST} ^artistsstores.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.artistsstores.com$
RewriteRule ^gallery\\/?$ "http\\:\\/\\/www\\.artistsstores\\.com\\/index\\.php\\?t\\=photos" [R=301,L]
Thanks