Several of our pages are not being indexed by Google. When I submit them manually through Google Webmaster Tools, I get a notification that the page is being redirected via a 301 redirect to the exact same URL that we are trying to index. This is the HTTP response I get from Google when I submit a page: HTTP/1.1 301 Moved Permanently Date: Wed, 05 Oct 2016 23:13:20 GMT Server: Apache/2.4.23 X-Powered-By: PHP/5.5.37 Location: webpage I submitted Vary: User-Agent Access-Control-Allow-Origin: * Content-Length: 0 Keep-Alive: timeout=5 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Any help on what may be the issue would be greatly appreciated!
The way you describe it, the 301 redirect is looping right back to the original URL which is odd. Start by looking at your .htaccess file. It lives on your server with all the other files that drive your website. Often times it's hidden and you have to take extra steps to find it. Your hosting provider should have instructions on this.
*Back up this file first* Make a copy and name it htaccess.bak or something like that. Small errors in this file can break your website so always make a backup before tinkering.
Once you have it open look for lines that say RedirectPermanent or Rewrite Rule with 301 in brackets nearby. If you find something that doesn't belong you can comment it out with # or delete it. Based on what you find, I recommend doing some research to see what others in similar situations have done.
If you do something that breaks your website, simply copy your .bak file and rename it .htaccess file and start over. Don't be afraid to explore and learn, but do understand you can drastically change how your website operates with just a small error. Backups are your friend!
Shoot me a message if you need more help.
Answered 8 years ago
Access 20,000+ Startup Experts, 650+ masterclass videos, 1,000+ in-depth guides, and all the software tools you need to launch and grow quickly.
Already a member? Sign in