Question about adding redirects using Redirection plugin

[ad_1]

Ok so I created a CSV file and originally left off the http:// (or https://), www and domain name from both URL and Redirect URL columns so all URLs started with /URLHERE – the problem is that URLs from the old website all started with www while the new website does not have www so when I upload the CSV (or even when I try adding some of these redirects one by one), the old URLs aren’t being recognized since the new website isn’t using the WWW. I tried using the FULL URLs and it still doesn’t work. Please tell me there is a quick/easy solution using some sort of regex or something…?? How do I make the Redirection plugin know that my original/old URL column URLs should be recognized as beginning with WWW??

[ad_2]
1 Comment
  1. One solution would be to force your site to become www
    The way to do it is use htaccess file and insert this.

    make sure you insert the code in the right order on top, so here it bow your htaccess should look

    # BEGIN Force www
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    # END Force www

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer