homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Redirect .swf
How to redirect .swf with Flash - duplicate content

 9:38 am on Feb 26, 2009 (gmt 0)


New to the forum and would really appreciate some help.

I believe I've received duplicate content penalties due to a lack of htaccess, and so trying to tighten it up.

Just as index.html redirects back to /, I want to make the .swf file that is used on any page redirect back to the containing folder.

ie - www.domain.com/photos/gallery.swf > www.domain.com/photos/



 2:33 am on Mar 1, 2009 (gmt 0)

You will need to setup two rules for this to work.
You will need a Redirect rule or RedirectPermanent
and you will need a DirectoryIndex rule to set the gallery.swf file as an index. Consult the apache docs for the syntax on these

Search for tutorials on url canonization for more details.


 12:31 am on Mar 2, 2009 (gmt 0)

Thanks for the reply, will search for these.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved