WebSite X5Help Center

 
Rick B.
Rick B.
User

Build/website/like/this.html  en

Автор: Rick B.
Просмотрено 1693, Подписчики 1, Размещенный 0  

Dear all,

I just switched from X5 Evolution, 9 I think, to the X5 Pro 2019 version...
I have been told the never X5 version (which X5 Pro 2019 is) allow you to arrange your sitemap like this:

Cars
*Fiat.html
*Mercedes.html
*Page3.html
Pushbikes
*2wheels.html
*3wheels.html

So you'll get the url like: TheNameOfTheWebsite.com/cars/fiat.html
and TheNameOfTheWebsite.com/pushbikes/2wheels.html

Can anyone help me with this since it looks like it isn't possible despite what the guy at the store told me...

Kind regards,

Rick

Размещено
4 Ответы - 2 Полезно - 1 Корректно
John S.
John S.
User

Hello Rick

What you describe is only possible if you use sub-projects.

If you want to have it all in one project then all pages will be in one and the same folder.

Читать больше
Размещено От John S.
Esahc ..
Esahc ..
Moderator

Rick, you can use levels if you want the website structured as you indicated, but the URL's won't indicate the level eg TheNameOfTheWebsite.com/cars/fiat.html would be TheNameOfTheWebsite.com/fiat.html

See attached

Читать больше
Размещено От Esahc ..
Antal Z.
Antal Z.
User

.htaccess

< IfModule mod_rewrite . c >

RewriteEngine be

RewriteBase /

RewriteRule ^ index.php $ - [L]

RewriteCond% {REQUEST_FILENAME}! -F

RewriteCond% {REQUEST_FILENAME}! -DRewriteRule. /index.php [L]

</ IfModule>

-------------------------------------------------- --------------

.htaccess 2

# Opciók + FollowSymLinks
RewriteEngine a
# index.php fájlon a /
RewriteCond% {THE_REQUEST} ^ [AZ] {3,9} \ /.* index \ .php \ HTTP /
RewriteRule ^ (. *) Index \ .php $ / $ 1 [R = 301, L]

-------------------------------------------------- --------------

.htaccess 3

RewriteEngine be

RewriteBase / RewriteRule ^ index \ .php $ - [L]

RewriteCond% {REQUEST_FILENAME}! -F

RewriteCond% {REQUEST_FILENAME}! -D

RewriteRule. /index.php [L]

Читать больше
Размещено От Antal Z.
Rick B.
Rick B.
User
Автор
Esahc ..
Rick, you can use levels if you want the website structured as you indicated, but the URL's won't indicate the level eg TheNameOfTheWebsite.com/cars/fiat.html would be TheNameOfTheWebsite.com/fiat.html See attached

Thanks for the reply,

I know you can make it like this, but a bit weird the website x5 webiste is build the way I preffer but you can't create it that way with it's software

Читать больше
Размещено От Rick B.