Computer Science, asked by lilmag7011, 1 year ago

You decide to add a blog to your ecommerce site. What is the preferred url structure?

Answers

Answered by tirumalarajurv
0

What's URL Structure, if I wanted to add it into my blog?

It's the structure of the URLs that are used to navigate your website by users and Google.


For example.   For example, a blog might be set up at


www.example.com

The default URL structure is set to the Wordpress default with ugly permalinks.  Your first post "Hello" might look like this


www.example.com/?p=1

Kind of ugly.  So first setting the permalink to pretty might give you a URL structure like this:


www.example.com/hello

Pretty straightforward.  Now let's make it a bit more realistic.  Let's suppose that you have a category of "News", and also of "Tutorials."  You could have a URL structure to include the category in the URL to help control your content.  All things in the "News" category would be able to be found in the "News" folder on your website.  It's exactly the same as a folder kept on your computer that you keep all your articles in would be set up.   So:


www.example.com/news/omg-I-stubbed-my-toe/

www.example.com/tutorials/awesome-url-structure-tutorial/

The point of the URL structure is to make your site organized and easy for Google bots to crawl and index.  If it reads your URL and sees the "News" category, then they go and associate the contents with "News."  I hope this helps to explain it a little bit.

Similar questions