Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7

Thread: 404 Error

  1. #1
    New Coder
    Join Date
    Dec 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    404 Error

    Hey everyone, I need help again! I am not sure if this is the section to post; sorry if I am wrong.

    My site is www.linktopia.net .. whenever I try to click on a category, I get an 404 error.

    The error is:
    Code:
    Not Found
    The requested URL /w0202/d18/s29/b02a8772/www/linktopia.net/index.php was not found on this server.
    People been telling me it is an .htaccess problem, however I don't know how to fix this. The directory script I am using is PHPLD 3.1.0. Thanks in advanced.

  • #2
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Location
    VA
    Posts
    1,042
    Thanks
    67
    Thanked 39 Times in 39 Posts
    I do not think this is the right forum.

    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!

  • #3
    New Coder
    Join Date
    Dec 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well where should I post this? Admin can you please move it to appropriate location. Besides the correct location for this thread, can anyone help me?

  • #4
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    You need to open your .htaccess file and change the url in there. It's pointing to the wrong filepath. You need to take out

    w0202/d18/s29/b02a8772/www/

    The .htaccess file might not show, so in your FTP client you need to enable view hidden files/folders

  • #5
    New Coder
    Join Date
    Dec 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I do not see any URL in there to change
    This is what is in the .htaccess file

    Code:
    #################################################
    ## PHP Link Directory - Apache Server Settings ##
    #################################################
    
    # Prevent .htaccess and .htpasswd files from being viewed by web clients
    <Files "^\.ht">
        Order allow,deny
        Deny from all
    </Files>
    
    # Protect files
    <Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
      Order deny,allow
      Deny from all
    </Files>
    
    # Protect directories
    <Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
      Order deny,allow
      Deny from all
    </Files>
    
    # Disable directory browsing
    Options -Indexes
    
    # Follow symbolic links in this directory
    Options +FollowSymLinks
    
    # Override PHP settings that cannot be changed at runtime
    # (If your server supports PHP settings via htaccess you can comment following two lines off)
    # php_value register_globals   0
    # php_value session.auto_start 0
    
    # Customized error messages
    # ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" )
    ErrorDocument 404 index.php?httpstatus=404
    
    # Set the default handler
    DirectoryIndex index.php
    
    # URL rewrite rules
    <IfModule mod_rewrite.c>
       RewriteEngine On
    
       ## Details Link Page Rewrite##
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule (.*)detail/link-(.*).htm[l]?$ detail.php [QSA,NC]
    
       ## Pagination Rewrite
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule (.*)page-(\d+)\.htm[l]?(.*)$  $1/?p=$2 [PT,NC]
    
       ## Category redirect
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-l
       RewriteRule ^(.*)$ index.php [QSA,L]
    
    </IfModule>

  • #6
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Did you get it fixed? It's working fine for me over here.

  • #7
    New Coder
    Join Date
    Dec 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, I think my friend did for me. Thanks for the notice!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •