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. How do I 301 url's with numbers in them?

    How do I 301 url's with numbers in them?

    Technical SEO Issues
    7 3 719
    • 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.
    • BradBorst
      BradBorst last edited by

      I have a number of 404 error pages showing in webmaster tools and some of the url's have numbers, % symbols, and some are pdf's.  My usual 301 redirect in my htaccess file does NOT redirect these pages where the url's have special characters.  What am I doing wrong?

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

        Can you post examples of the url, and what you have in your htaccess? This would make it much easier to diagnose.

        BradBorst 1 Reply Last reply Reply Quote 1
        • RyanPurkey
          RyanPurkey last edited by

          Here's a solution that might work in your case, but like Steven said, hard to tell without an example: http://www.webmasterworld.com/apache/3957440.htm

          1 Reply Last reply Reply Quote 1
          • BradBorst
            BradBorst @sferrino last edited by

            Sure Steven, here are some examples:

            http://www.rmtracking.com/blog/fleet-management-and-tracking-80%93-the-easy-way/

            http://www.rmtracking.com/blog/?p=23&akst_action=share-this

            I have tried using both types of redirects below:

            RedirectMatch permanent ^/directory/gps-global-positioning-system-other-gps.html$ http://www.rmtracking.com/compareproducts.php

            Redirect 301 /blog/fleet-management-and-tracking-80%93-the-easy-way/ http://www.rmtracking.com/blog/2011/05/28/safety-at-sea-with-gps/

            sferrino 1 Reply Last reply Reply Quote 0
            • sferrino
              sferrino @BradBorst last edited by

              Ok the first one, or both, you can easily get away with doing:

              RedirectMatch /blogs/fleet-management-and-tracking(.*)the-easy-way/ http://www.newplace.com/here-it-is/

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

                Brad did this answer your question?

                Did it help?

                BradBorst 1 Reply Last reply Reply Quote 0
                • BradBorst
                  BradBorst @sferrino last edited by

                  I tried what you suggested but it didn't work. I still have a few more things to try when I get back from vacation. Thanks for checking back with me.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Clean URL vs. Parameter URL and Using Canonical URL...That's a Mouthfull!
                    Roman-Delcarmen
                    Roman-Delcarmen
                    0
                    4
                    170

                  • If I'm using a compressed sitemap (sitemap.xml.gz) that's the URL that gets submitted to webmaster tools, correct?
                    ThompsonPaul
                    ThompsonPaul
                    0
                    6
                    1.8k

                  • Parked former company's url on top of my existing url and that URL is showing in SERPs for my top keywords
                    Joelabarre
                    Joelabarre
                    0
                    7
                    120

                  • Why can't I redirect 302 errors to 301's?
                    Chris.Menke
                    Chris.Menke
                    0
                    3
                    80

                  • We have designed a new site and are in dilemna whether or not to change the site's URL structure or maybe few odd looking urls. How exactly do we go about the URL thing in toto? thanks in advance, any suggestion(s) would be dearly welcome
                    ShaunPhilips
                    ShaunPhilips
                    1
                    7
                    109

                  • I'm redesigning a website which will have a new URL format. What's the best way to redirect all the old URLs to the new ones? Is there an automated, fast way to do this?
                    GregFindley.co.uk
                    GregFindley.co.uk
                    0
                    2
                    303

                  • SEOMoz is indicating I have 40 pages with duplicate content, yet it doesn't list the URL's of the pages???
                    RobertFisher
                    RobertFisher
                    0
                    2
                    391

                  • Switching ecommerce CMS's - Best Way to write URL 301's and sub pages?
                    tylerfraser
                    tylerfraser
                    0
                    7
                    1.2k

                  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