info26622
posted this
06 July 2020
I am almost ready to upload my new site to the server. The previous site was an .htm one, new one .html. Some of the pages I would like to direct to new pages, e.g. example.htm to example1.html, the remaining pages I want to redirect all from .htm to .html.
Can I in .htaccess first redirect the individual pages, and later in the .htaccess use a code like this, RewriteRule (.*).htm $1.html [PT,L] ? Or would the latter code interfere with the individual redirects?
Thanks,
Steven
I am almost ready to upload my new site to the server. The previous site was an .htm one, new one .html. Some of the pages I would like to direct to new pages, e.g. example.htm to example1.html, the remaining pages I want to redirect all from .htm to .html.
Can I in .htaccess first redirect the individual pages, and later in the .htaccess use a code like this, RewriteRule (.*).htm $1.html [PT,L] ? Or would the latter code interfere with the individual redirects?
Thanks,
Steven
Vote to pay developers attention to this features or issue.