0

I create the site about realty. It has three page about one item (flat)

/flat/item/1 -main page about flat
/flat/gallery/1 -photos
/flat/map/1 -map

Customer wants that if flat is out of stock then two pages(gallery, map) have unaccesible for view.

I want to know. What kind of status code I have to set 403 or 404? May be 302, 303 and redirect to /flat/item/1?

4

1 回答 1

0

如果您不想重定向,您应该使用 410(“Gone”)。这意味着该资源永久不再可用。

如果您想重定向图库并映射到主页,请使用代码 301(“永久移动”)。

于 2013-12-07T20:24:34.493 回答