![]() |
![]() |
![]() |
||||
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 |
So Fucking Banned
Industry Role:
Join Date: Jul 2015
Location: elmer blackwood mansion
Posts: 1,459
|
Program Dead - How to Best Re-Direct
Hundreds of links on galleries we made.
Looking for advice on how to best re-direct galleries and wp blog posts with as little SE damage as possible. Htaccess? 301's? Thank you in advance. Sucks cause they convert like mad but have decided to kick affiliates to the curb. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
♦ Web Developer ♦
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,472
|
SQL Mass-Replace is one option...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Industry Role:
Join Date: Jul 2015
Location: elmer blackwood mansion
Posts: 1,459
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,606
|
I'm pretty sure you can mass search/replace on server also via bash, however an alternative solution is to pull every html gallery locally, then there replace stuff via notepad++ or similar. Or just replace the index.html in the gallery folders with an index.php which redirects the traffic to the root or somewhere else.. or do that via .htaccess on the root
__________________
![]() Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
...
Industry Role:
Join Date: Apr 2003
Posts: 2,280
|
If all the galleries are html or php files you can ask your host to do a search and replace with a simple batch script using regular expression.
Like if affiliate links in all the galleries look for example something like: secure.xxxxx.com/track/XXXXX/ they can easily do a search and replace to change all the linkcodes to http://someotherlink.com/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Friends of Venus founder
Industry Role:
Join Date: Jul 2010
Posts: 1,968
|
Sponsor name?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
grep -rni '[pattern]'
tree or ls -ltR [*.php and/or *.html] then sed if you have the links hardcoded in HTML or scripts If you don't have SSH ![]() Good luck to you .... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Banned
Industry Role:
Join Date: Jul 2015
Location: elmer blackwood mansion
Posts: 1,459
|
Thank you for the kind replies. We are asking our host about doing the batch changes. Luckily its a dedicated box so I think SSH is in place as well.
If anyone has any other suggestions on mass changing links they are always welcome. Thanks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
So fucking bland
Industry Role:
Join Date: Jul 2006
Location: England
Posts: 8,005
|
__________________
Free traffic and backlinks from one of the fastest growing adult pinsites on the net - SAUCY PICTURES! ![]() Easily my best performing webcam sponsor - CLICK HERE!! |
![]() |
![]() ![]() ![]() ![]() ![]() |