# .htaccess & loadVariable URLs

**URL:** <https://forum.kirupa.com/t/htaccess-loadvariable-urls/211678>\
**Category:** flash\
**Created:** [January 4, 2007, 5:32am UTC](https://forum.kirupa.com/t/htaccess-loadvariable-urls/211678 "2007-01-04T05:32:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheOnyxGuy](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@TheOnyxGuy](https://forum.kirupa.com/u/TheOnyxGuy)\
**Post date:** [January 4, 2007, 5:32am UTC](https://forum.kirupa.com/t/htaccess-loadvariable-urls/211678/1 "2007-01-04T05:32:32Z")

</div>

I’m stumped on this issue and I was wondering if someone might have an answer for me. The issue is with [www.connectid.net](http://www.connectid.net). We’ve put in a Flash menu on the right and the way it works is that it loads variables from a .txt file as to which url to go to. The issue we’ve had is that it doesn’t work for everyone. On my machines it works perfectly fine (Win 98 IE 7, Win XP IE 6 & Firefox), but on my partner’s, 2 out of the three he’s used, takes him to [COLOR=#000000][FONT=MS Shell Dlg][http://www.connectid.net/?L=users.profile&id=undefined](http://www.connectid.net/?L=users.profile&id=undefined). We believe that it has to do with the .htaccess that’s need for this community script we use. We’ve cleared cache but it only helped my machine. Any help would be greatly appreciated.

- Thanks TOG

.htaccess:

Options +FollowSymlinks  
RewriteEngine on  
RewriteRule ^([a-z0-9]+)$ [http://www.connectid.net/?L=users.profile&id=$1](http://www.connectid.net/?L=users.profile&id=%241) [r=301,nc]

AS:

loadVariables(“[http://www.connectid.net/URLs.txt","](http://www.connectid.net/URLs.txt%22,%22)”);

//Multimedia Menu Button  
multimedia\_mc.onRollOver = function () {  
multimedia\_mc.gotoAndPlay(“s1”);  
}  
multimedia\_mc.onRollOut = function (){  
multimedia\_mc.gotoAndPlay(“s2”);  
}  
multimedia\_mc.onRelease = function () {  
getURL(Multimedia, “\_parent”);  
}  
(etc. etc.)

.txt:

&Ad1=http://connectid.net/Multimedia/nfblog/archives/74  
&Ad2=http://connectid.net/Multimedia/nfblog/archives/74  
&Cover=http://connectid.net/Multimedia/nfblog/archives/97  
&Month=August  
&variable2=value2  
&Multimedia=http://www.connectid.net/Multimedia/nfblog/  
&Entertainment=http://www.connectid.net/Entertainment2/  
&Lifestyle=http://www.connectid.net/Lifestyle/nfblog/  
&Photo=http://connectid.net/gallery.html  
&Games=http://connectid.net/Games/nfblog/archives/32  
&Contact=http://www.connectid.net/?L=info.contact  
&Community=http://www.connectid.net/community/  
[/FONT][/COLOR]
