I manage a phpbb site and our users use photobucket a lot to post images, video, slideshows, etc. Images are no big deal, but for our users to post videos or slideshows they have to remove some stuff from the url that photobucket gives them. For example: This is a direct link to a slideshow. http://s305.photobucket.com/albums/nn213/tdave00/?action=view¤t=44972a4a.pbw But the embed code that I use for the BB code requires that "?action=view¤t=" be removed from the url. I was thinking I could change the bb code so that it was something like below. http://mysite.com/pbredirect=http://s305.photobucket.com/albums/nn213/tdave00/?action=view¤t=44972a4a.pbw Code (markup): Hoping that would redirect it to the pbredirect directory so that I could place and htaccess file there to use modrewrite and strip http://mysite.com/pbredirect= Code (markup): and ?action=view¤t= Code (markup): from the url and then redirect with the correct url. If that would work could anyone share the code to strip those parts from the url? Thanks.