Moving WordPress install to a different directory

(This is the first post in a serie of posts about WordPress that I’m working on.)

I guess that you all can install WordPress. WordPress is quite known for its “5-minute-install”, and almost every web hosting provider usually have a “Click one button to install WP”-option. Maybe I will write a short post about installing WordPress on your server later.

But how should you do if you want to move your installed WordPress to a new directory. Maybe you don’t want to have a cluttered root directory on your server. You can have many reasons to have WP installed in a directory other than the root directory, both for security reasons and to unclutter your directory tree.

Let’s say that you want have your URL, for example http://mydomain.com to reach your website, but you want to have WordPressed installed in a subdirectory, like http://mydomain.com/wpsystem/. Your visitors will see it like your WordPress is installed in the root directory, but you have to go to http://mydomain.com/wpsystem/wp_admin/ to log in to the admin dashboard.

For simplicity we will say that you already has installed WP in the root directory and want to move it to the /wpsystem directory. The first thing you should do is to log in to your admin dashboard, and go to Settings -> Permalinks. There you can set up the system to use the kind of links you want to use for your site, like “Post Name”, which gives http://mydomain.com/post-name/ as link structures.

After that you go to Settings ->General Settings, and change the WordPress Address (URL) to http://mydomain.com/wpsystem, and the Site Address (URL) to http://mydomain.com.

The WordPress Address should point to where you will have your WordPress system installed, and Site Address should point to the web address where your visitors will go to visit your website.

WordPress Site settings

Remember to click on the “Save Changes”-button to update the system and publish your new settings.

After that you can use a regular FTP program to move all files to the new directory, except for the index.php and .htaccess files. This two files should remain in the root directory.

When the files have been moved, you open the index.php file in your editor and look for this code:

require ( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );

and replace it with this code instead:

require ( dirname( __FILE__ ) . ‘/wpsystem/wp-blog-header.php’);

After doing that you might have to log in to the Admin Dashboard (now at http://mydomain.com/wpsystem/wp-admin/) to update the permalink settings again, and after that you’re done.

 

My new book about freelancing is out

My new book about Starting freelancing as a web designer is starting to sell over at Leanpub today. I have been writing on this book on and off for a few months now, so it feels good that it is finished now. It’s an easy to digest guide for the aspiring freelancer. Hopefully it will answer all your question about starting to freelance.

Read more about it here.

Head over to Leanpub and buy your ex of the book now. =)

Cover image of my new book Start Freelancing.

Book Review: Work for money, design for love

I have just finished reading the book “Work for money, design for love” by David Airey. The most of you have surely heard of David as a leading graphic designer, specializing in brand identity design. Ha has also written a few other well known books, like Logo Design Love. Work for money, design for love is a book that gives the answers to the most frequently asked questions about starting and running a successful design business (so it says on the cover).

Work formoney, design for love book.

I must say that I really enjoyed reading this book. It was easy to read and understand. David have taken help from quite a few other designers to answer all the questions that usually come up about starting your own design firm. I believe this is very positive because you get other designers view on how to deal with clients, and projects and such stuff.  I learned quite a lot from reading this book, and it did answer some of the questions I have about running a design firm.

This is a good book to read, and have as an inspiration in the bookshelf for any designer out there.

Website for the book.

New book about ios8 game development

There is a new book over at Packt Publishing, about iOS 8 game development with Swift. I was involved in that project as an expert reviewer, and I can guarantee you that this book is very good if you want to learn how to program games in Swift.

Siddharth Shekar, who has written the book, is very good and professional in learning the writers in both SpriteKit, SceneKit and some Metal.

So head over to packtpub.com and order your copy today!

Skärmavbild 2015-06-02 kl. 14.50.22

 

Fixed the Wifi-problem on my MacBook Pro

Many people have had problems with their Wifi-connection after upgrading to Yosemite on their Macs. So did I, but now I have managed to fix it.

Apple have released a few bug fixes to OS X 10.10. I’m up to 10.10.2 on my MacBook Pro now, but none of this bug fixes fixed the problem for me. What I had to do was to reset the System Management Controller (SMC) on my computer.

To do this on a MacBook Pro or MacBook Air, you turn off your computer. Make sure that your power coord is connected to the computer. Then you hold down the Shift-, Ctrl- and Alt-keys and press the power button at the same time. After the you can release all the buttons and turn your computer on, and hopefully your problem will be fixed.

I want Live Writer on the Mac

I have a few blogs out on the internet. For all of them, I use WordPress, because that is the best platform for blogging today.

My problem is that I don’t like writing blog posts in the WordPress Admin interface. When I was using Windows on my computers, I used Live Writer. I really liked that program. Now, on the Mac OSX, I’m using ScribeFire directly in the Chrome webbrowser or the application PixelPumper. But I’m not really satisfied with them. I want something more like Live Writer on the Mac, but I haven’t found that yet.

If you have any suggestions, please make a comment here about it.

My five favourite apps

If you have to choose your five favourite apps on your mobile phone, which should it be?

I have both an Android phone and an iPhone, but for work-stuff I usually use the iPhone. The Android I usually have for testing and because I like it. And after upgrading the iPhone to iOS 8 and my MacBook Pro to OS X 10.10, I like the iPhone even more. I like how the computer and phone has started to work together in a new and better way.  There are apps that I use a lot more than the five I’m about to list here, but I think this five are my favourites after all.

Trello.

Trello is really helping me to organise everything I’m working on. You simply create boards with cards on it. On the cards you can add stuff like checklists, text, photos, videos, PDF’s and a lot more. If you are working in a team, you can work together on the cards and delegate to different persons. This makes it really easy to see what you need to focus on, and who is working on what. I found a really good instruction on the net for how I should organise my boards and cards. I will write a bit about it in a later post, as soon as I find the source again.

It’s also syncing really sweet between the phone and computer. Sweet!

Did I tell you that Trello is free? It is. Go check it out!

 

Lift.

This is my feel-good-every-day-app. This app helps me to put my goals into action. Every day it gives me an inspiring quote, and if I forget to train a day, it reminds me.

You simply choose which goals you have, and how often you want to do it. It reminds you if you forget, and it counts when you are checking in on your goals. Everyone really should have this app installed.

 

Sketch Mirror.

I do a lot of my mobile app designs in Sketch. This app makes it so simple to try the design right on the phone. If you are working serious in Sketch, this app is a must.

 

Evernote.

I believe that Evernote is the best note taking app out there. Both on the mobile phone and on the computer. You can write stuff down, you can save links, pages, and take pictures. I believe you can save everything in this app, seriously everything you can think on. Overtime I’m getting a great idea for an app or a new project, I jot it down in Evernote. And I can reach it from every device I have. I’m an expert on getting great ideas on strange places, so this app really suits me.

 

Dropbox.

Dropbox is one of my favourites, that I use all the time without thinking about it. I have sat it up for backing my stuff from all my devices. Without it, I sure would loose a lot of important stuff. You can use Dropbox for lot of different stuff.

 

That was my five favourite apps I have on my mobile phones. What’s yours?

A successful test on boosting traffic

When you are blogging for profit, its a very good idea to plan your posts depending on what’s is happening in the near future. As you can see on the picture below, I did just that when Apple were releasing the new version of OS X. As you can see the traffic on my blog were just skyrocketing the day after the release.

Both you and me know that many web developers use Mac’s as their primary development machines, and I have been using the Mac OS 10.10 (Yosemite) for a few months now, as I have had the possibility to use the Developer Preview of the new version. I had noticed that there was a problem with using MAMP on the Yosemite, so I wrote a small blog post about how to make MAMP work in Yosemite. And as I had suspected, people were searching for that fix the days after the release.

I didn’t do any work to monetize that particular blog post, but we clearly see the possibilities to do that here. Now I have seen that it works, and if I see the possibility again, maybe I will try out the different monitizing possibilities.

Weekly newsletter about internet entrepreneurship

I’m about to start a weekly newsletter about internet entrepreneurship. It will be about entrepreneurship, online business, marketing, SEO, list building and some other stuff as well. Sometime i will send some nice surprise to the subscribers too.

Don’t forget to sign up for it here or in the menu above.