Post by julugu » Wed Feb 01, 2012 7:18 pm

Hi,

I have tried to acces to robots.txt at my site but it says "Not found". I have given 644 to the file. Any ideas? Is there any configuration file that I must change?

Thanks.

New member

Posts

Joined
Fri Dec 31, 2010 9:30 pm

Post by i2Paq » Wed Feb 01, 2012 7:42 pm

A link to your site would help...

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by julugu » Wed Feb 01, 2012 10:08 pm


New member

Posts

Joined
Fri Dec 31, 2010 9:30 pm

Post by i2Paq » Thu Feb 02, 2012 1:48 am

Maybe it is blocked by your .htacces?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by julugu » Thu Feb 02, 2012 2:49 am

Ooops! Where is the .htacces file? I don't see it.

New member

Posts

Joined
Fri Dec 31, 2010 9:30 pm

Post by MarketInSG » Thu Feb 02, 2012 4:36 pm

julugu wrote:Hi,

I have tried to acces to robots.txt at my site but it says "Not found". I have given 644 to the file. Any ideas? Is there any configuration file that I must change?

Thanks.
You sure you even added a robots.txt file? OpenCart doesn't add it for you if I didn't remember wrongly.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by julugu » Sat Feb 04, 2012 7:30 pm

Yes, I have uploaded it. Now I see that I can't access to any .txt file, but other yes. It's strange.

New member

Posts

Joined
Fri Dec 31, 2010 9:30 pm

Post by victorj » Sat Feb 04, 2012 10:02 pm

check your .htaccess file.
not all ftp programs do show it as default.
check the documentation of your ftp program how to show hidden files.

or use the filemanager in your cpanel or direct admin.

open .htaccess and check for

<FilesMatch "\.(tpl|ini|log|txt)">
Order deny,allow
Deny from all
</FilesMatch>

if there is a txt entry than access to txt files is prohibbeted.

remove.txt from the .htaccess and save.
now you can access robots.txt

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by bogmar88 » Fri Jun 17, 2022 1:47 am

Hello,

I have the same problem,
in .htaccess is this line <FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
What exactly need to delete ?

Thank you!

Newbie

Posts

Joined
Tue Jun 07, 2022 2:31 am
Who is online

Users browsing this forum: Semrush [Bot] and 134 guests