Add a directory installed WordPress on the root
If you have WordPress installed in a directory but want to show the url as http://www/yourdomain.com instead of http://www.yourdomain.com/wpdirectory then you can follow the following few steps:
- Log in to your wordpress website
- Go to Settings->General and change the "Site address (URL)" setting to your domain URL (e.g. http://www/yourdomain.com) Note: Make sure you don't change the "WordPress address (URL)" setting or your blog won't work anymore.)
- Once your done you need create a index.php file in your favourite editor and past the following code in there:
<?php define('WP_USE_THEMES', true); require('./wpdirectory/wp-blog-header.php'); >
make sure you change the "wpdirectory" to the folder you've installed WordPress in
- Save the file and upload it to your website using any FTP program
That's it! Now you can visited your website on http://www.yourdomain.com and see if it works.
The centering cheat
If you are using div’s to built your layouts than a good thing to know is how center it. Because of the many different browsers it can sometimes be a hassle to find out what works with which browser.
Now centering a div isn’t at all difficult. Normally in HTML you could easily use the<center> tag but in XHTML it’s deprecated. So, you may wonder how you’ll make it work in XHTML. All you need to do is add the following code to your CSS.
.centered{
margin: 0 auto;
}
If you wish to use the centering cheat in your layouts make sure to add the following in your CSS.
body{
text-align: center; //To make it work in IE
}
#containerdiv{
margin: 0 auto;
text-align: left; //To make the text start at left (or justify/right) instead of center) side again.
}
Now your layout should be centered in every browser!
I had a dream
Once I had a dream where I’d become friends with this guy. One day we’d be out, usually by the sea, and I say something to him which makes him chase me. Once I’m caught, he starts to tickle me. I run out of breath and plead for mercy, once he stops we stare at each other. Slowly he leans in and kisses me, embarrassed I pull away. He says he’s sorry that he shouldn’t have but I cut him off and tell him not to be sorry that I just don’t know what to do. He tells me he’ll show me and once again leans in to kiss me.
A nice dream where nothing goes wrong. The reality however is much more difficult. Now you’ve probably read my two previous posts where I talked about this guy. Yesterday we talked about it. It was nice, you know, him and me first just talking about random things, joking around with each other - which is something that I rather like. Later that evening he decides to go to my hometown with me. When I’m almost home we just stopped walking and talked some more.
He placed his arms on my waist and I was rather proud of myself that I didn’t flinch or shake him away. We got to talking about what happened the week prior and I told him, again, that all this was new for me. He leaned in a few times to kiss me, and I don’t know what happened but I know that I find kissing someone complicated. I just can’t seem to get it right. But, like I told him, I have him to practice with.
At one point I began to become a little embarrassed; I’m twenty-three years old and I’ve never kissed someone. Now, I know this is by my own choice and I don’t regret it but I’m a little embarrassed about that tiny little fact. He was quick enough to assure me and told me I’m just a sweet little innocent girl... I’m not sure how to take that but I thought it was rather nice (nicer than laughing at me).
I know that the only thing I can give him is honesty and that’s exactly what I’ve been giving him. I tell him that I don’t know much about this .... whatever it is. That I don’t know how I feel when he kisses me but I can tell you with all honesty that I didn’t not like the kiss(es)... I also told him that I’m interested in seeing where this is going, and to tell you the truth, I am.
[- I want to give a quick thank you to Victoria for her advise. It helped, so thank you!!]
I guess I found out…
[This is a continuation of my previous post]
It turns out...he does like me. How did I find out? Simple, after school last Monday he went to the trainstation with me, when he normally goes with a classmate because they live rather close, and...kissed me. Yes, can you imagine someone wanting to kiss me? No, neither can I. But he did. Now mind it was just a peck on the lips because I was rather shocked by it... Well, no I wasn’t shocked I was more: What do I do now?
A little history on my past relationships: in my entire life I’ve had two boyfriends both we didn’t go any further than holding hands. So, you can imagine I’m rather inexperienced when it comes to dating, relationships and anything that evolves around that.
At the time I couldn’t really process what had happened but I hope I was reassuring him that I didn’t mind... at all. Appearently I failed at that because yesterday I got a text message where he asked me if he had shocked me. I told him he hadn’t that I just didn’t know what I should do. Later that evening he called me and we talked.
He told me that he rather liked me, thought I was beautiful (which I of course didn’t believe) and that I’m rather nice. He also asked me what I felt. I told him, honestly, that I don’t know for I really don’t know how I feel. I had wanted to give myself some time to think about it but I fear that he didn’t wanted to give me that time for he feared he had shocked me. I of course told him he hadn’t and that I (really) didn’t mind. So we talked...for like an hour and half. But it was fun - by the way; he was rather pleased to hear my voice (which made me embarrassed and thankful we were on the phone). After our phone conversation we spend some time talking on gtalk.
Back to the point; what do I do? I’ve no clue for I’ve never had a relationship before and I’m not even sure I want a relationship with him. How do you know you want to have a relationship with someone?
To tell you the truth, although I never thought I’d ever be in this (are similair) situation I had dreamed about it. The reality is so much harder and I’m struggling to find out what to do, what do say to him so I don’t hurt his (or mine) feelings... Sometimes I wish I had someone to talk to about these sort of things...maybe then things would be clearer to me.