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. Htaccess funny characters

    Htaccess funny characters

    Intermediate & Advanced SEO
    5 2 836
    • 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.
    • Flapjack
      Flapjack last edited by

      Hi

      Panda update,tickled, slapped and then punched us.

      I'm now weeding through crawl errors, one of them is

      http://www.flasharcadegamessite.com/26226-paper-airplane-flight.html">paper airplane flight

      I tried 301 this to it's proper page using

      Redirect 301 /26226-paper-airplane-flight.html">paper airplane flight http://www.flasharcadegamessite.com/26226-paper-airplane-flight.html

      but the server starts spitting out 500 errors.

      How does one add that rule into htaccess ?

      thanks

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

        You are probably experiencing this error because of the "> in the URL you are trying to redirect.

        Looks like the crawl has highlighted the as an error as it may have found a malformed link linking to the Paper Airplane Flight page. It looks as though you have a link that may look as follows ">paper airplane flight    Notice the extra "> after the link URL.

        You need to find the offending link on the site and fix it. That will solve the error.

        Flapjack 1 Reply Last reply Reply Quote 1
        • Flapjack
          Flapjack @Entrusteddev last edited by

          Hi

          The offending link is a french blogpost.

          I have a bout 2-300 various links like this where people posting on sites etc have entered incorrect urls.

          What I would like to know is how do I cater for ("/.>) characters in htaccess?

          thanks

          Entrusteddev Flapjack 2 Replies Last reply Reply Quote 0
          • Entrusteddev
            Entrusteddev @Flapjack last edited by

            You need to utilise some regex, though I'm unsure of the actual regex code to match ">

            In future offer a service to embed a link, then bloggers etc will always get the right url and also you can control anchor text.

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

              Hi

              I've already done away with our own embed linking facility and chosen addthis.

              I'll have to read up on regexes.

              thanks

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Htaccess maximum size?
                KevinBudzynski
                KevinBudzynski
                0
                2
                264

              • Redirect Issue in .htaccess
                ThompsonPaul
                ThompsonPaul
                0
                2
                368

              • Htaccess redirect veriables
                NoisyLittleMonkey
                NoisyLittleMonkey
                0
                3
                96

              • Best .htaccess guides in your bookmark?
                LynnPatchett
                LynnPatchett
                0
                4
                234

              • Quick htaccess question
                Modi
                Modi
                0
                3
                130

              • Help with htaccess
                Aleyda
                Aleyda
                0
                2
                85

              • Modify .htaccess
                Highland
                Highland
                0
                10
                466

              • I need help with htaccess redirect
                RyanKent
                RyanKent
                0
                4
                1.1k

              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