WebSite X5Help Center

 
Rick B.
Rick B.
User

Build/website/like/this.html  en

Auteur : Rick B.
Visité 1705, Followers 1, Partagé 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

Posté le
4 RéPONSES - 2 UTILE - 1 CORRECT
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.

Lire plus
Posté le de 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

Lire plus
Posté le de 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]

Lire plus
Posté le de Antal Z.
Rick B.
Rick B.
User
Auteur
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

Lire plus
Posté le de Rick B.