2

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.

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.