Vivvo CMS Support Forum Home | Free Trial | Online Demo | Docs and Manuals | Order Now   

Go Back   Vivvo CMS Support Forums > Vivvo 4 > Troubleshooting

Troubleshooting Problems, need help? Have a tip or advice? Post it here.

Reply
 
Thread Tools Display Modes
Old 01-11-2011, 12:29 AM   #1
askmediy
Senior Vivvo User
 
askmediy's Avatar
 
Join Date: Dec 2010
Location: New York
Posts: 190
Rep Power: 3
askmediy is on a distinguished road
Default txt file issues and question

I just noticed today that Google could not read my robots.txt . I tried other .txt files and none of them could be read.

I removed this from my .htaccess
RewriteRule ^(.*)(\.rss|\.atom|\.txt)$ index.php [L] And now .txt files can be read. Do I have something wrong here ?

This is my .httaccess file I'm using the newest Vivvo 4.5.2

RewriteEngine On
RewriteRule ^sitemap\.xml$ index.php [L]
RewriteRule ^(.*)(\.html|\.htm)$ index.php [L]
RewriteRule ^(.*)(\.rss|\.atom|\.txt)$ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/?$ index.php [L]
RewriteRule ^robots.txt$ robots.txt [L]
askmediy is offline   Reply With Quote
Old 01-11-2011, 09:19 AM   #2
Alex
Moderator
 
Alex's Avatar
 
Join Date: Oct 2005
Posts: 1,051
Rep Power: 9
Alex is on a distinguished road
Default

Try like this:

RewriteRule ^sitemap\.xml$ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)(\.html|\.htm|\.rss|\.atom|\.txt)$ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/?$ index.php [L]
__________________
Ya gotta keep your eye on the ball. Eye. Ball. I almost had a gag, son. Joke, that is.
Alex is offline   Reply With Quote
Old 01-11-2011, 11:53 AM   #3
askmediy
Senior Vivvo User
 
askmediy's Avatar
 
Join Date: Dec 2010
Location: New York
Posts: 190
Rep Power: 3
askmediy is on a distinguished road
Default

Thanks Alex. Added RewriteEngine On to your code and works great thank you..
askmediy is offline   Reply With Quote
Old 07-12-2012, 10:20 AM   #4
zontech
Senior Vivvo User
 
Join Date: Dec 2008
Posts: 336
Rep Power: 5
zontech is on a distinguished road
Default Robots.txt and more - some interesting lists of naughty bots

A couple of lists that might interest some Vivvo comrades.
http://www.javascriptkit.com/howto/htaccess13.shtml
http://www.askapache.com/htaccess/bl...-htaccess.html

But a question about huge .htaccess listing:

Some sites limit access to users only in their home country by including
zillions of IP address ranges. (An visitor with IP address in that range can't access the site.)

Does anyone have a very large .htaccess file which includes IP range exclusions AND a large bot-exclusion listing?

If so, do you notice any degradation in site performance?

Have had a scull around for this topic but not much found.

TIA

Last edited by zontech; 07-12-2012 at 10:43 AM.
zontech is offline   Reply With Quote
Old 07-13-2012, 10:37 AM   #5
sip
Vivvo Veteran
 
Join Date: Sep 2010
Posts: 599
Rep Power: 3
sip is on a distinguished road
Default

Quote:
Originally Posted by zontech View Post
If so, do you notice any degradation in site performance?
TIA
.htaccess is always accompanies with a performance hit. If site is on a single tenant dedicated server best is to avoid .htaccess completely and achieve same thing in apache config:

http://httpd.apache.org/docs/2.2/how...cess.html#when
sip is offline   Reply With Quote
Old 07-14-2012, 05:59 AM   #6
zontech
Senior Vivvo User
 
Join Date: Dec 2008
Posts: 336
Rep Power: 5
zontech is on a distinguished road
Default Thanks, sip !

Crikey - it's more dire than I thought.

Have no choice but to use .htaccess for that client but have noted the advice you sent - very valuable info thanks.
zontech is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Order now:

Order your copy of Vivvo now and get:
bullet Six months free upgrades
bullet Free support
bullet Full source code
bullet Immediate download
bullet Starting at only $295.00
Order now

Support HelpDesk:

You can submit a trouble ticket in the support area at any time, using your client area email and password.

Vivvo CMS Resource Center:

The Vivvo CMS Resource Center is your window to a variety of resources that showcase Vivvo's features and technologies. So whether you're brand new to Vivvo or a seasoned user, you can find the information you need right here!

Latest Additions:

Contact us:

Business hours
Mon-Fri 9:00AM - 6:00PM GMT+1
(Europe)
Telephone Sales
381 11 311-50-20
Email inquiries
sales@vivvo.net
(Sales inquiries)
support@vivvo.net
(Support inquiries)

All times are GMT +1. The time now is 09:25 AM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.