Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

help with index of wrong pages Rate Topic   - - - - -

 
  • indy0077
  • Senior Member
  • Banned
  • Join Date: 03-Nov 09
  • 1431 posts

Posted 23 March 2010 - 01:49 AM #21

still confused...
im afraid to disallow the subfolder in root of the domain,as many pages are indexed and the site is ok with googles by now.Are you sure that if i dissalow the sub folder in the robots.txt in the root of the domain,that the SECOND robots.txt in the sub folder will be active??are you 100 per cent sure??so now you are saying i should have 2 robots.txt file...Any other developer could share its experience with us?

Hmmm... I see. And why do you use the image.php in the robots? I would use in your case that in the root robots file:

Disallow: /shop/image.php?object_type=
It will stop the robots to index all URLs ending with image.php?object_type= in the subfolder.

That works 100%.
.
CS-Cart Professional €160.00 | CS-Cart Multi-Vendor €625.00 | CS-Cart Hosting | SSL Certificates
.
CS-Cart Optimized Servers *** USA & UK VPS Servers

 
  • gabrieluk
  • Senior Member
  • Members
  • Join Date: 21-Jul 09
  • 133 posts

Posted 23 March 2010 - 05:19 PM #22

Hmmm... I see. And why do you use the image.php in the robots? I would use in your case that in the root robots file:

Disallow: /shop/image.php?object_type=
It will stop the robots to index all URLs ending with image.php?object_type= in the subfolder.

That works 100%.

SORRY iNDY ,but now you are reallllyyyy confusing me....we are not following anymore....you are giving me all the time dubious answers,I know you are trying to help me,but you are not following a line of tough...if you read,calm,this thread from the beginning and also read your answers,you will see that it doesnt make sense...Don't you agree?:neutral:
Number 1

 
  • indy0077
  • Senior Member
  • Banned
  • Join Date: 03-Nov 09
  • 1431 posts

Posted 23 March 2010 - 05:54 PM #23

SORRY iNDY ,but now you are reallllyyyy confusing me....we are not following anymore....you are giving me all the time dubious answers,I know you are trying to help me,but you are not following a line of tough...if you read,calm,this thread from the beginning and also read your answers,you will see that it doesnt make sense...Don't you agree?:neutral:

Agree. Use that

Disallow: /shop/image.php?object_type=
or

Disallow: /shop/image.php

.
CS-Cart Professional €160.00 | CS-Cart Multi-Vendor €625.00 | CS-Cart Hosting | SSL Certificates
.
CS-Cart Optimized Servers *** USA & UK VPS Servers

 
  • gabrieluk
  • Senior Member
  • Members
  • Join Date: 21-Jul 09
  • 133 posts

Posted 29 March 2010 - 10:32 PM #24

If you have SEO enabled then add:

Disallow: /index.php


Can i use a 301 instead of the Disallow ?

### re-direct index.php to root / ###
RewriteCond %{THE_REQUEST} ^.*\/index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ /$1 [R=301,L]
Number 1

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3798 posts

Posted 29 March 2010 - 11:55 PM #25

You don't need to redirect it. What it specifically does is disallows all of the /index.php?blablablabalbalalblab stuff that you have been complaining about. I am not sure why you just don't add it and be done with it.?

 
  • gabrieluk
  • Senior Member
  • Members
  • Join Date: 21-Jul 09
  • 133 posts

Posted 30 March 2010 - 04:35 AM #26

ahhhh...ok:p
I just got confused...htacess and robots.txt are new for me....
Number 1

 
  • MimiWatch
  • Member
  • Members
  • Join Date: 14-Jun 08
  • 137 posts

Posted 18 April 2010 - 01:09 PM #27

I need redirect index.php in to root. By using for example this
### re-direct index.php to root / ###
RewriteCond %{THE_REQUEST} ^.*\/index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ /$1 [R=301,L]
redirect, operating it.

But after added goods in shopping cart is this error
jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...

What is any solution?

 
  • indy0077
  • Senior Member
  • Banned
  • Join Date: 03-Nov 09
  • 1431 posts

Posted 18 April 2010 - 01:37 PM #28

I need redirect index.php in to root. By using for example this

### re-direct index.php to root / ###
RewriteCond %{THE_REQUEST} ^.*\/index\.php\ HTTP/
RewriteRule ^(.*)index\.php$ /$1 [R=301,L]
redirect, operating it.

But after added goods in shopping cart is this error
jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...
What is any solution?

That might be because the wildcard you use in the code
[*]. This one
^.*
menas "include anything before". Then all index.php files in your subfolders will be affected because they contain index.php files as well.
.
CS-Cart Professional €160.00 | CS-Cart Multi-Vendor €625.00 | CS-Cart Hosting | SSL Certificates
.
CS-Cart Optimized Servers *** USA & UK VPS Servers

 
  • MimiWatch
  • Member
  • Members
  • Join Date: 14-Jun 08
  • 137 posts

Posted 18 April 2010 - 02:17 PM #29

Maybe I am lost, I am trying other ways but with the same result. Is there any other option for redirect index.php