Gossamer Forum
Quote Reply
URL build modification
Hello,

I've just imported today a DMOZ database using Ultranerds' script which works like a charm (with Glinks 3.04) :) (~except for my Paypal problems~)

The default URL style of Glinks is : http://www.mydomain.com/my_glinks/Category1/SubCategory1/SubSubCategory1/..../...../.../ (etc..) index.html or more2.html, etc...

With the huge-deepness of DMOZ categories and their number I would really like to avoid big URLs for SEO-reasons, and avoid so many directories as possible...

Actually I would rather like something like this this plan : http://www.mydomain.com/my_glinks/id_category-category_name.html and category_name-2, -3, -4, etc...

Using build_category_format, I could do something like this : http://www.mydomain.com/my_glinks/id_category-CategoryName/index.html

But I don't see how :

~-> making everything in lowcase
~-> remove the directory, and directly write a file .

Any ideas that would avoid me to edit the core of the program ?

Thanks a lot,

Ugo
Quote Reply
Re: [numeric] URL build modification In reply to
Well check out the plugin section and you will find a free plugin that should help you solve the problem.

Plugin Name : StaticURLtr

I am not sure if you can have .html type page instead of /category-name/ for the category name.

Hope this helps.

Vishal

Vishal
-------------------------------------------------------
Quote Reply
Re: [SWDevil.Com] URL build modification In reply to
Hi,

Thanks for your answer...

Indeed I've already installed it, in order to translate French accents into simple US characters equivalent inside
the URL.

But haven't thought of it for lowercase....
Something like this [A-Z]:[a-z] should work ?

ugo
Quote Reply
Re: [numeric] URL build modification In reply to
No it doesn't work :(

Any idea please ?

ugo
Quote Reply
Re: [numeric] URL build modification In reply to
I do not know how to change french to english, but I was able to change all the letters to lowercase. Here is what I used for that:

A:a
B:b
C:c
D:d
E:e
F:f
G:g
H:h
I:i
J:j
K:k
L:l
M:m
N:n
O:o
P:p
Q:q
R:r
S:s
T:t
U:u
V:v
W:w
X:x
Y:y
Z:z

Try it again, it should work.

Vishal

Vishal
-------------------------------------------------------