Results 1 to 8 of 8

Problem with .htaccess

This is a discussion on Problem with .htaccess within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi I have some problem with the files .htaccess my cms is not indexed while the forum is indexed perfect ...

  1. #1
    Junior Member
    Real Name
    Christian
    Join Date
    Jan 2010
    Location
    Vicenza - Italy
    Posts
    17
    Liked
    0 times

    Problem with .htaccess

    Hi


    I have some problem with the files .htaccess

    my cms is not indexed while the forum is indexed perfect

    I have installed all in the forum folder, in the root i have the index.php of vbadvanced portal


    I use two. htaccess file one at root domain and another in the root of the forum


    in root i have this


    Code:
     RewriteEngine on 
     Options +FollowSymLinks 
     RewriteCond %{HTTP_HOST} ^collectiontricks.it [NC] 
     RewriteRule ^(.*)$ http://www.collectiontricks.it/$1 [L,R=301]  
      
     IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* 
      
     <Limit GET POST> 
     order deny,allow 
     deny from all 
     allow from all 
     </Limit> 
     <Limit PUT DELETE> 
     order deny,allow 
     deny from all 
     </Limit> 
     AuthName collectiontricks.it 
      
     ErrorDocument 400 /forum/400_forum.php 
     ErrorDocument 401 /forum/401_forum.php 
     ErrorDocument 403 /forum/403_forum.php 
     ErrorDocument 404 /forum/404_forum.php 
     ErrorDocument 500 /forum/500_forum.php

    at root forum (folder forum) i have this


    Code:
     # Comment the following line (add '#' at the beginning) 
     # to disable mod_rewrite functions. 
     # Please note: you still need to disable the hack in 
     # the vBSEO control panel to stop url rewrites. 
     RewriteEngine On 
      
     # Some servers require the Rewritebase directive to be 
     # enabled (remove '#' at the beginning to activate) 
     # Please note: when enabled, you must include the path 
     # to your root vB folder (i.e. RewriteBase /forums/) 
     #RewriteBase / 
      
     RewriteCond %{HTTP_HOST} !^www\.collectiontricks\.it 
     RewriteRule (.*) http://www.collectiontricks.it/forum/$1 [L,R=301] 
      
     ErrorDocument 400 /forum/400_forum.php 
     ErrorDocument 401 /forum/401_forum.php 
     ErrorDocument 403 /forum/403_forum.php 
     ErrorDocument 500 /forum/500_forum.php 
      
     RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] 
      
     RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap) 
     RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA] 
      
     RewriteCond %{REQUEST_FILENAME} !-f 
     RewriteCond %{REQUEST_FILENAME} !-d 
     RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ 
     RewriteRule ^(.+)$ vbseo.php [L,QSA]



    suspicion of anything on. htaccess file I has come because that like facebook works well on the forum and not on the CMS.

    facebook test takes me to this result.




    https://developers.facebook.com/tool...lo-utente.html




    Thank you for your cooperation

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    The page you used in that tool is loading correct and gives correct header. I don't know how the tool you used is designed but it seems to be flawed.

    The issue regarding CMS not getting indexed has been discussed several times. vBCMS has many SEO issues regarding the way vBulletin Developers coded it.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Junior Member
    Real Name
    Christian
    Join Date
    Jan 2010
    Location
    Vicenza - Italy
    Posts
    17
    Liked
    0 times
    thanks for the answer, but no index of 36 articles written and then also the reading of the sitemap (made ​​with your application) tells me 404 error on links valid?

    The two htaccess files may be the cause or are they correct?

    The google +1 button does not work on cms, also.


    strange that only two applications do not work in the cms

    Thanks

    Regards

    :bai

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    You should change

    RewriteCond %{HTTP_HOST} ^collectiontricks.it [NC]
    to
    RewriteCond %{HTTP_HOST} !^www\.collectiontricks\.it

    in your root htaccess.

    Otherwise, i see nothing wrong, and the linked resource is NOT throwing a 404 header. Perhaps you've blocked facebook, or it's IP), etc to return the results of a 404 to their service.

  5. #5
    Junior Member
    Real Name
    Christian
    Join Date
    Jan 2010
    Location
    Vicenza - Italy
    Posts
    17
    Liked
    0 times
    thanks for the answers.

    [quote] Otherwise, i see nothing wrong, and the linked resource is NOT throwing header to 404. Perhaps you've blocked facebook, or it's IP), etc. to return the results of a 404 to Their service. [/ quote]

    the problem is that it works on everything except the cms

    regards

    PS. I checked the log vBSEO Sitemap XML search engine and see a strange thing will carry the stamp
    vbseo.png

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Did you delete "co" from the front of it somewhere? that should say content.php

  7. #7
    Junior Member
    Real Name
    Christian
    Join Date
    Jan 2010
    Location
    Vicenza - Italy
    Posts
    17
    Liked
    0 times
    I knew that was content, but I don't think to deleted co ..., you have no idea where I can check?

    thanks

  8. #8
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Check any template edits you may have done, as well as any custom url settings in vbseocp to see if you typo'ed something.

Similar Threads

  1. 404 - .htaccess problem
    By Gri in forum Troubleshooting
    Replies: 9
    Last Post: 06-28-2009, 02:30 PM
  2. htaccess problem
    By hornstar6969 in forum General Discussion
    Replies: 11
    Last Post: 12-22-2008, 06:19 PM
  3. htaccess problem
    By m7shsh in forum Troubleshooting
    Replies: 1
    Last Post: 06-03-2008, 03:57 PM
  4. htaccess problem
    By trigon in forum Deutsch
    Replies: 31
    Last Post: 01-03-2008, 12:32 PM
  5. htaccess file problem / vbseo problem
    By Bestgfe in forum Troubleshooting
    Replies: 6
    Last Post: 04-05-2006, 09:21 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
  •