![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2005
Location: elkektex at gmail
Posts: 1,813
|
Any .htaccess masters?
I need some sort of .htaccess rule which will do the following:
I have a bunch of images in a folder that are hotlinked on other servers.I want to delete all these images and redirect all these 404`s so that instead of the hotlinkers getting a nice red X they`ll get a new image I`ll upload to my server. I know there is a way to do it but I don`t know how.Anyone?
__________________
exgfmovies.com, exgfclips.com, datesx.com, gayboards.com and more! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
|
rewriteEngine on
rewriteRule ^http://www.your-site.com/directory-of-images/(.*)$ http://www.your-site.com/newfile.jpg [R=301,L] everything after 'rewriteEngine on' should be on one line.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Mar 2005
Location: elkektex at gmail
Posts: 1,813
|
Thanks for the help!
Since I was planning to delete the images anyway I found a simple rule for 404`s: ErrorDocument 404 http://www.domain.com/newfile.jpg Thanks again!
__________________
exgfmovies.com, exgfclips.com, datesx.com, gayboards.com and more! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
Quote:
RewriteEngine on RewriteCond %{REQUEST_URI} !-U RewriteRule \.(gif|jpg|jpeg)$ /your_path_to/new.gif [L] # the following is for normal 404s ErrorDocument 404 http://www.your404.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
Oh, thanks for reminding me.
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() ![]() |