B
B
beduin012012-08-27 01:41:11
Search Engine Optimization
beduin01, 2012-08-27 01:41:11

What URL format to choose?

The CMS is under development. News + forum. There was a problem that I can not come up with an optimal address format. Both SEO and the maximum beauty of the address are important.
Previously, everything on the site was like this
site.ru/category1-category2/name-of-news
now I thought and decided that when changing categories, the links would break. The category doesn't change often, but if you add/remove a category, the links will break.
however, if I drop categories, I will lose important keywords - category names.
Moreover, if you make a URL like:
site.ru/name-of-news,
then it may turn out that in a year I will have the same news with the same text, and then what? Add a number to the end?
I thought and thought and came up with the idea that you can make a link like:
site.ru/123/name-of-news, where
123 is the number of the post itself. This seems to solve the problem with the theoretical possibility of matching the address, but it seems to be not so beautiful anymore ...
Tell me what to do? Which option is preferable? Are there other options I'm missing?

Answer the question

In order to leave comments, you need to log in

12 answer(s)
A
amureki, 2012-08-27
@amureki

Alternatively:
site.ru/2012/08/27/newsname/

G
Gleb Starkov, 2012-08-27
@colonel

Do as before.
When changing the category name through a 301 redirect, send to a new link.

N
Nazar Mokrinsky, 2012-08-27
@nazarpc

I am writing a blog module for my CMS - I chose the following address for the entries:
site.ru/name_of_news:123
Bottom dashes, as for me, interfere less with reading the address.

E
EugeneOZ, 2012-08-27
@EugeneOZ

It is better to leave the category names,
category/123/news_title
Where 123 is the post number

D
deleted-mifki, 2012-08-27
@deleted-mifki

The main thing is to add the news identifier to the address anywhere, then you can isolate and use it, and the rest of the address will be just for beauty, but really do not affect anything, even if the categories change.

4
4ikist, 2012-08-27
@4ikist

do this: /news-name
And to avoid collisions - when saving on the server side, check the availability of the name, if not available - assign it to slug-y timestamp, and for users do ajax availability check before saving.

G
grossws, 2012-08-27
@grossws

Of the options, I can offer example.com/cat-name/123/news-name as a permanent link, and with a globally unique id. This will allow in the absence of a category (or its change) to make a redirect.

P
Pavel Ivanov, 2012-08-27
@angryufo

the most optimal option site.ru/name-of-news
for Seo nesting is very important. the smaller it is, the faster and better everything will be indexed.
It is also very important for SEO that the title of the news is written in transliteration. If such a name already exists, then the easiest way is to add a serial number, it will least affect visibility in search engines

N
Nazar Mokrinsky, 2012-08-27
@nazarpc

the rest of the address will be just for beauty, but really do not affect anything, even if the categories change

M
Mikhail Lyalin, 2012-08-27
@mr_jok

I have site.ru/news/dd_mm_yy

B
beduin01, 2012-08-27
@beduin01

By the way,
site.ru/123/name-of-news will be considered as HC3?
and
site.ru/123-name-of-news UV2?

V
Vorchun, 2012-08-27
@Vorchun

And why not:
Category: site.ru/news/<category_name>
News for the time: site.ru/news/// — leave what you need
or news in the category for the time News for the time: site.ru/news/ <category_name>.//
Second page in the category: site.ru/news/<category_name>/page2
News: site.ru/news/<news_ID>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question