Contentteller

Contentteller Support Forums
Home Forums > Contentteller > Troubleshooting and Problems >

404 errors all over

Discussion in 'Troubleshooting and Problems' started by cosmin, Jun 29, 2009.

  1. cosmin Customer

    404 errors all over

    Hi Philipp, I upgraded to 2.0.4 by overwriting the old files and running cupgrade.php My host says that it supports .htacess but even with search friendly URLs disabled I get page not found for any link (see File Portal - Download). Any ideas?
    cosmin, Jun 29, 2009
    #1
  2. cosmin Customer

    Actually the link should be File-Portal.net
    cosmin, Jun 29, 2009
    #2
  3. Philipp Administrator

    You need to disabled ForceType:
    Manage Websites => Edit => ForceType enabled => No

    The default search engine friendly URLs (contentteller.php/) should work just fine on any Linux based servers while the ForceType and mod_rewrites options needs .htaccess support.

    Have you renamed htaccess.txt to .htaccess?
    Philipp, Jun 29, 2009
    #3
  4. cosmin Customer

    force type is already off. and so are SEF URLs. and .htaccess is already there as i had already renamed it when i installed 2.0.3 did you make any changes to .htaccess in 2.0.4?
    cosmin, Jun 29, 2009
    #4
  5. cosmin Customer

    OK uploaded the .htacess (renamed it, too) that came with 2.0.4 left ForceType enabled to off, and set Use mod_rewrite for SEO URLs: and Search engine friendly URLs:
    to yes. I still get 404 all over.
    cosmin, Jun 29, 2009
    #5
  6. Philipp Administrator

    No, .htaccess is the same.

    You need to uncomment the following lines in .htaccess for mod_rewrite:

    Code:
    # Uncomment the following RewriteCond/RewriteRule lines if you are using the mod_rewrite SEO option
    # You may need to adjust the third RewriteCond line to exclude additional directories
    # Note: Using the mod_rewrite option is only recommended for experienced users
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(cadmin|jscripts|images|sitemap)/
    RewriteRule ^(.+)$ contentteller.php [L,QSA]
    Philipp, Jun 29, 2009
    #6
  7. cosmin Customer

    I don't get it. Does force type work with .htaccess disabled?
    Because I did the following
    The ForceType feature will turn URLs like http://yoursite/contentteller.php/news/story/an_example_story.html to http://yoursite/contentteller/news/story/an_example_story.html

    In order to use this feature, you need to add the following .htaccess file to your root directory:

    <FILES contentteller>
    ForceType application/x-httpd-php
    </FILES>

    I copied your .htaccess code from the previous post and uploaded it, together with the above change. As soon as I turn on "Use mod_rewrite for SEO URLs:" I get the 404 errors. I turn it off, the site works fine, even with force type enabled. Any thoughts? I guess I could live without mod-rewrite as long as I get some kind of URL rewriting to make the site more SEO friendly, but it seems strange.
    cosmin, Jun 30, 2009
    #7
  8. Philipp Administrator

    According to the FAQ of your webhost you need to add the following line before the rules:

    Code:
    RewriteBase /ess20
    Philipp, Jun 30, 2009
    #8
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > Troubleshooting and Problems >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.