Title: html to php to https
Last modified: November 30, 2020

---

# html to php to https

 *  [thehammer610](https://wordpress.org/support/users/thehammer610/)
 * (@thehammer610)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/html-to-php-to-https/)
 * I have had this website for 20 years. Several years ago, I migrated from html
   to WordPress. I found that many external links to the site were lost because 
   they did not link to the WordPress page. So I created a .html page with a redirect
   to the new WordPress page. That seemed to work.
 * But then Google indexed those redirect pages and saw them as duplicates of the
   WordPress pages. So I put a line in robots.txt to ‘Disallow: /*.html$’. That 
   worked.
 * Now with the push to https, I upgraded and found that the Google ‘Coverage’ of
   my website has dropped to zero since my http pages disappeared, replaced by https.
 * So I created a new Google Search Console for my property as https. I am having
   problems creating a proper sitemap. I can create one manually. I have also tried
   to use Google XML Sitemaps but it seems to be submitting only my redirecting 
   html pages, since all I get from Google is ‘page submitted is blocked by robots.
   txt’. I have just deactivated Google XML Sitemaps.
 * At this point, I could just manually create a sitemap using a sitemap generator,
   then edit out the .html pages. I guess I would put that in the root directory
   of the website.
 * Any suggestions on how to get me out of this loop of problems that I have caused?
    -  This topic was modified 5 years, 5 months ago by [thehammer610](https://wordpress.org/support/users/thehammer610/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhtml-to-php-to-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Olga Gleckler](https://wordpress.org/support/users/oglekler/)
 * (@oglekler)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/html-to-php-to-https/#post-13727016)
 * Hi! You have a Yoast SEO plugin and it makes sitemap for you as well as the version
   WordPress 5.5 without any addition plugins (but without visual control either).
   
   You need to remove static sitemap for Yoast to work.

Viewing 1 replies (of 1 total)

The topic ‘html to php to https’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [sitemap](https://wordpress.org/support/topic-tag/sitemap/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Olga Gleckler](https://wordpress.org/support/users/oglekler/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/html-to-php-to-https/#post-13727016)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
