CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Redirect Referrer
V551
post Jan 15 2009, 01:26 AM
Post #1


New Member
*

Group: Members
Posts: 4
Joined: 10-January 09
From: Ontario
Member No.: 9,761

Canada




Hi guys, this one has got me stumped... here is what I want to do:

I want to redirect a specific URL (http://www.example.com/page) from a swf file on my page to a different swf file using htaccess.

Is this possible?

So when www.example.com/page tries to access file1.swf, instaed of getting file1.swf I can redirect him to file2.swf.

Any help would be great.

Thanks


--------------------
Go to the top of the page
 
+Quote Post
TecKchriS
post Feb 9 2009, 08:26 PM
Post #2


oxymoronman
Group Icon

Group: ++Member
Posts: 118
Joined: 19-September 05
From: Greensburg, PA
Member No.: 2,893

United States

Bomb Darts Champion!
Hexxagon Champion!
Breakout Champion!



sorry for the late post, but would you want it too always redirect when you try to access file1.swf?

if so just a 301 redirect should work:
Redirect 301 http://www.example.com/file1.swf http://www.example.com/file2.swf



--------------------
Go to the top of the page
 
+Quote Post
V551
post Mar 13 2009, 03:47 PM
Post #3


New Member
*

Group: Members
Posts: 4
Joined: 10-January 09
From: Ontario
Member No.: 9,761

Canada




QUOTE(TecKchriS @ Feb 9 2009, 04:26 PM) *
sorry for the late post, but would you want it too always redirect when you try to access file1.swf?

if so just a 301 redirect should work:
Redirect 301 http://www.example.com/file1.swf http://www.example.com/file2.swf


That would work to redirect every link to the file, however I just want to redirect a specific referrer eg: someones myspace or facebook profile.

Thanks for your input though!



--------------------
Go to the top of the page
 
+Quote Post
endurne09
post Dec 6 2009, 08:56 AM
Post #4


New Member
*

Group: Members
Posts: 8
Joined: 3-October 09
From: United States
Member No.: 11,806

Nothing Selected




How would I redirect a user if they try going to my robot.txt file, but obviously spiders will still need to be able to access it. Im guessing this would be done in the .htaccess but Im unsure how.

Thank
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th May 2013 - 05:42 AM