Page 1 of 1

Long URLs, generating and parsing

Posted: Tue Apr 01, 2008 3:45 pm
by genepilot
I want to use long urls (search engine friendly) of a form like:

http://www.mysite.com/category/subcateg ... yPage.html

I'm using mod_rewrite.

Can somebody point me in the right direction to figure out how to both generate these long urls and getting the system to allow them?

Thanks!
Brett

Re: Long URLs, generating and parsing

Posted: Wed Apr 02, 2008 4:22 pm
by Pierre M.
Hello Brett,
genepilot wrote: I want to use long urls (search engine friendly) (...) like:

http://www.mysite.com/category/subcateg ... yPage.html

(...)

Can somebody point me in the right direction to figure out how to both generate these long urls and getting the system to allow them?
Seems you have missed the links at the end of the installation manual...

Pierre M.

Re: Long URLs, generating and parsing

Posted: Fri Apr 18, 2008 4:11 pm
by genepilot
Hi Pierre,

Sorry about the long delay in replying, I was off on another demanding project.

I can't seem to find the 'installation manual'.  Could you point me in the right direction?

I spent a some time trying to hunt down this information before and found myself going in circles.  I know that what I want to do is being done but I couldn't find anything would help me avoid reverse-engineering the code to really understand what was going on.

Thanks,
Brett
Pierre M. wrote: Hello Brett,


Seems you have missed the links at the end of the installation manual...

Pierre M.

Re: Long URLs, generating and parsing

Posted: Sat Apr 19, 2008 5:32 pm
by Pierre M.
How can't you find the installation manual in the documentation ?

Pierre M.

Re: Long URLs, generating and parsing

Posted: Sun Apr 20, 2008 4:06 pm
by genepilot
Pierre M. wrote: How can't you find the installation manual in the documentation ?

Pierre M.
I'm afraid that what you are referring to isn't as apparent to some others as it is to you.

I looked in the sections that could be interpreted as being the 'installation manual' and did not find any documentation referring to the parsing and creation of the long urls that I was looking for.

Either you mis-interpreted what I was looking for or the manual that you speak of isn't as easy to find for a non-insider as you think.

Could you please just point me in the right direction instead of trying to say how stupid I am?

Re: Long URLs, generating and parsing

Posted: Sun Apr 20, 2008 5:46 pm
by nuno

Re: Long URLs, generating and parsing

Posted: Sun Apr 20, 2008 6:48 pm
by genepilot
No really, there is no documentation there for interpreting/creating  deep urls.

As a reminder, here is what I have in mind:

http://www.mysite.com/category/subcateg ... yPage.html

Figuring out mod_rewrite and generating urls that ended in .html was child's play.  What I want to do is currently being done in the news module but I can't find anything beyond examples and I'd rather find an explanation rather than reverse-engineering the whole thing.

Thanks,
Brett

Re: Long URLs, generating and parsing

Posted: Mon Apr 21, 2008 4:47 pm
by Pierre M.
Hello again,

following nuno's hint I can access the sample content on a fresh 1.2.4 install the way your are looking for :
/cmsms-1.2.4/extensions/modules/search.html (this is a 3 level deep example)

Could you be missing the hierarchy parameter ? ($config['use_hierarchy'] = true; in config.php according to the manual)

Pierre M.