http - same page, different urls. redirect? -
Say I have an article with many pages. Each page has a small title for the URL (WordPress calls them after the slug). If this title is not provided in the URL, the first page is shown, for example example.com/myarticle, for example example.com/myarticle/firstpage
The question is: Should I redirect me to the latter? And if so, what code? 301, 303?
Keep in mind that the title of the first page can be changed after the article is published (or it may also be a new front page). Example.com/myarticle can now point to the example / myarticle / introduction, but in future it may be example.com/myarticle/tableofcontents, if the author decides to revolve around his article
< / Div>
You can redirect; If you are doing this for SEO, use 301, so those who copy the URL from their address bar will copy their preferred form of URL.
Another option, which should work with at least Google, is to use.
Comments
Post a Comment