Program Dead - How to Best Re-Direct

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jigster715
    So Fucking Banned
    • Jul 2015
    • 1459

    #1

    Tech 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.
  • Miguel T
    ♦ Web Developer ♦
    • May 2005
    • 12470

    #2
    SQL Mass-Replace is one option...

    Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress

    Comment

    • Jigster715
      So Fucking Banned
      • Jul 2015
      • 1459

      #3
      Originally posted by Zuzana Miguel
      SQL Mass-Replace is one option...
      Hi, Miguel. Thanks for that. I think we will try that for the wp blogs and 301's for the html gals. I think. lol.

      Comment

      • Paul&John
        Confirmed User
        • Aug 2005
        • 8619

        #4
        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
        Use coupon 'pauljohn' for a $1 discount at already super cheap NameSilo!
        Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here

        Comment

        • Konda
          ...
          • Apr 2003
          • 2280

          #5
          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/

          Comment

          • Freedom6995
            Friends of Venus founder
            • Jul 2010
            • 1975

            #6
            Sponsor name?

            Comment

            • Barry-xlovecam
              It's 42
              • Jun 2010
              • 18083

              #7
              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 ....

              Comment

              • Jigster715
                So Fucking Banned
                • Jul 2015
                • 1459

                #8
                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.

                Comment

                • rogueteens
                  So fucking bland
                  • Jul 2006
                  • 8005

                  #9
                  Originally posted by Freedom6995
                  Sponsor name?
                  seconded
                  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!!

                  Comment

                  Working...