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. On-Page / Site Optimization
    4. Rename index.php or keyword in URL?

    Rename index.php or keyword in URL?

    On-Page / Site Optimization
    12 2 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.
    • svdg
      svdg last edited by

      It is important for me to get good search results for keyword + city name

      For instance: tulips amsterdam

      What would be better: renaming index.php or adding the cityname to the URL?

      www.example.com/amsterdam/tulips

      OR

      www.example.com/pages/tulips-amsterdam

      1 Reply Last reply Reply Quote 0
      • joseph.chambers
        joseph.chambers last edited by

        Will you have more information about /amsterdam/ ? since we going with flowers in amsterdam then I would imagine a page about the different flowers in amsterdam.

        So if you have more information of offer in amsterdam then I would say: /amsterdam/tulips

        1 Reply Last reply Reply Quote 2
        • svdg
          svdg last edited by

          No, /amsterdam/ contains no page.

          The CMS needs a 'container', like 'pages'

          So it would be: www.example.com/pages/tulips-amsterdam

          To get rid of that 'pages' I thought it might be an idea to rename 'pages' to 'amsterdam'. The result is that every URL contains the keyword 'amsterdam'. But I wonder what will be better:

          www.example.com/amsterdam/tulips

          OR

          www.example.com/pages/tulips-amsterdam

          www.example.com/tulips-amsterdam

          In the last option the 'pages' container name has stripped with htaccess

          joseph.chambers 1 Reply Last reply Reply Quote 0
          • joseph.chambers
            joseph.chambers @svdg last edited by

            Then I would go with: www.example.com/tulips-amsterdam because there is no reason to have a / vs - www.example.com/tulips-amsterdam does fine. 🙂

            1 Reply Last reply Reply Quote 2
            • svdg
              svdg last edited by

              OK thanks. One final question:

              I saw a site (good scoring on that keyword) where they did this: The home button was not pointing to / but to /tulips-amsterdam.

              The only thing I can imagine is that there are two exactly the same pages: index, where you will land at www.example.com and a copy of index, renamed to tulips-amsterdam. It seems to work very good. But wil there be a risk to get penalized for duplicate content?

              joseph.chambers 1 Reply Last reply Reply Quote 0
              • joseph.chambers
                joseph.chambers @svdg last edited by

                Sure it says the same thing but if you look at it and you feel the message your delivering is better then you should be able to rank higher.

                Think of it like this: /car/make/year/part/ How many people have that  url structure.. a lot. Just because you have the same url structure does not mean it's duplicate.

                svdg joseph.chambers 6 Replies Last reply Reply Quote 2
                • svdg
                  svdg @joseph.chambers last edited by

                  No, that's not what I mean. I am concerned that it will be seen as duplicate within my site, not compared to another site.

                  • the home page (index)

                  • copy of homepage, but renamed to /tulips-amsterdam

                  In all the 'home' buttons of the site you point back to www.example.com/tulips-amsterdam instead of pointing to / or www.example.com. Will that be seen as duplicate within the site and would it be harmfull?

                  1 Reply Last reply Reply Quote 1
                  • joseph.chambers
                    joseph.chambers @joseph.chambers last edited by

                    I just think your over complicating it.

                    1 Reply Last reply Reply Quote 2
                    • svdg
                      svdg @joseph.chambers last edited by

                      I just sent a PM

                      1 Reply Last reply Reply Quote 1
                      • joseph.chambers
                        joseph.chambers @joseph.chambers last edited by

                        answered. I hope I was helpful.

                        1 Reply Last reply Reply Quote 2
                        • joseph.chambers
                          joseph.chambers @joseph.chambers last edited by

                          answered. I hope I was helpful.

                          1 Reply Last reply Reply Quote 3
                          • svdg
                            svdg @joseph.chambers last edited by

                            You sure did, thanks!

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            • URL Indexed But Not Submitted to Sitemap
                              effectdigital
                              effectdigital
                              0
                              2
                              77

                            • Should URL contain primary keyword or primary + extended keyword?
                              PenaltyHammer
                              PenaltyHammer
                              0
                              3
                              109

                            • No index, or no index no follow?
                              AuthorityLinkPartners
                              AuthorityLinkPartners
                              0
                              3
                              700

                            • URL Keyword Variations?
                              AarcMediaGroup
                              AarcMediaGroup
                              0
                              4
                              158

                            • Keyword in URL: Ranking Factor?
                              JABacchetta
                              JABacchetta
                              0
                              6
                              274

                            • Keyword in URL?
                              Johnnyh
                              Johnnyh
                              0
                              6
                              311

                            • 301 redirect and then keywords in URL
                              BobGW
                              BobGW
                              0
                              14
                              2.5k

                            • Keywords in URLs - what is considered keyword stuffing?
                              KeriMorgret
                              KeriMorgret
                              0
                              6
                              4.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