PDA

View Full Version : why can't I submit my domain to a pld directory


minute
03-22-2006, 09:28 AM
Hi, I have tried to submit my domain prestigedealer dot com to many directories running the script but the script is saying that the URL does not exist or it cannot be contacted.

Any idea why this may be happening? My url is definitely there.

Thanks.

pelves
03-23-2006, 08:30 AM
Hello! Have you had a good look at your robots.txt file?
Could you post it here if it looks either complex or very long? I suspect your server is blocking the requests somehow. I can't wget anything from your domain.

minute
03-23-2006, 12:33 PM
My robots.txt file is empty.

minute
03-23-2006, 01:27 PM
I tried a spider simulation program and this is what I received.

OOPS, no title!
OOPS, no META description!
prestigedealer dot com - Cached - Similar pages

Strange because this is my header info.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Prestige Dealer Directory </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="robots" content="index,follow" />
<meta name="generator" content="PHP Link Directory 3.0.3" />
<meta name="description" content="Prestige Dealer Directory accepts links from all Prestige Auto Related websites including dealerships, prestige car rental and leasing companies and prestige auto repair sites. Add your link free." />
</head>

bobby9101
03-23-2006, 02:27 PM
take out <meta name="robots" content="index,follow" /> and you should be good to go :-D
sdon't worry this won't hurt your SEO

John D
03-23-2006, 02:36 PM
There's a user having the same problem on AllDotNet - His domain is amitan dot ie

bobby9101
03-23-2006, 04:41 PM
he needs to remove:
<meta name="robots" content="index,follow" />
<meta name="revisit-after" content="5 days" />

minute
03-23-2006, 10:09 PM
Content visible to registered users only.

Awesome! :)

bobby9101
03-23-2006, 10:12 PM
yep :)

minute
03-23-2006, 11:02 PM
Unfortunately this still did not work after raised hopes.

This is the message I got after submitting to businessplexus

"The URL could not be validated. Either the page does not exist or the server cound not be contacted"

bobby9101
03-23-2006, 11:11 PM
i'll will check again

bobby9101
03-23-2006, 11:13 PM
the following code may be some of your problem
Content visible to registered users only.

bobby9101
03-23-2006, 11:13 PM
please post your header.tpl and your top_bar.tpl

minute
03-23-2006, 11:33 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$smarty.const.DIRECTORY_TITLE}{$smarty.capture.ti tle|strip}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="{$smarty.const.DOC_ROOT}/style.css" />
<meta name="generator" content="PHP Link Directory {$VERSION}" />
<meta name="description" content="{$description}" />
</head>
<body>

Content visible to registered users only. ({$smarty.const.DOC_ROOT})
Content visible to registered users only. ({$smarty.const.DOC_ROOT})
Content visible to registered users only. ({$smarty.const.DOC_ROOT})
Content visible to registered users only. ({$smarty.const.DOC_ROOT})
Content visible to registered users only. ({$smarty.const.DOC_ROOT})
Content visible to registered users only. ({$smarty.const.DOC_ROOT})
Content visible to registered users only. ({$smarty.const.DOC_ROOT})


topbar

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
{strip}
<tr>
<td width="7" class="nav-bg">Content visible to registered users only.</td>
<td width="99%" class="nav-bg">{* Right(!!) part of the top bar *}
Home ({$smarty.const.DOC_ROOT})
|
{* Submit Link *}
{l}Submit Link{/l} ({$smarty.const.DOC_ROOT}/submit.php)
|
{l}Latest Links{/l} ({$smarty.const.DOC_ROOT}/index.php?p=d)
|
{l}Top Hits{/l} ({$smarty.const.DOC_ROOT}/index.php?p=h)
{* RSS feed icon *}
{if $smarty.const.ENABLE_RSS and ($qu ne '' or !empty($category.ID) or $p)}
|
<a href="{$smarty.const.DOC_ROOT}/rss.php?{if $qu ne ''}q={$qu}{elseif $p}p={$p}{else}c={$category.ID}{/if}">
Content visible to registered users only. </a>

{/if}</td>
<td width="7" align="right" class="nav-bg"><div align="right">Content visible to registered users only.</div></td>
</tr>
<tr>
<td class="search-bg">Content visible to registered users only.</td>
<td class="search-bg">
{* Search form *}
<form action="{$smarty.const.DOC_ROOT}/index.php" method="get"><table width="507" border="0">
<tr>
<td width="291"><input type="text" name="q" size="45" class="input" /> </td>
<td width="219" align="left"><input name="search-btn" type="image" id="search-btn" src="{$smarty.const.DOC_ROOT}/images/search-button.gif" alt="Search" /></td>
</tr>
</table></form> </td>
<td align="right" class="search-bg">Content visible to registered users only.</td>
</tr>
</table>
{/strip}

<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:10px;">
<tr>
<td class="footer-box"> {* Display current path *}
{assign var="current_path" value=""}
{foreach from=$path item=cat name=path}
{assign var="current_path" value="`$current_path``$cat.TITLE_URL`/"}
{if !$smarty.foreach.path.first} &raquo; {/if}
{if !$smarty.foreach.path.last}
{$cat.TITLE} ({if $smarty.const.ENABLE_REWRITE}{$current_path}{else} index.php?c={$cat.ID}{/if})
{else}
{$cat.TITLE}
{/if}
{/foreach}
</td>
</tr>
</table>

anon
03-24-2006, 02:28 AM
fixes != free

bobby9101
03-24-2006, 02:34 AM
Content visible to registered users only.
For some reason it is appending a session id to those links
try backing up that file and then taking out that code
then submit to a site and see if you can get in, if you can't then put the code back in and i will look again :-D

bobby9101
03-24-2006, 02:49 AM
DONT DO MY PREVIOUS POSTS
i ran some tests on your site and finally found your problem :-D
you are returning a 404 server header
which in laymans terms means your site is technically not available
please post your .htacces file

spree
03-24-2006, 03:12 AM
I am having the same problem - could someone check mine out please?

bobby9101
03-24-2006, 03:14 AM
post your .htaccess I am 90% positive that it has something to do with that :)
otherwise we are going to have to figure a way to change the server header manually

minute
03-24-2006, 03:34 AM
Thanks mate, that was really unhelpful and also didn't like the insinuation.
I'm trying my hardest to get a directory going.

I've paid for my support and my script.

do you offer paid fixes - otherwise you could help me by telling me the correct channel or don't waste my time in the thread.

bobby9101
03-24-2006, 03:38 AM
--edited by bobby9101--

Kevuk2k
03-24-2006, 04:33 AM
Content visible to registered users only.

Right I think I have the answer. I'm only doing this to keep the peace here and because you had the decency to use my blog to support backlinks. No one esle bothered except a few! Your site is not listed with google yet. http://www.google.co.uk/search?hl=en&q=http%3A%2F%2Fwww.prestigedealer.com%2F&meta=

You are listed with others but it is clear that this script picks up on google's methods so please wait and you will be fine. To others on the forum, come on guys lets not beat this poster up, if he has paid for the script he is entitled to ask questions, even if they appear at first glance unfounded. Why don't we all stop beating each other up here as other scripts are surely laughing at this. If there's a problem there's a solution.

Minute, you'll just have to wait a little more than that :lol: That tickled me. :lol: Once you are in Google you'll be fine.

Kev

David
03-24-2006, 04:38 AM
Content visible to registered users only.

Returning a 404 would definitely do it.
Check the status code of the site with this:
http://gsitecrawler.com/tools/Server-Status.aspx

minute
03-24-2006, 06:15 AM
Yes, the google explanation feels right.

Appreciate all your help everyone.

David
03-24-2006, 06:20 AM
We should probably come up with some error message so submitters will have a better explanation of why it is not working.

snerd
03-24-2006, 08:20 AM
So I checked mine with the link David provided........ and I get the same 404 not found error! All of my sub-directories check out okay except my phpld folder. Here's my .htaccess:

#################################################
## PHP Link Directory - Apache Server Settings ##
#################################################


# Protect files and directories
<Files ~ "(\.(inc|inc.php|tpl|sql)|backup|files|images|inclu de|install|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?)$">
Order deny,allow
Deny from all
</Files>

# Disable directory browsing
Options -Indexes

# Follow symbolic links in this directory
Options +FollowSymLinks

# Customized error messages
ErrorDocument 404 / 404.htm

# 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
RewriteRule (.*)detail/link-(.*).html$ detail.php [QSA]

## Pagination Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)page-(\d+)\.html$ $1/?p=$2 [PT]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]

</IfModule>

Mike

Edit: It must be something in the .htaccess, because it only affects the /directory/ or /directory/index.php URLs. It finds other individual files in the folder okay, such as /directory/login.php and others.

So who can spot the bad command in there? I'm totally ignorant of the .htaccess stuff. :(

Edit 2 Hmmm...... I deleted "all" of the contents of my .htaccess and it still gave a 404 not found error. I have no idea. :?

moi

spree
03-24-2006, 10:13 AM
My problem Kev is that I cant get into google :cry: It's so frustrating. David fixed the email problem for me which was great, but its just led me to another problem. Can anyone help me out before I end up with a flat screen forehead :roll:

minute
03-24-2006, 10:33 AM
Content visible to registered users only.

minute
03-24-2006, 10:49 AM
My admin page shows up too in David URL checker, so why does the other page give a 404. In my experience I have only ever gotten a 404 error when the URL is wrong and the page is not there. And this includes installation of scripts. All it needs to find is index.php - just doesn't make sense. After second thoughts i'm inclined to think their is something else up. I contact my web host who checked the domain and installation on their server and they said it was all sweet.

If I pull this script off the site. If I pull this script off the site and put an index.html page in their would it still give a 404 error. I don't think so. The link checker thingy should have nothing to do with Google - why get google involved - it will just check that the index page, whethere php or html or whatever is there. According to this it's not, but it is.


OK here's what I did. I renamed .htaccess and index.php, I put a dummy index.html in their and I checked it with davids URL tool.

The server returned 200 meaning NO PROBLEMS, then I put it back so this has got nothing to do with Google or being listed, there is some other problem.

minute
03-24-2006, 11:59 AM
404 errors on the site checker and cannot submit the URL to
a PLD directory, same error message comes up.

bobby9101
03-24-2006, 02:05 PM
this may fix it please try this
put at the very top of index.php
<?php
header("HTTP/1.1 200");
?>
save, upload and test
please report if that works

snerd
03-24-2006, 02:21 PM
Yeppers, that worked for me! But only after I left a space between the two tags:

<?php
header("HTTP/1.1 200");
?>

<?php
ob_start( 'ob_gzhandler' );
?>
<?php

Thanks!
Mike

bobby9101
03-24-2006, 02:26 PM
Yes!!!!! we have found a solution :-D
sounds like something that should be in the KB
david, when you plan on releasing a 3.0.4 you should test the headers and make sure we don't need this code for it
+ALSO i believe this should only be a temporary fix, as we must find the cause of the problem itself and try to fix that :?

spree
03-24-2006, 02:46 PM
My index.php looks to be different to this, where do I put the code?

I can paste the Index.php here but it looks very big.

snerd
03-24-2006, 02:50 PM
Content visible to registered users only.
I put it right where he said, at the very top. :wink:

Mike

bobby9101
03-24-2006, 03:18 PM
the very very first line put that code :)

spree
03-24-2006, 04:30 PM
Looks ok now, thanks very much for all the input guys, I will have to wait until google crawls again to be able to see if it has worked :shock:

minute
03-24-2006, 09:41 PM
Now getting 200 Ok on index and categories

Thanks Bobby! :)

But as you said, should be checked.

I've got to test now to see whether I'm still getting session IDs instead of clean mod rewritten categories when it's spidered but that's another story.

Vito9
03-25-2006, 10:40 AM
Content visible to registered users only.

Hi

I'm the user with that domain.
I can remove thoseMETAs but then again they are there for a reason. I do hope you fix this.

I actually downloaded your phplinkdirectory to get he script that checked the URL but haven't had time to go through it yet.

I will remove METAs for the time being.

Rgds

Vito

ps many thanks to John D for his help

Vito9
03-25-2006, 10:55 AM
hi again

I removed the two META tags but still get the same error when trying to submit.

I think that there may be other problems.

I have also checked the page headers with the tool suggested and it shows a clean 200 ok coming back.

If I have a chance over weekend I will try dissect the check url script and see if I can replicate the problem.

Best rgds

Vito

bobby9101
03-25-2006, 03:26 PM
here is the fix for your problem, put this at the very top of index.php on the first line above
Content visible to registered users only.
also, those meta tags are useless, use robots.txt to filter traffic, and a search bot will visit whenever they want. they don't listten the the "return after" meta

Vito9
03-26-2006, 05:49 PM
Content visible to registered users only.

Unfortunately the site is running off a single page which makes requests to the DB - if the page isn't there it throws a custom error page and sets a 404 header.

If I output a 200 header as default this couldn't work.

If I check the headers coming from the script the page returned is a 200.

I will try and look through your page validate script.

Cheers

Vito

David
03-26-2006, 06:01 PM
I'm going to flag this for 3.04
Thanks,
David

David
03-27-2006, 03:38 AM
On line 19 of index.php, I commented out the followning code and it worked.
Content visible to registered users only.

Anyone know why this was there or needed?

minute
03-27-2006, 07:02 AM
I have version 3.0.3 and my index.php doesn't have that line in it.

discover
03-27-2006, 07:45 PM
entered the fix leaving the top of index.php like this:

<?php
header("HTTP/1.1 200");
?>
<?php
/**
* Project: PHPLinkDirectory: Version 3.0...

and still gives me 404 in the checker but login page is ok

Optimit
03-27-2006, 09:15 PM
I have tried adding

Content visible to registered users only.

to the top of index.php, but still cannot submit any other phpLD sites to the directory.

Any ideas?

minute
03-27-2006, 10:24 PM
I found for some reason I had two of them in the 3.0.3 distribution

I don't know why one was called .htaccess~ - I removed it but kept a copy
just in case. It seemed to be an exact duplicate of the other one except that
error document pointed to error.php which did not exist in the distribution.

This and adding the fix you just did was the only thing I changed and it seemed to work.

snerd
03-27-2006, 11:07 PM
Content visible to registered users only.
try putting a space between the two php's thusly..........

<?php
header("HTTP/1.1 200");
?>

<?php

Mike

discover
03-28-2006, 05:56 AM
if i put a space in i get a 200 ok but then i have script errors on the categories on the directory.

havent tried your soution minute because i hoped i could fix it without doin that but if i need to get it workin, i know i dont want google or anyother se gettin a 404

minute
03-28-2006, 08:08 AM
Just something I noticed.

2 .htaccess files. If you only have one, then leave it alone.

neurosis4u
03-28-2006, 09:48 AM
I posted this sometimes before in another topic:

i had the same problems with the 404... then i do something, but i think i dont know what i`m doing, cause i´m not a programmer.
In my version 3.03 i removed following lines:
Content visible to registered users only. Since i removed this, everything seems to be okay... but, what are these lines for? Can someone tell me? :roll:

discover
03-28-2006, 10:38 AM
i have two files also minute but ive no idea if i should or not
i imagine theres two for a reason?

minute
03-28-2006, 10:56 AM
Yep well can't say about that so just leave them - just saying what I did.

What's your site?

minute
03-28-2006, 11:00 AM
Hi, I just submitted my link to PageCat. Sorry if my German is bad.

It didn't make a 404 error.

Also http header check at this site returns 200 OK response Alles Gute

http://gsitecrawler.com/tools/Server-Status.aspx

Woops wrong person, sorry.

discover
03-28-2006, 03:28 PM
tried the htaccess thing and it gives me nothing more than just entering that code at start of index.php
still get syntax error on cat pages in explorer

David
03-28-2006, 03:43 PM
might be good to show a url so we can see what you are talking about

discover
03-28-2006, 04:25 PM
i dont want to post the site in the forum until its all done
i can pm the url david if u want

the syntax error in ie i get is..

line 3
character 1

i get this on every category, index is error free
script passes as 200 with the code fix of
<?php
header("HTTP/1.1 200");
?>
but then gives those syntax errors
when i remove this code again from index i dont have any syntax errors

David
03-28-2006, 09:15 PM
And show us the url please

discover
03-28-2006, 09:58 PM
i dont want to post the domain yet as i mentioned
i can pm it again to you david if you need

GimmeMyDomains
10-02-2006, 06:19 PM
I am having problems submitting one of my sites to *some* PHPLD directories. Others - it works fine. For examply, I have a phpld v.2 directory (www.gimmemydomains.com/links (http://www.gimmemydomains.com/links)) and submitted to it just fine. Not sure if the directories I am having problems with are v.2 or v.3. Is there something that I can fix on my site to make it work?

I have checked it with: http://gsitecrawler.com/tools/Server-Status.aspx
and I get a "Result code: 200" so I don't know what else the problem would be.

My site is: www.interlinksupply.com (http://www.interlinksupply.com)

Thanks for any help.