 |  | | | |  |  |  |  | User Info |
 |  |  |
Membership:
Latest: qqqqqqqqqqq
New Today: 0
New Yesterday: 0
Overall: 11
People Online:
Visitors: 11
Members: 0
Total: 11
|
|
|
|
 |  | | | |  |  |
|  |  | | | |  |  |  |  |
|  | |  |  |  |
|
|
 |  | | | |  |  |  |  | |  | |  |  |  |
Posted: Mon Jul 18, 2005 6:13 am |
|
|
| waraxe |
| Site Admin |

 |
| |
| Joined: Jan 01, 2005 |
| Posts: 32 |
| Location: Estonia, Tartu |
|
|
 |
Hi and welcome to forum!
I think, that this kind of problem can be solved by adding some lines to ".htaccess" file. Please look here:
http://sitemapper.waraxe.us/portal/ftopict-16.html
| Code: |
<Files "sitemap.php">
AcceptPathInfo On
</Files>
|
Feedback is welcome! |
|
|
 |
 |
|
|
|  |  |  | | | |  |  |
 |  | | | |  |  |  |  | |  | |  |  |  |
Posted: Thu Jul 21, 2005 7:01 am |
|
|
| waraxe |
| Site Admin |

 |
| |
| Joined: Jan 01, 2005 |
| Posts: 32 |
| Location: Estonia, Tartu |
|
|
 |
Seems like GoDaddy hosting is very restrictive on everything related to .htaccess file. I have done some search on Google and found many people, complaining about GoDaddy hosting probs - no mod_rewrite, etc ...
Now, there is one more method, we can try - custom error pages.
Can you tell me, is there possibilies to set up custom error pages on GoDaddy hosting? This can be done commonly from administrative interface. Or you can try this line in .htaccess file:
| Code: |
ErrorDocument 404 /
|
And then try some non existent url, like:
http://www.nodnc.com/xyz123
and if this method works, you will see main page instead of 404 error message. In case of success, i can make some additions to sitemapper script, so it will work on your website and all other sites with similar hosting problems.
Waiting for feedback ... |
|
|
 |
 |
|
|
|  |  |  | | | |  |  |
 |  | | | |  |  |  |  | |  | |  |  |  |
Posted: Fri Jul 22, 2005 7:48 am |
|
|
| waraxe |
| Site Admin |

 |
| |
| Joined: Jan 01, 2005 |
| Posts: 32 |
| Location: Estonia, Tartu |
|
|
 |
Ok then, let's try this. Open sitemapper script with editor and find this code fragment:
| Code: |
if($debug == 1)
{
error_reporting(E_ALL);
}
else
{
error_reporting(0);
}
set_magic_quotes_runtime(0);
$scriptname = basename(__FILE__);
|
Now add some more code, so result will be:
| Code: |
if($debug == 1)
{
error_reporting(E_ALL);
}
else
{
error_reporting(0);
}
header('HTTP/1.1 200 OK');
set_magic_quotes_runtime(0);
$scriptname = basename(__FILE__);
|
And finally set 404 error custom page to sitemapper script.
In this way, as you right now will get 404 error from browser, after modifications sitemapper script will be served as 404 error custom page, then sitemapper will generate "200 OK" header, so browser will accept this as normal answer from server, and finally sitemapper script can parse input query as in case of Apache lookup method.
Feedback is welcome - if this method will work on your website, then i will release sitemapper version 0.6 with same modifications. By the way - if you encounter problems with code modification and/or testing, then let me know. |
|
|
 |
 |
|
|
|  |  |  | | | |  |  |
 |  | | | |  |  |  |  | |  | |  |  |  |
Posted: Sat Jul 23, 2005 11:55 pm |
|
|
| waraxe |
| Site Admin |

 |
| |
| Joined: Jan 01, 2005 |
| Posts: 32 |
| Location: Estonia, Tartu |
|
|
 |
There is still 404 return code from server, and as result browser can't get css file and will render style-less page. Are you sure, you added that additional codeline to script?
Anyway, here are some thoughts:
1. Content pages and html tags - yes, this is one thing, that i want to improve in next sitemapper version.
2. CSS - there can be external css file, so you can design sm page as you want.
3. That webpage, you pointed to - it is suggesting the same method, i currently use in sitemapper. And if you want redirection, not full text rendering, then i must say that this option exists in sitemapper!!
Just look at script beginning, and you will see:
| Code: |
// Guest notice - how to treat site guest from search engine
// 0 - no message or action at all
// 1 - text box with message and link to original content
// 2 - forced javascript redirection (delayed) + message text
// 3 - forced javascript redirection (immediate) --> USE AT YOUR OWN RESPONSIBILITY!
$guest_notice = 1;
|
So if you use method 2, then redirection will occur automatically with some delay (10 sec). And method 3 will redirect without delay.
Such redirection can be considered by search engines and other webmasters as kinda "blackhat" techics, something like "doorway" page. So you can use it at on your own resposibility.
I think, that will release next sitemapper version very-very soon, maybe tomorrow, so stay tuned and give it a try, when it is available for download. |
|
|
 |
 |
|
|
|  |  |  | | | |  |  |
 |  | | | |  |  |  |  | |  | |  |  |  |
Posted: Mon Jul 25, 2005 6:56 am |
|
|
| waraxe |
| Site Admin |

 |
| |
| Joined: Jan 01, 2005 |
| Posts: 32 |
| Location: Estonia, Tartu |
|
|
 |
I just tested sitemapper on your wesite:
http://www.nodnc.com/sitemap.php/content-view-43.htm
and it works by method 2 - redirection after 10 seconds delay.
I tested this on IE6 and Firefox browsers and it worked as expected in both cases.
Well, i release new sitemapper version within next few days, let's see then, how it will work on your website  |
|
|
 |
 |
|
|
|  |  |  | | | |  |  |
 |  | | | |  |  |  |  | |  | |  |  |  |
Posted: Mon Aug 01, 2005 10:46 pm |
|
|
| waraxe |
| Site Admin |

 |
| |
| Joined: Jan 01, 2005 |
| Posts: 32 |
| Location: Estonia, Tartu |
|
|
 |
|
|
 |
 |
|
|
|  |  |  | | | |  |  |
 |  | | | |  |  |  |  | |  | |  |  |  |
Posted: Thu Aug 04, 2005 8:08 am |
|
|
| waraxe |
| Site Admin |

 |
| |
| Joined: Jan 01, 2005 |
| Posts: 32 |
| Location: Estonia, Tartu |
|
|
 |
Yes, there are two problems.
1. Bug in Content module handling. This was my mistake and i fixed it allready. Please redownload version 0.6 - it is now working.
2. Problems with custom error pages (GoDaddy specific).
It seems, that custom error pages are working, when URI is ending with ".html", but ".css" is not working. So sitemapper script is not able to use internal css stylesheet. But there is easy solution:
download external stylesheet:
http://sitemapper.waraxe.us/downloads/smstyle.zip
unzip it and upload that "css" file to nuke root directory. And now feel free to modify style sheets for your own design.
Feedback is welcome ... |
|
|
 |
 |
|
|
|  |  |  | | | |  |  |
|
|
|
|
 |  | | | |  |  |
|