Post new topic Reply to topic  [ 7 posts ] 
 Post subject: URL problems
PostPosted: 2010-02-03 (23:40) 

Joined: 2010-02-03 (23:36)
Posts: 4
I have on the index from my website the include from the script. It displays the news script. That's ok, but the url to the article is not good. (URL handling stays on: .htaccess mod rewrite)
example: http://www.site.com/artikel.html
I get a "not found" because the news script is in the submap "nieuws"

It should be:
http://www.site.com/nieuws/artikel.html
This url works!

But how can i change the urls on the index from my site?


Top
 Profile  
 
 Post subject: Re: URL problems
PostPosted: 2010-02-03 (23:51) 
Site Admin

Joined: 2003-07-27 (00:49)
Posts: 7351
Did you change the include mode in include.php from 3 to 1?

Code:
define('N2S_INCLUDE_MODE', 1);


Ralf


Top
 Profile  
 
 Post subject: Re: URL problems
PostPosted: 2010-02-04 (10:25) 

Joined: 2010-02-03 (23:36)
Posts: 4
Yes, this is my include.php:

Code:
<?php

/**
* GentleSource News Script
*
*/


define('N2S_ROOT', './nieuws/');
define('N2S_FRONTEND_RESULT_NUMBER', 2);
define('N2S_INCLUDE_MODE', 1);  // 0 - not included
                                // 1 - article list is included (for teasers, latest news box etc.)
                                // 2 - article list and pagination are included
                                // 3 - full include of article list and articles

require N2S_ROOT . 'news.php';

?>


Top
 Profile  
 
 Post subject: Re: URL problems
PostPosted: 2010-02-04 (10:51) 
Site Admin

Joined: 2003-07-27 (00:49)
Posts: 7351
Could you please send me an FTP account so that I can take a look?

Ralf


Top
 Profile  
 
 Post subject: Re: URL problems
PostPosted: 2010-02-04 (11:30) 

Joined: 2010-02-03 (23:36)
Posts: 4
I send you a mail.


Top
 Profile  
 
 Post subject: Re: URL problems
PostPosted: 2010-02-06 (21:39) 

Joined: 2010-02-03 (23:36)
Posts: 4
I send you a mail, but i don't get a answer yet.

Can you look at it ?


Top
 Profile  
 
 Post subject: Re: URL problems
PostPosted: 2010-02-07 (22:36) 
Site Admin

Joined: 2003-07-27 (00:49)
Posts: 7351
I fixed it. Please download the file /include/urlconvert.class.inc.php via FTP from the script folder for backup.

Best regards

Ralf


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


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

Resources:   Schwerin    Private Krankenversicherung    Krankenversicherung    Website Tools Collection    Speed Camera Database    Radarfallen-Datenbank    Speed Camera Database    Teeny Weeny URL
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr