X5 defaulting blog url root as: https://mydomain.com/blog/?
Autor: Laurence Nicholson
Besucht 1081,
Followers 1,
Geteilt 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?
Gepostet am
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]
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).
I prefer to use the SEF URL (without the question mark), but there's nothing wrong with addresses with a question mark either.
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
SEF - Search Engine Friendly.
https://helpcenter.websitex5.com/de/post/251442 - SEF URL.
https://helpcenter.websitex5.com/index.php?page=251442 - non-SEF URL.
Read this:
https://www.siteground.com/kb/what_are_search_engine_friendly_urls_sef/
https://www.connectionmodel.com/blog/what-are-seo-friendly-urls-and-why-should-you-use-them
Note that search engines understand SEF and non-SEF URL.
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.
Unfortunately, this cannot be done at the moment.
Autor
Ok.
As this does interfere with web indexing, I might have to look at another product to create my sites with.
Thanks anyway.