Looking for htaccess assistance

5 replies
Rewrite rules causing unneccessary re-directs : pages not loading

Assistance appreciated

thanks
#assistance #htaccess
  • Profile picture of the author customertools
    And how are we to help when you don't provide any information?
    {{ DiscussionBoard.errors[1691647].message }}
  • Profile picture of the author Aaron Sustar
    Absolutely not, but it would be incredibly helpful (to you and us, trying to help) if you posted contents of your .htaccess file on the server, or any bit of code that *might* be causing these issues.
    {{ DiscussionBoard.errors[1692887].message }}
    • Profile picture of the author dblgdee
      #Options +FollowSymLinks
      #Options -MultiViews
      #Options All -Indexes
      AddType x-mapp-php5 .php
      <FilesMatch "\.(htaccess|tpl)$">
      Order Allow,Deny
      Deny from all
      </FilesMatch>

      <IfModule mod_rewrite.c>
      RewriteBase /
      RewriteEngine On

      RewriteCond %{HTTP_HOST} !^eConsumersearch\.com [NC]
      RewriteRule ^(.*)$ http://eConsumersearch.com/$1 [L,R=301]

      #RewriteRule ^([a-zA-Z]+)\.html$ $1.php [L]
      RewriteRule ^view\.php$ listing.php [L]

      it appear that there may be an incorrect re-direct or the number of re-directs allowed may be exceeded.

      thanks
      {{ DiscussionBoard.errors[1695390].message }}
  • Profile picture of the author m4rx
    I am not sure what you are talking about.

    I am seeing nothing except the redirect from www.domain.com to just domain.com.

    And I visited the website, and nothing appears wrong.

    Does this happen only on certain pages?

    --m4rx
    Signature
    We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
    Bored. Learn everything you need to know about Organic Gardening.
    {{ DiscussionBoard.errors[1720922].message }}

Trending Topics