WebSite X5Help Center

 
Adriano R.
Adriano R.
User

Have someone here figured it out to remove the "index.php or Html" from the url?  en

Auteur : Adriano R.
Visité 1101, Followers 1, Partagé 0  

Hello all,


I am trying to get at over off the "index.php or Html" from the URL. I have the mod_rewrite module set up correctly on my server, but it seems that I cannot get it to work using the code I retrieved from the internet.
I know that this is not a WebSite X5 issue or anything to do with the program features. But it would be an excellent demonstration of exceptional customer service if Incomedia offers us an easy solution to the matter. On the other hand, I will appreciate any help I can get from my kind community members. smile

.Htaccess

ErrorDocument 404 /w_api/Handler.html

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www.domain.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTPS}:s (on:(s)|off:s)
RewriteRule ^/?(.*) http%2://www\.domain\.com/$1 [L,R=301,NE]

Options
RewriteEngine on

RewriteCond %{REQUEST_URI} !-f
RewriteRule ^ajax/(.*)$ /w_api/Handler.html [L]

RewriteBase /
RewriteRule ^$ index.html [R=301,L]

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /w_api/Handler.html

Posté le
2 RéPONSES
Adriano R.
Adriano R.
User
Auteur

Have someone here figured it out "how" to remove the "index.php or Html" from the url?

Lire plus
Posté le de Adriano R.
Andre E
Andre E
Moderator

Adriano,

Help me out here, why would you want this?

To use somebody's full name has no shame, besides that it takes care of not excidently ending up on a wrong page.

If you use links, customer hardly sees this, so i don't understand.

Lire plus
Posté le de Andre E