I plan to have a website revision, in order to minimize the impact on the reduction of SEO, I hope you can keep the consistency of the URL, I would like to ask, how can we make the site URL to html suffix?

Should be possible via editing the mod_rewrite rules in the .htaccess. Or easier and cleaner via URL Router. For example route from:




Not tested, but in theory this should quietly route URLs entered with .html-suffix to pages of the same name without the suffix. Of course this has to follow your specific URL-structure.

(I never get those expressions right the first time, always habe to got through by trial-and-error.)

ok,thank you very much,I will try it.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details