Get Your Discount!

Forums

Search  Users  Rules 
Close
Login:
Password:
Forgot your password?
Register
Login
 
Pages: 1
Reply
deep urls
 
One part of site has urls like this:

/lt/part/section_code/subsection_code/subsubsection_code/  (i mean all parent sections of information block is inside url)

but in information block settings i can't set urls like these, so search component can't understand them.

Section page URL: 
#SITE_DIR#/part/#SECTION_CODE#/ (all i got )

now all urls in search are wrong, what to do?
 
I'm getting the same type of URL's. Any advice?
Always give it a smile..
 
Hello,

I’m not sure how you all managed to set the URL of iblock element like this: "/lt/part/section_code/subsection_code/subsubsection_code/".  Actually, this URL cannot be built with the default product tools. I mean there is no template for subsections in iblock settings; and iblock (or catalog) components do not know how to work with such URLs.
The 'Detailed view page URL' parameter of iblock should be this: '#SITE_DIR#/#IBLOCK_CODE#/#SECTION_CODE#/#ELEMENT_CODE#/'

If you have the following iblock structure:

iblock
- section1
-- subsection 1.1
--- subsection 1.1.1
-- subsection 1.2
- section2
-- subsection 2.1

The URL for an element (with the above iblock settings) would be:

- site/iblock/section1/element/
-- site/iblock/subsection 1.1/element/
--- site/iblock/subsection 1.1.1/element/
etc.

The URL to the elements from the search page will be correct in this case.
Pages: 1
Reply
Users browsing this topic
Reply form
Enter your Post*
More
Files:
Drag and drop one or more files here
or select a file from your computer
Files:
Upload files
 

Bitrix Partner Network has more than 7,000 IT professionals who put their trust in our technologies and assist customers with installation and maintenance. All Bitrix Partners enjoy lucrative discounts on our products and services. Join our Partner Network now! Submitting a Bitrix Partner application is very easy and quick!
Partner Program
Free Online Training
Subscribe to Bitrix News