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. Technical SEO Issues
    4. Duplicate Page Title

    Duplicate Page Title

    Technical SEO Issues
    15 6 1.6k
    • 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.
    • severity
      severity @saibose last edited by

      sorry for my ignorance, but can you explain how to set up a 301 redirect?

      1 Reply Last reply Reply Quote 0
      • severity
        severity @StalkerB last edited by

        is .htaccess something my hosting company provides in the control panel? Or can I create a php file with the following code:

        Header( "HTTP/1.1 301 Moved Permanently" );
        Header( "Location: http://www.new-url.com" );
        ?>

        and where do I place this file?

        saibose severity StalkerB 6 Replies Last reply Reply Quote 0
        • saibose
          saibose @severity last edited by

          Its already there on any linux server. You just need to download that flie and open it on notepad and upload it back to the server with the updated code as Barry pointed.

          1 Reply Last reply Reply Quote 0
          • severity
            severity @severity last edited by

            This is what I have in the .htaccess file. Do I need to take the "addhandler" code out?

            RewriteEngine On
            Options +FollowSymLinks

            RewriteCond %{HTTP_HOST} ^aboutaburningfire.com
            RewriteRule (.*) http://www.aboutaburningfire.com/$1 [R=301,L]

            RewriteCond %{THE_REQUEST} ^./index.html
            RewriteRule ^(.
            )index.html$ http://www.aboutaburningfire.com/$1 [R=301,L]

            addhandler x-httpd-php-cgi .php4
            addhandler x-httpd-php5-cgi .php5
            addhandler x-httpd-php5-cgi .php

            1 Reply Last reply Reply Quote 0
            • StalkerB
              StalkerB @severity last edited by

              The php header redirect above would have worked, but much better sorting it in .htaccess as you're doing 🙂

              Leave the addhandlers in, even if your site isn't using them it may be there for a reason.

              The layout you have above should be fine, but test the site as soon as you make the changes to see if anything has broken! 🙂

              1 Reply Last reply Reply Quote 0
              • severity
                severity @severity last edited by

                thanks guys. I think this answered my question. Is this something I should do on all my websites?

                1 Reply Last reply Reply Quote 0
                • StalkerB
                  StalkerB @severity last edited by

                  Yes, definitely.

                  Otherwise you could have a duplicate content problem on all your sites and really it keeps things a lot neater.

                  Don't forget to change the URL in the .htaccess file though to the site it's going on, lol.

                  If we helped marking a post as answering your question or a thumbs up is always appreciated 😄

                  1 Reply Last reply Reply Quote 0
                  • severity
                    severity @severity last edited by

                    does this apply to blogsites as well?

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

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • KeriMorgret
                        KeriMorgret last edited by

                        Russell, you'll want to take a second look at the .htaccess file. http://www.aboutaburningfire.com/index.html gives me a 404 error instead of going to the home page.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • How do I prevent duplicate page title errors from being generated by my multiple shop pages?
                          effectdigital
                          effectdigital
                          0
                          2
                          103

                        • Duplicate page titles for blog snippets pages
                          evolvingSEO
                          evolvingSEO
                          0
                          2
                          51

                        • Duplicate page titles
                          Everett
                          Everett
                          0
                          4
                          481

                        • Issue Duplicate Page Title
                          edwardrj
                          edwardrj
                          0
                          2
                          252

                        • Home Page .index.htm and .com Duplicate Page Content/Title
                          TOMMarketingLtd.
                          TOMMarketingLtd.
                          0
                          6
                          1.6k

                        • Duplicate Page Title for Wordpress
                          blacey
                          blacey
                          1
                          4
                          1.3k

                        • Duplicate Page Titles
                          Cyrus-Shepard
                          Cyrus-Shepard
                          0
                          6
                          465

                        • Duplicate Page Content and Title for product pages. Is there a way to fix it?
                          RyanKent
                          RyanKent
                          0
                          6
                          935

                        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