Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I decided to migrate to blogger.

I used to have pages like www.mysite.com/page.html, but Blogger pages are now like www.mysite.com/p/page.html

When people use the old link which is posted on the forums, they get a 404 error. How can I prevent that?

There's no way to customize URLs in Blogger.

share|improve this question

migrated from webapps.stackexchange.com Mar 16 '11 at 4:09

This question came from our site for power users of web applications.

    
What is the hosting situation for the old site? You may get a better response over at Pro Webmasters. –  DisgruntledGoat Mar 15 '11 at 22:45

1 Answer 1

You should redirect the pages on the old site to the new addresses. On the old site, create a file called .htaccess in the root and fill it with entries like this:

Redirect 301 /page.html http://www.newsite.com/p/page.html

If the file names are the same on both sites, you can avoid typing lots of Redirect rules and do it like this:

RewriteEngine On
RewriteRule ^(.*)$ http://www.newsite.com/p/$1 [R=301,L]

This will make all http://www.oldsite.com/page.html links point to http://www.newsite.com/p/page.html.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.