# SWFAddress / mod\_rewrite question

**URL:** <https://forum.kirupa.com/t/swfaddress-mod-rewrite-question/284781>\
**Category:** flash\
**Created:** [March 23, 2009, 4:35pm UTC](https://forum.kirupa.com/t/swfaddress-mod-rewrite-question/284781 "2009-03-23T16:35:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_lar](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@the\_lar](https://forum.kirupa.com/u/the_lar)\
**Post date:** [March 23, 2009, 4:35pm UTC](https://forum.kirupa.com/t/swfaddress-mod-rewrite-question/284781/1 "2009-03-23T16:35:41Z")

</div>

Hi all,

I’ve got my site hooked up with SWFAddress and SWFObject and working pretty well. The last little bit is messing with my head though, I wonder if you can help.

I use mod\_rewrite to bring in the correct html content when visitors come from search engines. So the rules:

```auto
RewriteRule ^([^/\.]+)\+([^/\.]+)/?$ index.php?address=$1&page=$2 [L]
RewriteRule !\.(xml|swf|js|gif|jpg|png|css)$ index.php

```

result in a page such as this:  
\*\*/index.php?address=article&page=pageName \*\*  
when I visit:  
**/article+pageName**

But I also need to get the Flash to go to the right place as well, so the address  
**/article+pageName**  
needs to be changed to  
**/#/article+pageName**  
on the address bar, how do I do this?

Any help would be great  
Kevin
