The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Google Not Seeing My 301's

    Google Not Seeing My 301's

    Intermediate & Advanced SEO
    9 2 159
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • HashtagHustler
      HashtagHustler last edited by

      Good Morning!

      So I have recently been putting in a LOT of 301's into the .htaccess, no 301 plugins here, and GWMT is still seeing a lot of the  pages as soft 404's. I mark them as fixed, but they come back.

      I will also note, the previous webmaster has ample code in our htaccess which is rewriting our URL structure. I don't know if that is actually having any effect on the issue but I thought I would add that. All fo the 301's are working, Google isn't seeing them.

      Thanks Guys!

      1 Reply Last reply Reply Quote 0
      • responsivelabs
        responsivelabs last edited by

        For the redirected URLs that GWMT is throwing a 404 error for, can you access them directly in your browser? I'd double check a few random links that Google is saying doesnt exist, and then from there I'd look into the .htaccess. It would be helpful if you could provide us with the .htaccess file here.

        1 Reply Last reply Reply Quote 0
        • HashtagHustler
          HashtagHustler last edited by

          Yep they are working... I cant upload the file on here, just pictures of the file, and I don't want to copy and paste everything.

          I will paste in the rewrite script which I have a feeling is redundant. It was put in by the previous webmaster.

          BEGIN WPSuperCache

          <ifmodule mod_rewrite.c="">RewriteEngine On
          RewriteBase /
          #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
          AddDefaultCharset UTF-8
          RewriteCond %{REQUEST_URI} !^.[^/]$
          RewriteCond %{REQUEST_URI} !^.
          //.$
          RewriteCond %{REQUEST_METHOD} !POST
          RewriteCond %{QUERY_STRING} !.
          =.*
          RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$
          RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP_USER_AGENT} !^.(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800). [NC]
          RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
          RewriteCond %{HTTP:Accept-Encoding} gzip
          RewriteCond %{HTTPS} on
          RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
          RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]

          RewriteCond %{REQUEST_URI} !^.[^/]$
          RewriteCond %{REQUEST_URI} !^.
          //.$
          RewriteCond %{REQUEST_METHOD} !POST
          RewriteCond %{QUERY_STRING} !.
          =.*
          RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$
          RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP_USER_AGENT} !^.(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800). [NC]
          RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
          RewriteCond %{HTTP:Accept-Encoding} gzip
          RewriteCond %{HTTPS} !on
          RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
          RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L]

          RewriteCond %{REQUEST_URI} !^.[^/]$
          RewriteCond %{REQUEST_URI} !^.
          //.$
          RewriteCond %{REQUEST_METHOD} !POST
          RewriteCond %{QUERY_STRING} !.
          =.*
          RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$
          RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP_USER_AGENT} !^.(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800). [NC]
          RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
          RewriteCond %{HTTPS} on
          RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
          RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L]

          RewriteCond %{REQUEST_URI} !^.[^/]$
          RewriteCond %{REQUEST_URI} !^.
          //.$
          RewriteCond %{REQUEST_METHOD} !POST
          RewriteCond %{QUERY_STRING} !.
          =.*
          RewriteCond %{HTTP:Cookie} !^.(comment_author_|wordpress_logged_in|wp-postpass_).$
          RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
          RewriteCond %{HTTP_USER_AGENT} !^.(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800). [NC]
          RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
          RewriteCond %{HTTPS} !on
          RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
          RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]</ifmodule>

          END WPSuperCache

          BEGIN WordPress

          <ifmodule mod_rewrite.c="">RewriteRule ^index.php$ - [L]
          RewriteCond %{REQUEST_FILENAME} !-f
          RewriteCond %{REQUEST_FILENAME} !-d
          RewriteRule . /index.php [L]</ifmodule>

          END WordPress

          responsivelabs 1 Reply Last reply Reply Quote 0
          • responsivelabs
            responsivelabs @HashtagHustler last edited by

            Hmm, there's definitely way too much duplication going on in your .htaccess file. What exactly are the following pages used for?

            • index-https.html
            • index-https.html.gz
            • index.html.gz

            Each rewrite section seems to be set up for the pages above, including the last one for index.html. I presume it has something to do with supercache? I'd try consolidating the .htaccess file, as there are a lot of duplicate rules that can be combined. For example, the URIs, request method, etc are all the same in each section. However, in order to figure out what to consolidate and remove, we need to figure out what each of the rewrite pages are doing for your site.

            You could always try commenting out each rewrite block at a time to see if its needed or not. I'm guessing your .htaccess has something to do with why Google cant access your site properly.

            1 Reply Last reply Reply Quote 1
            • HashtagHustler
              HashtagHustler last edited by

              Thank you! Sorry It took so long to get back to this!

              I KNEW IT! I didn't put any of that in there, it was our previous webmaster that I replaced. There are so many things that keep stacking up...

              He has 45 images in our homepage slider and wonders why our website loaded slowly.... and the slider was on every single page...

              Anyway, I will try commenting things out until I can figure out exactly what's going on!

              Thank you

              1 Reply Last reply Reply Quote 0
              • responsivelabs
                responsivelabs last edited by

                I think thats a good idea to try and comment them out to see if it makes a difference.

                Oh wow, 45 slider images?? That's def got to be hurting your search rankings! Hopefully you've found some one better to manage your site. Let me know if you need any help, I've worked in the industry for quite some time now.

                Good luck, and let us know if it still doesn't work after commenting.

                HashtagHustler 1 Reply Last reply Reply Quote 0
                • responsivelabs
                  responsivelabs last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • HashtagHustler
                    HashtagHustler @responsivelabs last edited by

                    Yea, I cleaned all that stuff up! This website was a mess.

                    Anyway, back to the .htaccess, I have no idea what they are being used for.... but we are actually in luck!

                    I was doing a little research and I came across something interesting.... Not only is that the original file that our old webmaster pulled from, but that's the updated version with 2 sets of entries commented out. Seems like a good place to start?

                    Thanks!

                    Here is the link, because it seems to not want to display properly.

                    http://wordpress.org/support/topic/wp-super-cache-force-to-https

                    1 Reply Last reply Reply Quote 0
                    • HashtagHustler
                      HashtagHustler last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • After hack and remediation, thousands of URL's still appearing as 'Valid' in google search console. How to remedy?
                        effectdigital
                        effectdigital
                        0
                        2
                        155

                      • How long will old pages stay in Google's cache index. We have a new site that is two months old but we are seeing old pages even though we used 301 redirects.
                        DonnaDuncan
                        DonnaDuncan
                        0
                        3
                        81

                      • How necessary is it to disavow links in 2017? Doesn't Google's algorithm take care of determining what it will count or not?
                        GastonRiera
                        GastonRiera
                        0
                        4
                        1.5k

                      • Will disallowing URL's in the robots.txt file stop those URL's being indexed by Google
                        Martijn_Scheijbeler
                        Martijn_Scheijbeler
                        0
                        11
                        1.6k

                      • Can a move to a new domain (with 301's) shake off a google algorithm penalty
                        Direct_Ram
                        Direct_Ram
                        0
                        5
                        477

                      • Google's 'related:' operator
                        EpicWebStudios
                        EpicWebStudios
                        0
                        5
                        209

                      • Some site's links look different on google search. For example Games.com › Flash games › Decoration games How can we do our url's like this?
                        davebuts
                        davebuts
                        0
                        4
                        268

                      • Remove URLs that 301 Redirect from Google's Index
                        CommT
                        CommT
                        0
                        3
                        8.9k

                      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
                      • Digital Marketers
                      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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy