0
Welcome Guest! Login
0 items Join Now

OpenSEF prevents page load when no www in front of URL - any clues to fix?

  • OpenSEF prevents page load when no www in front of URL - any clues to fix?

    Posted 18 years 2 months ago
    • Hi all,

      Frustrating thing with Artio OpenSEF and I'm wondering if anyone else has had this problem... Everything installed just fine, I configured my .htaccess file okay, the site and site links work, BUT ONLY when www is not inserted in front of the URL.

      In other words, this link works just fine: diffloth.com/dgpi-joomla/  ;
      but this link does not: www.diffloth.com/dgpi-joomla/

      I did some searching around on the Artio site and found this post www.artio.cz/en/support-forums/joomla-ex...header/view#520  ; which documents a similar but slightly different problem (the poster had the reverse situation occur - with www was okay, without was not).

      My web host has been unresponsive (that's another story), but I'm wondering if there's anything I can do/try directly. I made a couple different modifications to my .htaccess file but nothing worked. Recommendations?

      Here is the content of my .htaccess file that is within my Joomla root folder:
      DirectoryIndex index.php
      RewriteEngine On
      RewriteBase /dgpi-joomla/
       
      RewriteCond %{REQUEST_URI} ^(/dgpi-joomla/component/option,com) [NC,OR]
      RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule (.*) index.php
       
      RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
      RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
      RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
      RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
      RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
      RewriteRule ^(.*)$ index.php [F,L]

      Thank you!!!

      Natalie
    • Last Edit: 18 years 2 months ago by Natalie D..

Time to create page: 0.044 seconds