WebSite X5Help Center

 
John W.
John W.
User

Blog post URL structure  en

Author: John W.
Visited 1625, Followers 1, Shared 0  

I just practiced with setting up a blog today. I noticed in the source code that the blog posts create their
own canonical tag, which is very nice. Too bad the website pages did not do it automatically also. Hint hint.

On the canonical tag, the URL is domain name/blog?post title

In the address bar, the URL is domain name/blog/index.php?post title

Both surprisingly work the same when entered as a text string in an address bar in a browser.

I'm just wondering why the canonical tag does not have the "index.php" in the URL string.

And, the ? mark. Just wondering what purpose it serves. Is each blog post technically its own web page?
I would think so since they appear by themselves. What is the question mark defining in the URL string?

I know, I should just accept it as it is, but I am so use to static URLs and not these dynamic URLs.
My only concern relates to Google and how it handles indexing the individual posts.

Posted on the
5 ANSWERS - 1 USEFUL
Aleksej H.
Aleksej H.
Moderator

Hello.I checked WebSite X5 blog 2019.3.11 and 17.0.11. I did not find canonical tags.

"Both surprisingly work the same when entered as a text string in an address bar in a browser." - If the same page is available at two addresses, then you have doubles. Double is not very good.

"I'm just wondering why the canonical tag does not have the "index.php" in the URL string." - Perhaps because something is not working properly. One page should not have two addresses. And the Canonical tag must lead to one "main" page address.

"Is each blog post technically its own web page?" - yes.

"What is the question mark defining in the URL string?" - this means that the address contains a parameter.

Read more
Posted on the from Aleksej H.
John W.
John W.
User
Author

Hmmm? On a blog on the X5 website, I just randomly picked one, this line of code is in the html:

<link rel="canonical" href="https://www.websitex5.com/en/resources/blog/?how-to-use-meta-descriptions-for-seo"/>

The generator is 2019.3.11

And the URL in the address bar when in IE is:

https://www.websitex5.com/en/resources/blog/?how-to-use-meta-descriptions-for-seo

I just double checked an entry I am practicing with and the URL in the address bar distinctly has the index.php
inserted between /blog/ and the ?

The canonical tag should eliminate a duplicate content threat, I hope. But I do see on the Website X5 blog,
index.php does not show in the address bar when on a specific blog post. I would suspect that this was an
upgrade for version 2019.3 over 2019.2. (Or it is a whacked IE thing.)
I've been trying to find how to add those nice triangle bullets to the list
for the blog posts entries on the right of the screen. Again, must be the latest version thing. I at least figured
out how to change the Read All button text to other text.

I am not going to be too crazy over this. The Canonical tag is right. Why the address bar is showing index.php
doesn't matter too much. Similar to the home page. www.domain.com/index.html is the same thing as
www.domain.com/ That is not a duplicate content worry. So I will let it be because the canonical tag seems to
be on the right path. (Ha, computer nerd joke in there.)

Thanks for your input. Seems like Website X5 continues to evolve. And that is a comforting thing!

Read more
Posted on the from John W.
Aleksej H.
Aleksej H.
Moderator

Not at all. wink

Read more
Posted on the from Aleksej H.
John W.
John W.
User
Author

I just finished tweeking and uploading my original six blog posts from 2015. A blog I have ignored for 4 years. All seems to have come out well. I'm glad to see that the Google analytics html code
carries over into them as well. And I just found out that commas are allowed in a URL. Didn't know that.

Now I can actually focus on writing new topics from time to time since everything is now done in the same
software and I can have a uniform look. Still a bit more to learn with these cover photos and the best settings
to make the file sizes so they do not self crop. But the text layout and formatting tools are very nice.
Setting up the categories is nice too, especially as the blog can become dozens of pages.

It's at this web link: https://www.eclectic-ware.com/blog

Read more
Posted on the from John W.
Aleksej H.
Aleksej H.
Moderator

Yes, you are right, useful changes have been made to the blog over the past few years.

Read more
Posted on the from Aleksej H.