URL SEO /id/slug VS. /slug-id [closed] - url

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 2 years ago.
Improve this question
In short, I was wondering about which is best for good SEO?
https://example.com/articles/{id}/{slug}
https://example.com/articles/18/new-atlas-robot-revealed
or
https://example.com/articles/{slug}-{id}
https://example.com/articles/new-atlas-robot-revealed-18
Or, does it matter for SEO?
Is it related to Google News?
The first one is used by StackOverflow and it does a redirect when a slug did not given (or wrong) to the right, slugged version. And I'm liking it.
But while I'm surfing on the internet, I mostly see URLs like the second one.

Actually for the url naming, you can understanding as this way:
/ directory, or you can say folder path etc. For example: home/product/producta
- spacing replacement, For example: home/product/stack-overflow-product-a
Take an example your question url on Stack Overflow here:
https://stackoverflow.com/questions/60635996/url-seo-id-slug-vs-slug-id
I am sure you see the sample :D
Here is more information for your references:
https://moz.com/learn/seo/url
https://yoast.com/seo-friendly-urls/
https://yoast.com/wordpress-seo-url-permalink/
Hope it helps!

Related

Undefined Control Sequence \TEXTBF [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed last year.
Improve this question
I am getting the error shown in the attached photo, Please guide me to fix it. I am using overleaf site to write the paper.
TeX is case sensitive. Use
\textbf{...}
However to follow latex's principle to separate formatting and content, it would be better to not manually mess with the fonts like this. Instead your use-case seems to be better suited for a sectioning command like \subsection{...}, or whatever level you like.

Export text from App to Numbers/Excel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Is it possible to program without using a database to export text directly to a Numbers or Excel document?
I mean if you have like "name", "phonenr", "date" etc. and you want to send and save it to an excel/numbers document. Is it possible to do it by code ?
I know how to send the text as an email with code, just don't know if its possible to save it to excel/numbers document.
Tried to search for a solution to this but only thing I found was going through a db. I was thinking of avoiding it as far as I can to simplify my application. (Haven't started yet, so I don't have any example how it will look like). Hope this explanation of was enough, ask if you don't understand it :)
yeahm you can do that by using excel lib for the language you are using,
http://www.vogella.com/articles/JavaExcel/article.html
for ios: http://sourceforge.net/projects/xlslib/

Post Text on LinkedIn with Authentication in IOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I search a lot for post text via Linked In API, but not able to find any good solution.
How can I authenticate user & post my Text on his page?
Any answer will be greatly appreciated!!
Help me to Solve this
Thank you,
The answer to this kind of question is always the same: the official documentation is your best friend. Also there are some ready to use third-party open source library for implementing linkedin authentication. One example is this.

Joomla, online image editing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I've been asked to do a site in Joomla. It must feature a way for visitors and administrators to upload and resize/crop images online.
Can anyone give me a hint of where to start?
I'm using Joomla 3.0.
Cheers
Start by looking through this extension category:
http://extensions.joomla.org/extensions/photos-a-images/images/image-management
If you don't like any of those you'll need to find a javascript image editor that you like and then wrap it in your own Joomla extension.
RokGallery does everything but I'm not sure about letting unregistered guests upload image. You'll have to look into that one.
http://www.rockettheme.com/extensions-joomla/rokgallery

How did the term "slug" (as in URLs) originate? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've done some Googling trying to find out the origin of the word "slug" as used in URLs. However I can't seem to find any information on it. Does anyone know where this term came from?
http://en.wikipedia.org/wiki/Slug_(web_publishing)
This is what I've heard (from a somewhat reliable source):
Slugs are slow-moving gastropods. When you call someone a slug, you're calling them lazy - it's not a compliment. When you use human-readable terms in a URL instead of a database number or some other form, it's usually only for convenience; you can name URLs virtually anything you want, and so naming them using English words is mostly for readability. It supposedly originated when programmers became too "lazy" to look up a proper code or ID for a website, and began naming them using words. Those "lazy URLs" became slugs.
Again, I'm not sure if this is 100% correct, but it's what I've heard!
Hope this helps!
N.S.

Resources