View Full Version : 404 Error
PardonMe
03-28-2007, 05:30 AM
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:
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.
twodayslate
03-28-2007, 05:42 AM
I do not think this is the right forum.
:confused:
PardonMe
03-28-2007, 07:29 AM
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?
Nightfire
03-28-2007, 10:23 AM
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
PardonMe
03-28-2007, 09:48 PM
I do not see any URL in there to change
This is what is in the .htaccess file
#################################################
## 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>
rmedek
03-28-2007, 10:48 PM
Did you get it fixed? It's working fine for me over here.
PardonMe
03-29-2007, 12:00 AM
Yes, I think my friend did for me. Thanks for the notice!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.