Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: htaccess help please?

    Quote Originally Posted by econcepts View Post
    So did that fix everything?
    yup
    adding the |txt to filematch worked
    google can now find meeee
    i may not know how yet, but i soon will....i hope :)

  2. #12
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: htaccess help please?

    Quote Originally Posted by spid3r1987 View Post
    hmmm in my htaccess file that comes with ZC1.3.9g
    added txt to the "<filesmatch>" part, seems i now have access to it
    Um ... The "htaccess that comes with ZC1.3.9g" doesn't restrict robots.txt files ... because there IS NO .htaccess in the root folder of the ZC files, which would be where your robots.txt file is put.

    So, it appears that you've copied content from the /includes/.htaccess into a custom /.htaccess file, and thus broke normal operation.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: htaccess help please?

    Quote Originally Posted by DrByte View Post
    Um ... The "htaccess that comes with ZC1.3.9g" doesn't restrict robots.txt files ... because there IS NO .htaccess in the root folder of the ZC files, which would be where your robots.txt file is put.

    So, it appears that you've copied content from the /includes/.htaccess into a custom /.htaccess file, and thus broke normal operation.
    so in ZC root, there should be NO .htaccess file??
    i may not know how yet, but i soon will....i hope :)

  4. #14
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: htaccess help please?

    Zen Cart default does not have an .htaccess file in the 'root' dir. but that doesn't mean you can't have one.

    The .htaccess file for example that you provided in your original post is a custom .htaccess file that does go in your Document Root. If you include parts of other .htaccess files though, that are from other .htaccess files located in other directories, it could lead to problems such as you were experiencing.

  5. #15
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: htaccess help please?

    Quote Originally Posted by Website Rob View Post
    Zen Cart default does not have an .htaccess file in the 'root' dir. but that doesn't mean you can't have one.

    The .htaccess file for example that you provided in your original post is a custom .htaccess file that does go in your Document Root. If you include parts of other .htaccess files though, that are from other .htaccess files located in other directories, it could lead to problems such as you were experiencing.
    hmmm, i think the htaccess i originally posted was to do with the SEO that i was running, im no longer using this SEO...so dont need the htaccess anymore lol
    i may not know how yet, but i soon will....i hope :)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Help Please - need help with .htaccess file
    By timb22 in forum General Questions
    Replies: 14
    Last Post: 6 Apr 2015, 08:21 PM
  2. htaccess wording help please.
    By joejoejoe in forum Basic Configuration
    Replies: 2
    Last Post: 2 Nov 2011, 08:38 PM
  3. .htaccess file check please : )
    By gaffettape in forum General Questions
    Replies: 4
    Last Post: 10 Jun 2010, 09:14 PM
  4. htaccess files help please
    By pasb in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 27 Aug 2009, 07:18 PM
  5. Replies: 1
    Last Post: 26 Aug 2008, 01:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg