: How to migrate my static html web site to Blogger? 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
I decided to migrate to blogger.
I used to have pages like mysite.com/page.html, but Blogger pages are now like 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.
More posts by @Gretchen104
1 Comments
Sorted by latest first Latest Oldest Best
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 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 ^(.*)$ www.newsite.com/p/ [R=301,L]
This will make all www.oldsite.com/page.html links point to www.newsite.com/p/page.html.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.