GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Stupid question, need instructions (https://gfy.com/showthread.php?t=1070207)

CPA37710T 06-03-2012 02:26 PM

Stupid question, need instructions
 
Hey guys:

so i just bought 98 domains and all i have to do now is change the actual links to my affiliatae links.

im very new on that field. If some of you can help me i will greatly appreciate it.

Whats the best software, dos and donts, this sites are veryyy outdated so any help will begreat!

thanks!

domainbroker 06-03-2012 02:42 PM

98 shitty sites I'm sure.

CPA37710T 06-03-2012 02:57 PM

regardless of their quality im asking here for assistance nothing else

fitzmulti 06-03-2012 03:01 PM

I'd say your FIRST move might be to put some contact info here...

Sly 06-03-2012 03:10 PM

You should be able to do a server-based search and replace. Depending on who your web hosting company is, they may do it for you.

If that is not an option, you can either do a search and replace through a text editor or you can hire someone to write you a simple script to do the search and replace for you. I would choose the latter.

CPA37710T 06-03-2012 03:16 PM

thanks guys!

Sly i'll hit you up on ICQ, to drive some traffic with this domains!

wehateporn 06-03-2012 03:21 PM

Good luck with your new sites CPA37710T :thumbsup

AsianDivaGirlsWebDude 06-03-2012 03:22 PM

http://roflrazzi.files.wordpress.com...-oh-please.jpg

Any more questions?

ADG

Barry-xlovecam 06-03-2012 03:28 PM

sed in ssh.
delete the old file then rename the new file to the old file's name.
back up the old until you are sure of the process.
Code:

cd /home/path
## ex:/old/new/
sed 's/11111/2222/g' t.htm
11111
sed 's/11111/2222/g' t.htm > tt.htm


- Jesus Christ - 06-03-2012 04:49 PM

Be aware that sed will change the modified date of EVERY file it opens not just the ones it makes changes to. You should pipe the output of a find/grep to sed if you are going to change a lot of files at once.

Restoring 50K files to get their modified dates back was not fun for me a few months ago.

CPA37710T 06-03-2012 06:44 PM

thank you jesus christ, the main issue here is that i have no idea what you just said, i need to start from scratch im aware you guys are busy on your stuff, but anywhere i could ready from scratch? i drive my traffic using other methods, this is the first time im using the "webmaster scheme" again thank you but i need something to start

AllAboutCams 06-03-2012 07:11 PM

are they wordpress sites

Barry-xlovecam 06-03-2012 07:20 PM

I just checked my 2 files t.htm and tt.htm and their last modified dates are 2 minutes apart ...

Code:

-rw-r--r-- 1 barry barry    14 2012-06-03 18:20 t.htm
-rw-r--r-- 1 barry barry    0 2012-06-03 18:18 t.htm~
-rw-r--r-- 1 barry barry    13 2012-06-03 18:22 tt.htm


The Heron 06-03-2012 07:26 PM

Quote:

Originally Posted by CPA37710T (Post 18984630)
this is the first time im using the "webmaster scheme"

whatsa 'webmater scheme'?? haha

Barry-xlovecam 06-03-2012 07:40 PM

sed -i will modify in place

http://www.linuxquestions.org/questi...9/#post3526523

- Jesus Christ - 06-03-2012 07:52 PM

Quote:

Originally Posted by Barry-xlovecam (Post 18984666)
I just checked my 2 files t.htm and tt.htm and their last modified dates are 2 minutes apart ...

Code:

-rw-r--r-- 1 barry barry    14 2012-06-03 18:20 t.htm
-rw-r--r-- 1 barry barry    0 2012-06-03 18:18 t.htm~
-rw-r--r-- 1 barry barry    13 2012-06-03 18:22 tt.htm


You're sed'ing a single file. Hes obviously looking to do a batch replace. If you sed using a wildcard it will change the date of EVERY file even if a change is not made. sed completely rewrites every file it opens back to the disk.

Quote:

Originally Posted by CPA37710T (Post 18984630)
thank you jesus christ, the main issue here is that i have no idea what you just said, i need to start from scratch im aware you guys are busy on your stuff, but anywhere i could ready from scratch? i drive my traffic using other methods, this is the first time im using the "webmaster scheme" again thank you but i need something to start

Just downoad the sites with a file filter and do it in windows
filezilla (and many other ftp programs) will let you filter what you download/upload
then just find freeware string replacement software
www.google.com/search?q=text+replacer

CPA37710T 06-04-2012 03:07 AM

Quote:

Originally Posted by The Heron (Post 18984671)
whatsa 'webmater scheme'?? haha

you know that html/ftp stuff lol

CPA37710T 06-04-2012 03:09 AM

thank you again jesus christ, i will update and let you guys know what happened, thank you all for the assistance, and domainbroker FUCK YOU! fuckin maggot!

Amen!

Markul 06-04-2012 06:45 AM

yea what kind of sites are these? Wordpress or? My guy may have something useful if it's wordpress. lmk

eZe 06-05-2012 03:14 PM

There are editor and FTP programs that can do server side search and replace, usually you can limit the file type as well. I used to use CuteFTP: "Integrated HTML Editor
This powerful text editor includes color-coded HTML and PERL tags, site-wide find and replace, HTML code-completion, and integration with CuteFTP that lets you edit files on your FTP server without downloading them."

CPA37710T 06-05-2012 08:22 PM

the amount of helpful resources on this thread is very very appreciated, markul email me please

support a* cpabullion dot c9m

eze i was thinking about Cuteftp but i thought it was an old app to use

what other tools you suggest i download?

ShoeBox 06-05-2012 10:15 PM

download.com is your friend


All times are GMT -7. The time now is 08:09 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123