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. Canonical for non-exist URL ?

    Canonical for non-exist URL ?

    Technical SEO Issues
    2 2 738
    • 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.
    • SEMTurkey
      SEMTurkey last edited by

      Hi

      I have a website what has parameter URL. For example

      www.example.com/index.php?page_id=1&no=2

      I want that search engine see my page URL as;

      www.example.com/toys/cars

      But this URL is not exist in my website. And when i externally enter this page it goes to 404 page.

      If i add canonical url as www.example.com/toys/cars to the page www.example.com/index.php?page_id=1&no=2, what happened ? Is the url at the serp change as www.example.com/toys/cars ?

      1 Reply Last reply Reply Quote 0
      • Theo-NL
        Theo-NL last edited by

        It seems to me you're a bit confused between canonical URLs and URLs that have been rewritten. What a canonical URL does is telling the search engines what version of your URL is that canonical one, which can for example exclude some parameters. One the actual url www.example.org/special/?foo=bar&test=3 you can tell the search engines that www.example.org/special/ is your URL (and therefor the parameters foo and test will be ignored and won't create any duplicate content). But, these canonical URLs have to exist!

        To create new URLs, you should either look if the CMS (Content Management System) you're using has the option to switch on static URLs (sometimes called SEF URLs). If you're using a custom system, or your CMS doesn't support static URLs, you can search google for terms such as: mod_rewrite, static urls php, htaccess url rewrite.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Google tries to index non existing language URLs. Why?
          NickSamuel
          NickSamuel
          0
          2
          34

        • Canonical sitemap URL different to website URL architecture
          StephanSolomonidis
          StephanSolomonidis
          0
          3
          105

        • 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

        • Canonical URL
          bronxpad
          bronxpad
          0
          3
          263

        • Redirect non-www if using canonical url?
          RobertFisher
          RobertFisher
          0
          3
          515

        • Trailing Slashes In Url use Canonical Url or 301 Redirect?
          RyanKent
          RyanKent
          0
          7
          2.7k

        • Non existant URLs being generated in index
          WillBlackburn
          WillBlackburn
          0
          6
          544

        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