Posts

Showing posts with the label drupal

301 redirect behavior in a drupal system

301 redirect behavior in a drupal system - 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 behavior in a drupal system error on your web browser.  Problem : I am migrating an older site to a newer one which is using Drupal. As part of this I am trying to setup some 301 redirects to the new pages but I am getting some unexpected behavior. I added the following line to my .htaccess file: redirect 301 /redirect.html http: //www.example.com/newpage Unfortunat...

Too many redirects due to htaccess code

Too many redirects due to htaccess code - 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 Too many redirects due to htaccess code error on your web browser.  Problem : TL;DR: What does the following line of code do? Does it remove trailing slashes from a URL? RewriteRule ^(.*)/$ http: // %HTTP_HOST/$1 [R= 301 ,L] I inherited a Drupal site with little knowledge of how htaccess files work. We have a folder, let's call it "culture" in our document root. In t...

Can I POST to a new window that I want to open up?

Can I POST to a new window that I want to open up? - 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 Can I POST to a new window that I want to open up? error on your web browser.  Problem : Is this possible? A third party site is running my Drupal module An end user clicks on a link which will: Open up a new window www.mysite.com/redirect.php and POST certain data to this page www.mysite.com/redirect.php I've seen the user's browser being redirected, but am not cle...

30x Redirects and google page ranking

30x Redirects and google page ranking - 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 30x Redirects and google page ranking error on your web browser.  Problem : I'm building a Drupal site where much of the content is going to be in static on specific pages. In Drupal, each piece of content (whether you like it or not) gets created its own page (node). To ensure that users do not view these nodes, I'm thinking about setting up a 30x redirect or a flat out 30x not...