see title, thanks
Is it possible to assign a 404 page only to a certain folder or directory?
Collapse
X
-
I have a buttload of galleries, like this:
gallery-pages/page/files/thumbs/thumb.jpg
gallery-pages/page/files/pictures/picture.jpg
I want the gallery pages to work, show the thumbnails, but I'd like to redirect the thumb clicks to the sponsor rather than the actual picture. What's the best way to redirect requests for the /pictures folder, without affecting my gallery-pages?
(I know I said 404 earlier, I didn't think it through all the way.)Last edited by Wolfy; 02-26-2005, 09:52 PM.Comment
-
ok slow down and speak english ...Originally posted by WolfyI have a buttload of galleries, like this:
gallery-pages/page/files/thumbs/thumb.jpg
gallery-pages/page/files/pictures/picture.jpg
I want the gallery pages to work, show the thumbnails, but I'd like to redirect the thumb clicks to the sponsor rather than the actual picture. What's the best way to redirect requests for the /pictures folder, without affecting my gallery-pages?
(I know I said 404 earlier, I didn't think it through all the way.)
you want the thumb clicks to go to the sponsor ?
you mean you don't want this gallery listed anywhere ?
I'm confussled.
Martha this damned interwebby thingy is messed up again. I may have downloaded the rest of the interwebby.Comment
-
YARGH! I smell a banning on a lot of TGP's.
You should be careful when redirecting older submissions. Some tgp's will ban you for that.
If I misunderstood what you were askin'... AHOY! me hearties get back to yer decks, and eat some grilled guppies!
Need to get a site indexed in a few days? Want thousands of targeted, quality hits to your site? Want to beta test something that will revolutionize the way companies, and individuals advertise online.? Click here to take a look at BliggoComment
-
remove all pictures from that folder then and put an .htaccess in with this line:Originally posted by Wolfyhahaha, sorry - long day. Yes, I want my thumb clicks to go to a sponsor.
Since the actual pictures are all in a subfolder - I figure if I can make that folder redirect I won't have to go through and replace close to 1000 links by hand.
ReDirect 404 http://mysponsor.tld/somepage.html/mycodewhateverComment
-
Isn't that kinda shady? Why would you want to redirect thumbs on already made galleries?Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip ManagerComment
-
They are my galleries on my site, so I want to try sending straight to the sponsor. If I was a submitter I would never do it, but that's not the case.
Always nice to see the pirate... You know why I don't let my kids watch pirate movies? Because they are rated "ARrrrrrrrrrrrrrrrrr...." :DComment
-
ErrorDocument 404 http://www.google.comOriginally posted by WolfyJFPdude, that didn't work.. I deleted all the files, put the htaccess with ONLY that line in it, and tested. It goes to my current 404. Any ideas?Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip ManagerComment
-
That worked, thanks for the help everyoneOriginally posted by wojErrorDocument 404 http://www.google.comComment


Comment