undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. Moz Tools
  3. Moz Pro
  4. My page has a 302 redirect and I don't know how to get rid of it!

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

My page has a 302 redirect and I don't know how to get rid of it!

Moz Pro
4
10
19.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • vanessacolina
    vanessacolina last edited by Jul 4, 2012, 5:33 PM

    I use Internet Officer tool to see the 302 redirect but I check the redirects in the CPanel and there are none. In the .htaccess there are none either. I don't know where else to look 😞

    The url is http://servicioshosting.com

    Can you guys help me? I can't set up a campaign because Google can't crawl the website. I can't setup the Facebook OpenGraph because of the redirect.

    error.jpg

    1 Reply Last reply Reply Quote 0
    • SanjidaKazi
      SanjidaKazi last edited by Jan 7, 2015, 12:59 PM Jan 7, 2015, 12:59 PM

      I had this problem exactly and it turns out it was an index file on the server for the old page.

      It was the only temporary redirect on the site so it was driving me mad and I wanted rid of it! FTP onto the server and check the folder for the old page which will likely contain an index file. the 302 was in there for us.

      This is an old question but posting this for people in future.

      1 Reply Last reply Reply Quote 1
      • topic:timeago_earlier,2 years
      • JaspalX
        JaspalX @JaspalX last edited by Jul 11, 2012, 5:34 AM Jul 11, 2012, 5:34 AM

        If you're sure that the files on mamp and what's on the server are the same, then perhaps your hosting company is doing something or there's something in the config of the web server.

        Sorry Vanessa, that's as much as I can help with - guess you need to find someone who knows whmcs 😞

        Good luck, would be good to know how it works out and what the solution is.

        1 Reply Last reply Reply Quote 0
        • vanessacolina
          vanessacolina @JaspalX last edited by Jul 10, 2012, 5:38 PM Jul 10, 2012, 5:38 PM

          It didn't work 😞
          Something strange: I have the site running locally in my computer with MAMP. When I check the HTTP response in my local website it doesn't have the redirect, it has an OK 200 code.

          Could this mean it's a server issue? And if so, where do I check?

          1 Reply Last reply Reply Quote 0
          • JaspalX
            JaspalX @JaspalX last edited by Jul 5, 2012, 3:43 PM Jul 5, 2012, 3:43 PM

            Sorry, on the edge of my knowledge, perhaps try removing those lines and seeing the effect? (I'd try removing them one at a time starting with the second one).

            1 Reply Last reply Reply Quote 0
            • vanessacolina
              vanessacolina @JaspalX last edited by Jul 5, 2012, 3:11 PM Jul 5, 2012, 3:11 PM

              Yes, I checked and whenever there is a cookie set the 302 redirect disappears. If I delete the cookies it comes back. The system I use for the website template is the WHMCS, there is a file for setting the cookie for affiliates links (aff.php), and at the end there is this:

              header("HTTP/1.1 301 Moved Permanently");

              header("Location: ".$CONFIG["Domain"]);

              1 Reply Last reply Reply Quote 0
              • JaspalX
                JaspalX @vanessacolina last edited by Jul 5, 2012, 2:59 PM Jul 5, 2012, 2:59 PM

                I don't think that's it - that's a 301 redirect and the issue you reported is a 302.

                If you see the same issue I do with cookies affecting the result, then I'd suggest that is a clue - as far as I know htaccess redirects don't make use of cookies.

                vanessacolina JaspalX 4 Replies Last reply Jul 11, 2012, 5:34 AM Reply Quote 0
                • vanessacolina
                  vanessacolina last edited by Jul 5, 2012, 2:37 PM Jul 5, 2012, 2:37 PM

                  Ok, I'm looking. I also check the .htaccess again. Could this be the redirect:

                  RewriteCond %{HTTP_HOST} ^servicioshosting.com$ [OR]

                  RewriteCond %{HTTP_HOST} ^www.servicioshosting.com$

                  RewriteRule ^whmcs/?$ "http://www.servicioshosting.com/clientarea.php" [R=301,L]

                  I keep erasing the first two lines and they keep coming back when I check back the .htaccess,

                  JaspalX 1 Reply Last reply Jul 5, 2012, 2:59 PM Reply Quote 0
                  • Saijo.George
                    Saijo.George last edited by Jul 4, 2012, 9:06 PM Jul 4, 2012, 9:06 PM

                    IT could be an on-page redirect . Open up your index file equivalent and look for something like

                    Header( "Location: http://servicioshosting.com/" );

                    1 Reply Last reply Reply Quote 0
                    • JaspalX
                      JaspalX last edited by Jul 4, 2012, 5:57 PM Jul 4, 2012, 5:57 PM

                      I get this using httpfox.

                      302 Redirect to: / http://servicioshosting.com/

                      I also see the redirect on https://www.servicioshosting.com/index.php when I first switched to English language from the home page. Then when reloading https://www.servicioshosting.com/index.php there was no 302.

                      I also noticed that when I deleted servicioshosting.com cookies and reloaded https://www.servicioshosting.com/index.php the 302 was back.

                      So I suspect it is something to do with the way the CMS is using cookies, since crawlers don't set cookies they get the 302.

                      I guess you'll need to dig into the CMS/talk to a developer. Good luck!

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 out of 10
                      • First post
                        1/10
                        Last post

                      Got a burning SEO question?

                      Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                      Start my free trial


                      Browse Questions

                      Explore more categories

                      • Moz Tools

                        Chat with the community about the Moz tools.

                      • SEO Tactics

                        Discuss the SEO process with fellow marketers

                      • Community

                        Discuss industry events, jobs, and news!

                      • Digital Marketing

                        Chat about tactics outside of SEO

                      • Research & Trends

                        Dive into research and trends in the search industry.

                      • Support

                        Connect on product support and feature requests.

                      • See all categories

                      Related Questions

                      • dodo123

                        Solved Would my site's DA be transferred if I redirect to another?

                        seo tactics

                        Re: How to create link from google redirect? I am thinking of changing my domain name from https://experts.ng to https://expertsclan.com and wondering if my DA could be transferred to the new site

                        Moz Pro | Oct 17, 2023, 6:03 AM | dodo123
                        4
                      • Rogerperk

                        Redirect Chain

                        I moved my site to https a few months back using cloudflare and all went well site is now running on https fine I have recently also signed up to MozPro and it says I have a redirect chain on http://rogerlapin.co.uk I am not sure where to start looking to fix this? Site is running on Wordpress Also not sure how big of an issue it is as site is working ok? Bit confused as i used this http://www.redirect-checker.org/index.php and it reports no issues?

                        Moz Pro | Jun 4, 2019, 1:41 AM | Rogerperk
                        0
                      • Coot

                        Source page showsI have 2 h1 tags on my page. I can only find one.

                        When I grade my page it says I have more than one h1 tag. I view the source page and it shows there are two h1 headings with the same wording. If I delete the one h1 heading I can find, the page source shows I have deleted both of them. I don't know how to get to the other heading to delete it. And I'm off page one of google! Can anybody help? Clay Stephens

                        Moz Pro | Dec 6, 2017, 3:00 PM | Coot
                        0
                      • NichGunn

                        Should I set blog category/tag pages as "noindex"? If so, how do I prevent "meta noindex" Moz crawl errors for those pages?

                        From what I can tell, SEO experts recommend setting blog category and tag pages (ie. "http://site.com/blog/tag/some-product") as "noindex, follow" in order to keep the page quality of indexable pages high. However, I just received a slew of critical crawl warnings from Moz for having these pages set to "noindex." Should the pages be indexed? If not, why am I receiving critical crawl warnings from Moz and how do I prevent this?

                        Moz Pro | Nov 22, 2017, 11:13 AM | NichGunn
                        0
                      • gfiedel

                        Warnings, Notices, and Errors- don't know how to correct these

                        I have been watching my Notices, Warnings and Errors increase since I added a blog to our WordPress site. Is this effecting our SEO? We now have the following: 2 4XX errors. 1 is for a page that we changed the title and nav for in mid March. And one for a page we removed. The nav on the site is working as far as I can see. This seems like a cache issue, but who knows? 20 warnings for “missing meta description tag”. These are all blog archive and author pages. Some have resulted from pagination and are “Part 2, Part 3, Part 4” etc. Others are the first page for authors. And there is one called “new page” that I can’t locate in our Pages admin and have no idea what it is. 5 warnings for “title element too long”. These are also archive pages that have the blog name and so are pages I can’t access through the admin to control page title plus “part 2’s and so on. 71 Notices for “Rel Cononical”. The rel cononicals are all being generated automatically and are for pages of all sorts.  Some are for a content pages within the site, a bunch are blog posts, and archive pages for date, blog category and pagination archive pages 6 are 301’s. These are split between blog pagination, author and a couple of site content pages- contact and portfolio. Can’t imagine why these are here. 8 meta-robot nofollow. These are blog articles but only some of the posts. Don’t know why we are generating this for some and not all. And half of them are for the exact same page so there are really only 4 originals on this list. The others are dupes. 8 Blocked my meta-robots. And are also for the same 4 blog posts but duplicated twice each. We use All in One SEO. There is an option to use noindex for archives, categories that I do not have enabled.  And also to autogenerate descriptions which I do not have enabled. I wasn’t concerned about these at first, but I read these  (below) questions yesterday, and think I'd better do something as these are mounting up. I’m wondering if I should be asking our team for some code changes but not sure what exactly would be best. http://www.seomoz.org/q/pages-i-dont-want-customers-to-see http://www.robotstxt.org/meta.html Our site is http://www.fateyes.com Thanks so much for any assistance on this!

                        Moz Pro | Apr 18, 2013, 6:00 PM | gfiedel
                        0
                      • azjayhawk

                        Page Authority is the same on every page of my site

                        I'm analyzing a site and the page authority is the exact same for every page in the site. How can this be since the page authority is supposed to be unique to each page?

                        Moz Pro | Oct 18, 2012, 6:09 PM | azjayhawk
                        0
                      • ssimburg

                        How do you guys/gals define a 'row?'

                        I have a question about calls to the API and how these are measured. I noticed that the URL Metrics calls allow a batch of multiple URLs. We're in a position where we need link data for multiple websites; can we request a single row of data with link information for multiple URLs, or do we need to request a unique row for each URL?

                        Moz Pro | Jun 13, 2012, 6:06 PM | ssimburg
                        0
                      • YGF

                        How do I get a MozRank?

                        Hi all, Hoping that one of you Guru's might be able to shed a little light for me please. we launched the online arm of our gold bullion business on the 21st of February and I signed up for an account here on the 23rd of Feb. I don't have a MozRank for my site yet and I'd love to get one. The mozbar that I installed shows o linkes from 0 root domains etc. but google webmaster can see links that are inbound to my site. My questions are: Do I have to wait the 45-60 days that I believe it might take SEOmoz to give me a rank- or is there a process that I manually kick off? Is there anything other than google webmaster that I should be looking at to try and make sure that I am on the right track; I'd hate to go 45-60 days in the wrong direction before realising there is an issue. thanks in advance, YGF

                        Moz Pro | Mar 27, 2012, 10:06 PM | YGF
                        0

                      Get started with Moz Pro!

                      Unlock the power of advanced SEO tools and data-driven insights.

                      Start my free trial
                      Products
                      • Moz Pro
                      • Moz Local
                      • Moz API
                      • Moz Data
                      • STAT
                      • Product Updates
                      Moz Solutions
                      • SMB Solutions
                      • Agency Solutions
                      • Enterprise Solutions
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority Checker
                      • Local Citation Checker
                      • MozBar Extension
                      • MozCast
                      Resources
                      • Blog
                      • SEO Learning Center
                      • Help Hub
                      • Beginner's Guide to SEO
                      • How-to Guides
                      • Moz Academy
                      • API Docs
                      About Moz
                      • About
                      • Team
                      • Careers
                      • Contact
                      Why Moz
                      • Case Studies
                      • Testimonials
                      Get Involved
                      • Become an Affiliate
                      • MozCon
                      • Webinars
                      • Practical Marketer Series
                      • MozPod
                      Connect with us

                      Contact the Help team

                      Join our newsletter
                      Moz logo
                      © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy

                      Looks like your connection to Moz was lost, please wait while we try to reconnect.