Support ForumCustom 404 question – Support Forum https://support.ishyoboy.com/forums/topic/custom-404-question/feed/ Thu, 02 May 2024 07:48:21 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/custom-404-question/#post-4382 <![CDATA[Custom 404 question]]> https://support.ishyoboy.com/forums/topic/custom-404-question/#post-4382 Fri, 29 Aug 2014 06:11:41 +0000 SilverOne Hello,

I had an old website and now created a new one with this theme. The old website was build on the Symfony framework. As a result many links from the old website now go to the theme’s default 404 page on the new website since they don’t exist anymore. Which is great.
However, I noticed Google/Bing/Yahoo is crawling all these old pages and I’m not sure when the search engines go to the theme’s default 404 page they recognize that they are on fact on a 404 page and not just a default content page. Since I want the search engines to de-index these old pages I need to be sure they are seeing them as 404’s.

Do I need to add a response code inside the 404 php page ( such as http_response_code(404); ) or will the search engines understand it is in fact a 404 page?

Thanks!

]]>
https://support.ishyoboy.com/forums/topic/custom-404-question/#post-4396 <![CDATA[Reply To: Custom 404 question]]> https://support.ishyoboy.com/forums/topic/custom-404-question/#post-4396 Fri, 29 Aug 2014 10:25:19 +0000 IshYoBoy The browser should received the 404 code. Please double check it by inspecting the headers after such an URL is loaded. Maybe the links are still indexed.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>