WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help with htaccess (1 post)

  1. Harrison O.
    Member
    Posted 2 years ago #

    I just transferred and old htm site to wordpress and now I have to take care of the old htm urls.

    Using the htaccess, I have successfully redirected (.htm) to (/) using this code:

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule ^(.*).htm$ $1/ [R=permanent,L]

    Now one problem is that I have lots of name anchors and those are not working on Internet Explorer and safari. e.g.:
    Old: sitename.org/page.htm#art is not redirecting to sitename.org/page/#art

    Any help about how can I redirect domains with named anchors is very much appreciated.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic