Build/website/like/this.html
Автор: 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
Размещено
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.
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
.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]
Автор
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