jpc101

Cloudflare Pages 308 redirects - what's best to go in the canonical tag and xml sitemap?

by @jpc101 (110), 1 year ago

I’m thinking of moving a site onto Cloudflare Pages. The site currently uses .shtml as it's been around for 20+ years and in 2000 SSI were the way to do includes!

I'll be going changing over to .html and will be using 301s to redirect the pages, etc.

BUT - Cloudflare Pages also uses auto adds 308 redirects on .html endings, so /foo.html becomes /foo.

So, what’s best to put in the 301s, canonical tags and xml sitemap?

/foo.html (as the file will be) or /foo (which the user/search engine 'sees')?

And... would it be best to update internal links to remove the .html(s) to save extra redirects?

Thanks!

701 Views
0 Upvotes
0 Replies
0 Users

Join the forum to unlock true power of SEO community

You're welcome to become part of SEO Forum community. Register for free, learn and contribute.

Log In Sign up