WebSite X5Help Center

 
Laurence Nicholson
Laurence Nicholson
User

X5 defaulting blog url root as: https://mydomain.com/blog/?  en

Autor: Laurence Nicholson
Visitado 710, Seguidores 1, Compartilhado 0  

My blog root URL is defaulting to include a '?' wich I cannot remove. The resulting article URL has 'https://mydomain.com/blog/index.php?' and then the article title.

How can I remove the 'index.php?' from the URL?

Publicado em
8 RESPOSTAS - 2 ÚTEIS - 1 CORRIGIR
Aleksej H.
Aleksej H.
Moderator

Hello. By default, this option is not available. That's how the program works.

Perhaps you will come across similar solutions. Add code to ".htaccess" file, but this can cause a lot of problems.

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

Ler mais
Publicado em de Aleksej H.
Laurence Nicholson
Laurence Nicholson
User
Autor

Thanks Aleksej,

I have come across those answers, but as you say, that normally throws out a lot of other things.

I was link sharing with a company, but they tell me the links are not accessible from their posts, so I wondered if they could be formatted without the 'index.php?' but if they are defaulted, I wull have to cancel my contract with the other company and not share the links.

Not sure where the problem lays, but as I can see the links and others can use that URL, I suspect it is with the other company and not a link fault (albeit an untidy link).

Ler mais
Publicado em de Laurence Nicholson
Aleksej H.
Aleksej H.
Moderator

I prefer to use the SEF URL (without the question mark), but there's nothing wrong with addresses with a question mark either.

Ler mais
Publicado em de Aleksej H.
Laurence Nicholson
Laurence Nicholson
User
Autor

SEF ?

What is this? Not come across it before. Can you expand a bit on this so I can see how it works?

Thanks

Laurence

Ler mais
Publicado em de Laurence Nicholson
Laurence Nicholson
Laurence Nicholson
User
Autor

Thanks. That makes sense.

So the next question is how do I get my blog post URL to be SEF? It is auto-generated with the non-SEF URL.

Ler mais
Publicado em de Laurence Nicholson
Aleksej H.
Aleksej H.
Moderator
Laurence Nicholson
Thanks. That makes sense. So the next question is how do I get my blog post URL to be SEF? It is auto-generated with the non-SEF URL.

Unfortunately, this cannot be done at the moment.

Ler mais
Publicado em de Aleksej H.
Laurence Nicholson
Laurence Nicholson
User
Autor

Ok. 

As this does interfere with web indexing, I might have to look at another product to create my sites with.

Thanks anyway.

Ler mais
Publicado em de Laurence Nicholson