Seo question

So should I include that in the dev site? It is gone 100% I delted the diretory everything

Add it to the .htaccess file in the root directory of the development site. You just need to change the code I gave above to include the old dev directory, so

Redirect 301 /directory/page.html http://www.newdomain.com/page.html

but the dev site is my blog - which means it not a dev site at all.

I have this

[noparse]www.mylifeisagarden.com[/noparse]

And I made a sub folder /BnB

[noparse]http://www.mylifeisagarden.com/bnb[/noparse]

So If I add redirect to my blog root- well, will that redirect my whole blog?

sorry I should have explained. I put the site there prior to having hosting, to test etc.

No, not at all. Redirects like these operate on a page-by-page basis (although you can redirect folders, and even whole sites, too, with different code). You are just saying to the search engines—“Hey, you know that page that was here before? Well, if you want to find it, go to this other location instead”. That keeps them happy.

It’s like if you are renting a house with a bunch of friends and one of them leaves to live somewhere else. You go to the post office and say—“So Ando has moved to a new house.” Then they start to send So Andso’s mail to another location. It doesn’t mean everyone in your house stops getting mail.

No. As I said, include the directory in the redirect pathway.

Redirect 301 /BnB/page1.html http://www.newdomain.com/page1.html
Redirect 301 /BnB/page2.html http://www.newdomain.com/page2.html
Redirect 301 /BnB/page3.html http://www.newdomain.com/page3.html

and so on for each page.

That will only redirect the page matching that exact file path.

N.B. Make sure you get the directory name exactly right. In your post above, you have it as both BnB and bnb. Linux is case-sensitive, so you need to use the correct version.

ok so I recreate the exact folder /BnB (if that’s what it is) and throw in a htaccess file (as the only file in the directory)

All future dev work to be done in wamp!

Am going to add a google business listing!

No, no need to create a new folder with a .htaccess file in it. Place the .htaccess file in the root folder. It will just pick up any inbound links to the old folder and redirect the to something else. The point above was to include the old folder name in the redirect rules.

Heads up:

I made a few changes and the page went from bottom of third page to top of third page, over nigt. So thanks!

I gave each page a descrpt and added some alt tags to img (woops).

really enjoying learning! Taking a while. I just smashed the image in there np (on the home page). It’s not 100% how I would like but I wanted a quick result.

http://httpd.apache.org/docs/2.0/howto/htaccess.html

And I have played with ht acess previously.

I guess I am a bit freaked about putting my blog directory. I prob have one there already.

I am gettign a business entry for them. This really should not be that hard.

so when it comes to urls, server and other stuff i get lost. I spent all day trying to remkae an intranet channel at work, and only just.

This

Redirect 301 /BnB/page1.html http://www.newdomain.com/page1.html

I just don’t get.

I put what here?

http://www.mylifeisagarden.com/images/sorry.jpg

regards “page1” I don’t get. I am sorry. The server side/ url stuuf escapes me. I understand directories etc.
I just can’t do a tute to get it lol!

For each page you had in your old site, you need to redirect it to the appropriate page of the new site, which may or may not have the same name - only you know that. :slight_smile:

So, supposing you had a page on your old site called test2.html and on your new site, that page is about.html, you would have


Redirect 301 /BnB/test2.html http://www.newdomain.com/about.html

Obviously, you use whatever your actual page names are and substitute the real domain name for newdomain.com.

If you already have a .htaccess in your root directory, then you just add this code to the end of it.

sweet thanks - I get it now. I think sometimes my brain just fills up too much, and I can’t fit anything else in.

My next site will have a big seo part, this is all great fun. From your suggestions we are currently top of the third page in google, prior to my post we were bottom of third page. So thanks again.

I have the htacess in my root I’ll add asap

Hi,

Start with basics, after optimizing your website ( i mean on-page), generate xml sitemap and submit it to webmaster tools (Google, Bing, Yahoo). It helps bots to read all your web pages. Then start with promoting your website like social bookmarking, directory submission, article submission, press release, forum submission, blog writing and blog commenting, Guest posting etc… “SEO is a slow but fruitful process