• Moving one site from html to WordPress is totally nerve-racking. I have about 200 pages, not that many, so am trying to move each individually, of the ones I can. (almost none of the pages share same title, just same subject).

    I am trying to do this with the Apache module of Redirection. However, I don’t see any changes in the htaccess. Wouldn’t each page have a different line in my htaccess? I don’t see how to make the redirections in Apache/htaccess mode rather than WordPress mode.

    Is there one rule below that is changing the entire site, instead of each page individually? So confusing!

    # Redirection 2.2.13 - https://urbangiraffe.com/plugins/redirection/
    
    <Files .htaccess,.svn>
    order allow,deny
    deny from all
    </Files>
    Options +FollowSymlinks
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.mysite\.com$ [NC]
    RewriteRule ^(.*)$ https://mysite.com/$1 [R=301,L]
    
    </IfModule>
    
    # End of Redirection
Viewing 1 replies (of 1 total)
  • Thread Starter fallback2

    (@fallback2)

    I also just noticed in my code above that there is a . before mysite
    RewriteCond %{HTTP_HOST} ^www\.mysite\.com$ [NC] I don’t know where this came from.

    This direction is not written in my redirection list. Should I just remove the period?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Redirection] Apache module & htaccess not working?’ is closed to new replies.