: Problems blocking URLs I took over as WM for our website a while ago. The old website was produced using html code, new 1 using proprietary software. I've tried blocking old URLs in Google
I took over as WM for our website a while ago. The old website was produced using html code, new 1 using proprietary software. I've tried blocking old URLs in Google (ending in .htm) but not completely successful. Instead it appears some of my current pages (ending .html) have been blocked from searching (403 codes)!
There are no robots. Also get messages: "no structured data ...", "duplicate title tags" (all old .htm pages).
When I do google search I get the usual result (index page then 6 sub pages) but 3 of the 6 are old website pages.
At a loss to what to do. As an amateur any advice appreciated.
More posts by @Jennifer507
1 Comments
Sorted by latest first Latest Oldest Best
What to try:
Set 301 redirects, basically 301 redirect will tell google that this page is moved permanently and redirect robots and visitors to your new page address.
If you have the same content on both the old and new pages, you can always go for rel="canonical" on your old pages pointing to your new pages, but I recommend 301 redirect.
Resubmit sitemap.xml file in Google Console (Webmaster Tools), and make a request for reindex of your site.
Error code 403
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 can take
You should add index.php file in every directory of your website if it's lacking, (It can also be empty). You should add a robots.txt file, you should disallow admin, login and search modules and other modules you want to hide from the search engine. 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.But not all of your files should have 755 permissions, if you need a list of files you need to change I can provide you one.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.