WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on an imported .html site that has been using the .html on pages plugin to rewrite the URLs for inbound link purposes. Now I am trying to integrate it with a subdomain blog (domain.com/blog/) that also needs to maintain inbound links.

Everything is setup and working correctly except the blog archive page. The permalinks are set to (/blog/%postname%/) and the URLs are correct for both pages and posts. The only issue is the page set to frontpage (/blog/)is being rewritten to /blog.html/ so links to (domain.com/blog/) are getting a 404.

There doesn't seem to be an easy way to exclude the page from the .html rewrite. I tried using a conditional tag, but the plugin hooks to 'init' so it doesn't work. Is there another way to exclude that page from being rewritten? Or is there some other (hopefully simpler) way to achieve a blog archive at (domain.com/blog/)?

share|improve this question

This doesn't exactly solve your problem but you could redirect from /blog.html to /blog

share|improve this answer

Your Answer


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

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