Any way to backup wordpress and install on a new domain?

Like everything? Posts, images, themes, plugins, etc.?

1. copy and save everything that is in your wordpress directory.
2. export the sql database that is directed to your wordpress DB_NAME in your config.php

and re-upload them files in your new host, just curious. are you changing the domain as well?

if you are changing the actual domain name, then open up your exported sql file with notepad and edit your ex-domain to replace with new one. then upload

Continue reading

free website search engine?

Anyone know what is the easiest yet free way to add a search engine to a website? The site has only about 50-60 pages.

I never added a search to a site so i don’t know where to begin. Any help is appreciated

edit: I’m having reading comprehension issues. Do use Google CSE like 2ofdem suggests.

Regular Expression Help

Trying to get a reg exp. working to match a specific word, then any number of any characters, then a specific closing character, pattern like this:
[sku-price:*] where the asterisk can be any data, including dashes (-)
Tried this based on what I’m reading from tutorials, but it isn’t working:

preg_match("[[sku-price:.*$]]",$string,$matches);

Thanks

Continue reading

Web developer skills

So I’ve been doing web development for a few years (~6) on and off and I’d like to start doing more of it. The only thing is that I’ve picked things up as I’ve gone. I’m curious, for all the paid developers, how often do you use OOP? I’ve done C++ and Java OOP, but it’s been many years (before I was doing web development) and I need to do some refreshing. I need to work on more efficient programming. Can anyone give me any tips or is there a site with good example projects to try out? I feel like everything I learn, I’m just mediocre. Thanks

Continue reading

Please Help w/ Mulitple Javascript Pop-ups

i searched for a pop-window script that allowed me to pass paramters within the button because I plan on using multiple pop-up windows.

the script below doesn’t work.
i got it from this place here:

<script "_javascript" type="text/_javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*(( screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,men ubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}
// -->
</script>
<a href=_javascript:NewWindow('whatever.html','mywin','320','240','yes','center')>

please help
Continue reading

Any good feedback / Comment scripts?

looking for any good good feedback / comment scripts.
the ones i’m bumping into seem to suck.

thanks

just general feedback/comments? or to comment on an item?

just for general feedback / comment.
sorta similar to wordpress but i don’t need wordpress

i need to practice my shit, i can write one for you if you’d like?

thanks but I don’t want have you go through all that trouble.
Continue reading

Do you guys think website design is important? When shopping? Let’s compare sites and

Examine things a bit further. They both do a similar amount in sales, etc. So do you guys really think an amazing website design is worth it? I’m curious because I’m in the middle of a site re-design and wondering will the new site really be worth it?.. Lets say those "cheap" sites below upgraded to a new design, do you think they’d even benefit from it?

Here’s a few examples:

Poorly designed, over content filled, cheap looking sites:
Continue reading

html/css form elements browser specific display issues

okay, unfortunately I can’t post the site to review, but the issue is this…

i have a contact form. The "text" input elements look fine, but the textarea input element is extended width in firefox.

When viewed on a mac with firefox all form input elements are stretched in width

im sure it’s something basic i’m missing, but I’m pulling my hair out here!@!

.contactform input {
	font-size: 14px;
	color: #cccccc;
	border: 1px solid #cccccc;
	padding: 3px;
	margin: 3px 0px 3px 0px;
}

.contactform text {
	font-size: 14px;
	color: #cccccc;
	border: 1px solid #cccccc;
	padding: 3px;
	margin: 3px 0px 3px 0px;
}

.contactform textarea {
	font-family: Tahoma;
	font-size: 14px;
	color: #cccccc;
	border: 1px solid #cccccc;
	padding: 3px;
	margin: 3px 0px 3px 0px;
}

.contactform submit {
	font-size: 14px;
	font-color: #000000;
	color: #000000;
	background-color: #cccccc;
	border: 2px solid #999999;
	padding: 3px;
	margin: 3px 0px 3px 0px;
}

Continue reading