WebSite X5Help Center

 
Laurence Nicholson
Laurence Nicholson
User

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

Автор: Laurence Nicholson
Просмотрено 1170, Подписчики 1, Размещенный 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?

Размещено
8 Ответы - 2 Полезно - 1 Корректно
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]

Читать больше
Размещено От Aleksej H.
Laurence Nicholson
Laurence Nicholson
User
Автор

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).

Читать больше
Размещено От 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.

Читать больше
Размещено От Aleksej H.
Laurence Nicholson
Laurence Nicholson
User
Автор

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

Читать больше
Размещено От Laurence Nicholson
Laurence Nicholson
Laurence Nicholson
User
Автор

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.

Читать больше
Размещено От 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.

Читать больше
Размещено От Aleksej H.
Laurence Nicholson
Laurence Nicholson
User
Автор

Ok. 

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

Thanks anyway.

Читать больше
Размещено От Laurence Nicholson