Support » Fixing WordPress » Migratin Domain to Subdomain

  • Good night.
    I have a great blog and a question that I believe is simple.

    I have a blog now http://www.dominio.com and would like to move it to http://www.dominio.com / blog

    But in http://www.dominio.com put a my personal portfolio, thus preventing me to create it. Htaccess file to redirect the default domain pro sub.

    The only way I can create redirects (thinking about SEO) for the new content would be picking up link by link and putting the hand on. Htaccess or have some other way?

    Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter kaiserlino

    (@kaiserlino)

    Nobody?

    Hi kaiserlino,

    I don’t think I fully understand your questions but maybe you can start reading here:
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    If you have access to your phpMyAdmin, go there and export your database.

    Open your database with a notepad. Use search and replace and ask it to search for http://www.yoursite.com and replace it with http://www.yoursite.com/blog (of course, “yoursite.com” is an example, replace it with your real domain). Save it.

    Go back to phpMyAdmin. Select all tables and delete them. Import the edited database.

    Get sure you move all your blog files on your server to the new path as well (/blog/).

    From now on your blog will be on that folder, and you can use your root to create which ever else you want.

    Cheers

    Thread Starter kaiserlino

    (@kaiserlino)

    Thanks a lot.
    But this point i already knew, and did.
    What i really need is to redirect the traffic from the old site to the new one.
    If i wouldn’t use the main domain for another instance, would be easy using a 301 redirect, that would point both.
    But since i will use, i think i will need to make an .htaccess file manually, wich will take me lots of work, since are about 5000 urls.

    Thta’s not necessary, if you do what said above. The only thing you’ll lose is recorded links at search engines, and bookmarks from people. Tho, search engines will update their records with time, and so can people do. Thus I dont get your point.

    Cheers

    Thread Starter kaiserlino

    (@kaiserlino)

    It’s for SEO, so till Google gets the new Urls, the old ones are redirected to it…so it won’t lose traffic and people with the old link will not have the need to update…
    The only problem is that i can’t redirect the whole domain, just the links for posts….

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Migratin Domain to Subdomain’ is closed to new replies.