SiteMapper - SEO solution for phpnuke, phpbb and more ...
  
February 10, 2012
Navigation
 SiteMapper Home
 Log Out

 Discussions
 Forums
 Members list
 News
 Site news
 Topics
 News Submit
 Downloads & Links
 Downloads
 Web links
 Contents
 Content
 Sections
 Programming Books
 Reviews
 Top
 Actions
 Feedback
 Recommend us
 Search
 Journal
 Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: qqqqqqqqqqq
New Today: 0
New Yesterday: 0
Overall: 11

People Online:
Visitors: 11
Members: 0
Total: 11
 


SiteMapper - SEO solution for phpnuke, phpbb and more ... Forum Index Register Forum FAQ Memberlist Search

SiteMapper - SEO solution for phpnuke, phpbb and more ... Forum Index -> SiteMapper for PhpNuke -> Trouble with PHP-Nuke 7.6
Post new topic  Reply to topic View previous topic :: View next topic 
 
PostPosted: Mon Jul 18, 2005 6:13 am Reply with quote
waraxe
Site Admin
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!
View user's profile Send private message Send e-mail Visit poster's website
 
PostPosted: Thu Jul 21, 2005 7:01 am Reply with quote
waraxe
Site Admin
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 ...
View user's profile Send private message Send e-mail Visit poster's website
 
PostPosted: Fri Jul 22, 2005 7:48 am Reply with quote
waraxe
Site Admin
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.
View user's profile Send private message Send e-mail Visit poster's website
 
PostPosted: Sat Jul 23, 2005 11:55 pm Reply with quote
waraxe
Site Admin
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.
View user's profile Send private message Send e-mail Visit poster's website
 
PostPosted: Mon Jul 25, 2005 6:56 am Reply with quote
waraxe
Site Admin
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 Smile
View user's profile Send private message Send e-mail Visit poster's website
 
PostPosted: Mon Aug 01, 2005 10:46 pm Reply with quote
waraxe
Site Admin
Site Admin
 
Joined: Jan 01, 2005
Posts: 32
Location: Estonia, Tartu
0.6 version is released, you can download it from here:

http://sitemapper.waraxe.us/portal/download-file-3.html

Let' see, how it will work Smile ...
View user's profile Send private message Send e-mail Visit poster's website
 
PostPosted: Thu Aug 04, 2005 8:08 am Reply with quote
waraxe
Site Admin
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 ...
View user's profile Send private message Send e-mail Visit poster's website
Trouble with PHP-Nuke 7.6 
  SiteMapper - SEO solution for phpnuke, phpbb and more ... Forum Index -> SiteMapper for PhpNuke
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT + 10 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  
Powered by phpBB 2.0.11 © 2001-2004 phpBB Group
Theme created by Vjacheslav Trushkin
Forums ©
Hard drive recovery - Error solutions - ATI Radeon driver updates,firmware,database,community - Nvidia GeForce fans community,driver downloads,firmware -

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest (c) 2005-2007 by Janek Vind "waraxe"

Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.794 Seconds. -

:: Hestia phpbb2 style by Cyberalien :: PHP-Nuke theme by Pitcher ::