• Hi, I have some redirect issues going on.

    First:
    https://automaticallynow.com/make-money-online/go/copy-of-mmo-list-opt-in-testing-stats/ This URL works fine and goes to where it should.

    https://www.automaticallynow.com/make-money-online/go/copy-of-mmo-list-opt-in-testing-stats/ redirects to my primary blog home page! WHY?

    I’m assuming it has something to do with my .htaccess files; but I don’t know how to read this stuff.

    .htaccess file #1 is in the sites root directory (WordPress is in a sub directory). File #1 contains:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^automaticallynow\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.automaticallynow\.com$
    RewriteRule ^/?$ "http\:\/\/www\.automaticallynow\.com\/make\-money\-online\/" [R=301,L]

    I am assuiming that ^this^ is all part of my control pannel redirect setting used to ensure that people going to my domain.com actualy find my site which is installed at mydomain.com/make-money-online/ .

    Now in the subdirectory .htaccess file #2 where WP is installed:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /make-money-online/
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    So why are my links being redirected home if they start with “www.”?
    ——————————-

    Second: I don’t know if its related, but I am trying to have some HTML pages to be acessible from the mydomain.com/anyotherfileorfolder which is one level above the WP install directory. None of the HTML pages I’ve put there display properly, the images all show up blank. Could this be in part because of the .htaccess settings?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘URLs being Redirected When "www", and other Mysterious URL/link Issues.’ is closed to new replies.