Just now i realyze the Links need some other modification, for the New Page and the Cool page, here the modification for the New page:
open nph-build.cgi, find and delete this line (inside the sub build_new_page):
$link_results .= qq|<A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
now write:
if ($mod_rewrite eq 1) {
## RewriteMod Modification
@cats = split(/\//,$category);
my $newurl = "";
for ($count = $#cats; $count >= 0; $count--) {
if ($count ne 0) {
$newurl .= $cats[$count] . "-";
} else {
$newurl .= $cats[$count]; }
}
$url = &urlencode($newurl) . ".htm";
$link_results .= qq|<A HREF="/$url">$category_clean</A>\n|;
} else {
$link_results .= qq|<A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
}
here the modification for the cool page:
open nph-build.cgi
find and delete (inside the sub build_cool_page):
$link_results .= qq|<P><A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
now write:
if ($mod_rewrite eq 1) {
## RewriteMod Modification
@cats = split(/\//,$category);
my $newurl = "";
for ($count = $#cats; $count >= 0; $count--) {
if ($count ne 0) {
$newurl .= $cats[$count] . "-";
} else {
$newurl .= $cats[$count]; }
}
$url = &urlencode($newurl) . ".htm";
$link_results .= qq|<P><A HREF="/$url">$category_clean</A>\n|;
} else {
$link_results .= qq|<P><A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
}
open nph-build.cgi, find and delete this line (inside the sub build_new_page):
$link_results .= qq|<A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
now write:
if ($mod_rewrite eq 1) {
## RewriteMod Modification
@cats = split(/\//,$category);
my $newurl = "";
for ($count = $#cats; $count >= 0; $count--) {
if ($count ne 0) {
$newurl .= $cats[$count] . "-";
} else {
$newurl .= $cats[$count]; }
}
$url = &urlencode($newurl) . ".htm";
$link_results .= qq|<A HREF="/$url">$category_clean</A>\n|;
} else {
$link_results .= qq|<A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
}
here the modification for the cool page:
open nph-build.cgi
find and delete (inside the sub build_cool_page):
$link_results .= qq|<P><A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
now write:
if ($mod_rewrite eq 1) {
## RewriteMod Modification
@cats = split(/\//,$category);
my $newurl = "";
for ($count = $#cats; $count >= 0; $count--) {
if ($count ne 0) {
$newurl .= $cats[$count] . "-";
} else {
$newurl .= $cats[$count]; }
}
$url = &urlencode($newurl) . ".htm";
$link_results .= qq|<P><A HREF="/$url">$category_clean</A>\n|;
} else {
$link_results .= qq|<P><A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;
}