Posts

Showing posts from February, 2022

How can I redirect everything but the index as 410?

How can I redirect everything but the index as 410? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the How can I redirect everything but the index as 410? error on your web browser.  Problem : Our site shut down and we need to give a 410 redirect to the users. We have a small one-page replacement site set up in the same domain and a custom 410 error page. We'd like to have it so that all page views are responded with 410 and redirected to the error page, except for the

Internet Explorer blocking

Internet Explorer blocking - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Internet Explorer blocking error on your web browser.  Problem : How do I add a custom page that is displayed only to Internet Explorer users so that they are not able to access my blog. I'm using Wordpress 3.3 and thought there would be a plugin for that or something but no luck (there's a plugin that only adds a pop up window). Is that achieved by using some kind of redirect or what?

Google isn't indexing URLs after a redirect that differs only in percent-encoding/decoding?

Google isn't indexing URLs after a redirect that differs only in percent-encoding/decoding? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Google isn't indexing URLs after a redirect that differs only in percent-encoding/decoding? error on your web browser.  Problem : Will Google's crawler refuse to follow redirects when the difference between the redirected-from and redirected-to URLs is solely whether specific characters are percent-encoded or not? For exa

Azure CDN from Verizon Premium HTTP to HTTPS redirect

Azure CDN from Verizon Premium HTTP to HTTPS redirect - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Azure CDN from Verizon Premium HTTP to HTTPS redirect error on your web browser.  Problem : I have created an Azure CDN endpoint (like example.azureedge.net ) using Verizon Premium Pricing Tier. I want to create a rule to redirect to the HTTPS protocol (like https://example.azureedge.net ) whenever a user uses the HTTP protocol (like http://example.azureedge.net ). How c

Making WWW. work for subdomain with no hosting?

Making WWW. work for subdomain with no hosting? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Making WWW. work for subdomain with no hosting? error on your web browser.  Problem : We have a domain, example.com for instance. In our DNS settings for this domain, we've created a forward for give.example.com subdomain to redirect to another website which works great. (It's basically just an A record with give as the host and the IP of the site we're redirect

How to form redirect or rewrite where query string contains portion I want to extract to new query string

How to form redirect or rewrite where query string contains portion I want to extract to new query string - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the How to form redirect or rewrite where query string contains portion I want to extract to new query string error on your web browser.  Problem : I've transferred an old custom-made site to Mediawiki and I have many internal and external links to my old pages that I want to redirect to the appropriate wiki page. Ther

301 redirect not seen by googlebot

301 redirect not seen by googlebot - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the 301 redirect not seen by googlebot error on your web browser.  Problem : I have made a function on a wordpress site. The functions purpose is the following. 1) if the post is not found, redirect to the archive of the post. Should be fairly easy right? Well - according to all sorts of tools, it isn't. I start by creating this function: function check_database_for_existance ( ) if

Redirect subdomain to www

Redirect subdomain to www - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Redirect subdomain to www error on your web browser.  Problem : I created a subdomain in cPanel and set it to redirect to the www version of my site. The redirecting works insofar as redirecting subdomain.example.com to www.example.com . But when a visitor tries to go to subdomain.example.com/file1 , he is taken to a 404 page instead of www.example.com/file1 . How do I fix this? Edit : This is t

How to handle 404 errors that look like SQL errors or hacking attempts?

How to handle 404 errors that look like SQL errors or hacking attempts? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the How to handle 404 errors that look like SQL errors or hacking attempts? error on your web browser.  Problem : I have an E-commerce site (built on OpenCart 2.0.3.1). I'm using an SEO pack plugin that keeps a list of 404 errors, so we can make redirects. As of a couple of weeks ago, I keep seeing a LOT of 404s that don't even look like links: 9999

How to remove Plesk websites temporary urls from Google index?

How to remove Plesk websites temporary urls from Google index? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the How to remove Plesk websites temporary urls from Google index? error on your web browser.  Problem : Google is indexing Plesk temporary URLs, I've tried the following tip but it does not block those URLs. Why Google indexed the preview URL of domain? I added this to .htacess with no success: RewriteEngine On RewriteCond %HTTP_HOST !^(www.)?example.com$ Rewri

Redirect for special characters

Redirect for special characters - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Redirect for special characters error on your web browser.  Problem : I want to set a redirect as below. http://www.domain.com/course/view.php?id=2 TO http://www.domain.com/course/view.php?id=2&section=1 Can you please let me know how can this be set ? Solution : You could do it in the PHP itself <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: htt

Do I need to redirect my CDN subdomain www version to the non-www

Do I need to redirect my CDN subdomain www version to the non-www - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Do I need to redirect my CDN subdomain www version to the non-www error on your web browser.  Problem : I just uploaded some images to a CDN that is available under: http://subdomain.example.com/image/filename.jpg So I need to make any redirect as I do for the main domain? In that case I redirect the non-www version to the www version and it's the preferr

Redirecting all child pages from subdomain

Redirecting all child pages from subdomain - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Redirecting all child pages from subdomain error on your web browser.  Problem : I can't get this redirect working... Can someone point me in the right direction please? On a WordPress site I want to prevent access to all pages that sit beneath a given parent page. All I want people to see is that parent page. So if example.com/subdomain/parent-page is made up of: parent-page

Create htaccess infinite redirection to random URLs to prevent Facebook crawling

Create htaccess infinite redirection to random URLs to prevent Facebook crawling - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Create htaccess infinite redirection to random URLs to prevent Facebook crawling error on your web browser.  Problem : I want make an infinite series of 302 redirects. For example: Visitor accesses example.com Which 302 redirects to example.com/abc Which 302 redirects to example.com/xzy Which 302 redirects to example.com/ghi ... etc in an infi

Redirect a single URL to the same URL on another domain

Redirect a single URL to the same URL on another domain - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Redirect a single URL to the same URL on another domain error on your web browser.  Problem : I'm trying to set up my .htaccess file to take the displayed link and route it to the destination link as below Displayed Link http://www.my-website.com/click-4559226-10388358?url=https%3A%2F%2Fdestination-website2.com%2FItem.php%3Fid%3D44350396%26sld%3DA6D7A632-821E-4b78-

Changing domain name - what are the practical steps involved [duplicate]

Changing domain name - what are the practical steps involved [duplicate] - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Changing domain name - what are the practical steps involved [duplicate] error on your web browser.  Problem : This question already has answers here : Closed 9 years ago

How to make a website fit in mobile browsers

How to make a website fit in mobile browsers - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the How to make a website fit in mobile browsers error on your web browser.  Problem : How should a good website work in a mobile browser? Should it adapt to fit the browser window size, or should it redirect to a page that is made to fit in mobile browsers? Solution : Until recently it was becoming increasingly common to see mobile versions of websites, where the URL is entirely

.htaccess rewrite www to non-www and remove .html

.htaccess rewrite www to non-www and remove .html - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the .htaccess rewrite www to non-www and remove .html error on your web browser.  Problem : I need rewrite rules to redirect the following: http://www. to http:// /file.html to /file I've tried using a combination of these but each time it results in a redirect loop on one of the situations RewriteBase / RewriteRule ^(.*).html$ $1 [NC] RewriteCond %HTTP_HOST ^www.domain.co

SEO penalty for "duplicate" content when a site's also accessible via another domain name? [duplicate]

SEO penalty for "duplicate" content when a site's also accessible via another domain name? [duplicate] - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the SEO penalty for "duplicate" content when a site's also accessible via another domain name? [duplicate] error on your web browser.  Problem : This question already has answers here :

Apache - How to NOT log 301 redirects

Apache - How to NOT log 301 redirects - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Apache - How to NOT log 301 redirects error on your web browser.  Problem : I recently re-designed my site and a lot of the URLs changed. I have already setup rewrite rules in Apache to redirect old URLs to the new URLs. That's all working. My question is, how can I get Apache to NOT log the 301 redirects? I only log the NEW url after the redirect is done. Solution : You could

.htaccess directives fail to redirect www to non-www URLs

.htaccess directives fail to redirect www to non-www URLs - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the .htaccess directives fail to redirect www to non-www URLs error on your web browser.  Problem : I'm trying to redirect https://www.example.com to https://example.com . I'm running Ubuntu server 2020 lts with Apache 2, PHP 7 and Let's Encrypt SSL. My file structure: logs/ private/ public/ └ index.php .htaccess index.php My Apache2 config file ( /etc/ap

Will a .com SSL certificate cover a redirecting .com.ar domain?

Will a .com SSL certificate cover a redirecting .com.ar domain? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Will a .com SSL certificate cover a redirecting .com.ar domain? error on your web browser.  Problem : we have a website with 2 different domains: www.example.com or example.com and www.example.com.ar or example.com.ar I want all requests redirected to www.example.com . I know I have to create two virtual hosts in Apache and in the .htaccess file for .com.ar

The URLs mentioned in Google Search Console redirects to another website

The URLs mentioned in Google Search Console redirects to another website - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the The URLs mentioned in Google Search Console redirects to another website error on your web browser.  Problem : Google Search Console reported structured data issues on my WordPress blog. When I clicked on those URLs then I am redirected to a Canadian Pharmacy Website (this is a spam site) However, if I copy paste that URL in browser then I can open tha

HTTPS and HTTP URLs point to different places?

HTTPS and HTTP URLs point to different places? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the HTTPS and HTTP URLs point to different places? error on your web browser.  Problem : I own and use a domain for a project. When I type in my domain preceeded by HTTPS instead of HTTP, I am re-directed to a compromising website. How is this possible? Did somebody buy the HTTPS version of my website? Do I need to own both the HTTPS and HTTP domains to prevent this from happening?

Where to place 301 redirects in the .htaccess file on a WordPress site

Where to place 301 redirects in the .htaccess file on a WordPress site - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Where to place 301 redirects in the .htaccess file on a WordPress site error on your web browser.  Problem : I edited my .htaccess file earlier to redirect from www version to non-www, and it is working correctly. However, now I have some page redirects I need to do. I am looking at the .htaccess file, and I am not sure where to place the actual redire

Which redirect code to use for resolve resource?

Which redirect code to use for resolve resource? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Which redirect code to use for resolve resource? error on your web browser.  Problem : On my website i have a list of items, each item has a link, the link has one parameter named "ID": <a href="go?id=2">item</a> When i generate the list i don't know the exact url to the item, for example it could be too expensive (lots of queries to all ki