Mobile app version of vmapp.org
Login or Join
Nimeshi995

: Pages are returning a 403 response code and not getting indexed in Google I am working on a website but not all of its pages are getting indexed in Google. Everything seems fine to me from

@Nimeshi995

Posted in: #403Forbidden #GoogleIndex #Indexing #Seo

I am working on a website but not all of its pages are getting indexed in Google. Everything seems fine to me from the URL structure to the canonical tag. However, when I check the pages header response code they are returning a 403. Also some of pages are indexed with #!(www.example.com/site.html#!). What should I do to fix the problem?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi995

2 Comments

Sorted by latest first Latest Oldest Best

 

@Berumen354

And, inn addition to knif3r's answer,


Also some of pages are indexed with #!(www.example.com/site.html#!).
What should I do to fix the problem?


# is anchor.


so that means that if you want to go to specific post or part of the page, you just state after # where to go.

Here's a great example. You can play with anchors here and notice how the link in your bar changes depending on what you've clicked.

10% popularity Vote Up Vote Down


 

@Samaraweera270

In theory:
A web server may return a 403 Forbidden HTTP status code in response to a request from a client for a web page or resource to indicate that the server can be reached and understood the request, but refuses to take any further action. Status code 403 responses are the result of the web server being configured to deny access, for some reason, to the requested resource by the client.

Actions:
You should add index.php file in every directory of your website if it's lacking, (It can also be empty).
You should check the robots.txt file I think for wordpress by default it's Disallow / which means disallow all you should disallow wp-admin wp-login search and other modules you want to hide from the search engine but you shouldn't disallow all of them like it is by default.
It could be a server side problem or file permission problem it would be usefull if you can send a list of the file permissions on your site in a perfect universe your content that should be displayed to both users and google should have a 755 code which means you can read-write-execute , while group and world can read and execute your files.
More about file permissions: codex.wordpress.org/Changing_File_Permissions

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme