homepage Welcome to WebmasterWorld Guest from 54.227.67.210
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
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
m0z70




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

Hey.

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/

 

jeffatrackaid




msg:3860176
 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.

m0z70




msg:3860699
 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