Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Q: Multivelel URLs / Hiding part of the FancyURL
#1
Hello.

I have previously added FancyURLs to my test site, however I noticed that it doesn't output full slug path in the address bar as URL. To explain:

Instead:

Code:
http://site.tdl/products/product-subcategory/best-product-ever.html

it gives:

Code:
http://site.tdl/product-subcategory/best-product-ever.html

- that is, it outputs oly the immediate parent.

Is there some %grandparent% and %grandgrandparent% option for URL formation? :-)

*******

Second question is regarding start page.

The site structure is designed as:

site.tdl
- cat1
- cat2
- subcat1
- subcat2
- subsubcat1
- subsubcat2
- subsubcat3
- subcat3
- subcat4
- caT3
- cat4

The problem is that because of %parent% rule, CMS outputs "index" when at that immediate sublevel:

Code:
http://site.tdl/index/cat1.html

Would it be possible to hide only that "index" in .htaccess, or maybe rename "index" slug into something else?

Thanks.


(This structure is necessary because of the end users.)
Reply
#2
The "index" is a know point, there was already some discussion

about parent/parent/child-slug, do a search, if I remember well there have been some hints on that as well

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
Connie Wrote:The "index" is a know point, there was already some discussion

about parent/parent/child-slug, do a search, if I remember well there have been some hints on that as well

Cheers, Connie

Thanks.

I did solved the "index" problem, but I couldn't find working "parent/parent/etc/page" fix - any help with it?




***



Index fix:

Carlos Wrote:Anyway here's a patch: edit /admin/inc/basic.php, at the beginning of function find_url(), line 349, insert:
Code:
if ($parent=='index') $parent='';

@ http://get-simple.info/forum/post/19671/#p19671
Reply




Users browsing this thread: 1 Guest(s)