• Vote Up0Vote Down kwebkweb
    Posts: 43Member
    hello,
    how to stop receiving the error page when I want to go on a file not send NewScoops, for expl: http://www.domain.com/event.html,
    I have the Google Site Map Generator Sitemap but it created can not be seen by me or not because instead of google it is normally displayed http://www.domain.com/sitemap.xml the page error which amounts NewScoops

    Thank you
  • 7 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    you need to add RewriteCond %{REQUEST_URI} !\.xml$ in .htaccess
  • Vote Up0Vote Down kwebkweb
    Posts: 43Member
    okay, thank you for your help Andrey,
  • I added it but nothing appears
    -----------

    <IfModule mod_rewrite.c>
        RewriteEngine On

        RewriteCond %{REQUEST_URI} /+get_img$
        RewriteRule . get_img.php [L]

        RewriteCond %{REQUEST_URI} /+attachment/+
        RewriteRule . attachment.php [L]

        RewriteCond %{REQUEST_URI} /+images/+cache
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule . index.php [L]

        RewriteCond %{REQUEST_URI} !\.php$
        RewriteCond %{REQUEST_URI} !\.html$
        RewriteCond %{REQUEST_URI} !\.css$
        RewriteCond %{REQUEST_URI} !\.js$
        RewriteCond %{REQUEST_URI} !\.ico$
        RewriteCond %{REQUEST_URI} !\.xml$
        RewriteCond %{REQUEST_URI} !/+admin
        RewriteCond %{REQUEST_URI} !/+install
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+js
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+css
        RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+images
        RewriteCond %{REQUEST_URI} !/+themes
        RewriteCond %{REQUEST_URI} !/+videos
        RewriteCond %{REQUEST_URI} !/+pdf
        RewriteCond %{REQUEST_URI} !/+images/+cache
        RewriteRule . index.php [L]
        

        RewriteCond %{REQUEST_URI} .tpl$
        RewriteRule . index.php [L]

        RewriteCond %{REQUEST_URI} /+admin$|/+admin/+.*|/+admin-files
        RewriteRule . admin.php [L]
    </IfModule>
  • Sorry, the requested page was not found.



  • Informations sur l'erreur : 1 erreurs, 0 avertissements.
    Afficher :
    Afficher
     
    1 à 1 sur 1  
    #TypeProblèmeDescriptionNombre de problèmesExempleLigneDétectée
    1
    image
    Erreurs
    Le sitemap est un fichier HTML.
    Votre sitemap semble correspondre à une page HTML. Veuillez utiliser un format de sitemap pris en charge.
  • hi,

    where did you put that file in your newscoop folder?
  • yes in the file newscoop, I added. htaccess from the root of the website public_html / .htaccess