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. 301 and joomla

    301 and joomla

    Technical SEO Issues
    8 2 450
    • 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.
    • seoanalytics
      seoanalytics last edited by

      I was looking at the subpages of my website www.mywebsite.com/my-sub/page.html and i noticed that when I type mywebsite.com/my-sub/page.html  ( without the www.) in front it I get re-directed to the homepage.

      Is that a known issue of joomla and does it mean that google cache both version of my site causing site wide duplicate content ?

      Thank you,

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

        It doesn't sound like you will have duplicate content problems because the redirect appears to be happening.

        However, it would be best to 301 redirect to the www version of the sub page rather than always to your home page. This sounds like an issue with the .htaccess file and how it is written to redirect.

        Here's a pretty good guide for getting 301 redirects and .htaccess working correctly for Joomla!:

        http://www.hyde-design.co.uk/joomla-training/sef-joomla/urls-htaccess-redirects

        The main piece being that you will want to use something similar to the following in your .htaccess for Joomla!:

        Options +FollowSymLinks
        RewriteEngine On
        RewriteBase /
        RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.php\ HTTP/
        RewriteRule ^index.php$ http://www.example.com/ [R=301,L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . /index.php [L]
        RewriteCond %{http_host} ^example.com [NC]
        RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,NC]

        Your .htaccess appears to be doing the last two steps a little bit differently and this is sending those redirects to your home page instead of the www version of the sub page.

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

          Thanks George for your reply.

          If it is not causing a duplicate content issue couldn't it be causing a SEO issue where google sees

          www.mywebsite.com/my-sub/page.html  and mywebsite.com/my-sub/page.html as 2 different pages ?

          Thank you,

          GeorgeAndrews 1 Reply Last reply Reply Quote 0
          • GeorgeAndrews
            GeorgeAndrews @seoanalytics last edited by

            If the redirect is a 301, Google will only treat the second page as the actual page with the content. So no. If it isn't a 301, then you do have a potential issue. Does that answer your question?

            seoanalytics GeorgeAndrews 4 Replies Last reply Reply Quote 0
            • seoanalytics
              seoanalytics @GeorgeAndrews last edited by

              yes it does but what is the potential issue ?

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

                If it's not a 301 (or 302), it might be viewed as duplicate content if the first page is already indexed.

                1 Reply Last reply Reply Quote 0
                • seoanalytics
                  seoanalytics @GeorgeAndrews last edited by

                  Thank you but which page might be viewed as duplicate content , the homepage or the subpage ?

                  is there a way for me to know if it is viewed as duplicate content by google ?

                  One last thing :

                  I also noticed that on our website we have webpages like this one

                  http://www.mywebsite.com/new/index.php?option=com_content&view=article&id=46&Itemid=37

                  that are still accessible even though our real page is ranked in google is :

                  www.mywebsite.com/mywidget.html

                  Is that an issue ?

                  Thank you,

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

                    The sub page (both versions). This other version you've just linked is also an issue. There are a number of posts out there about optimizing Joomla! Try this recent one on the YOUmoz blog: http://www.seomoz.org/ugc/seo-your-joomla-website-in-11-super-easy-steps.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • 301 Redirects
                      industriestaedt
                      industriestaedt
                      0
                      2
                      36

                    • Trailing slash on the main website - do i need a 301 ? Is my 301 correct?
                      advertisingcloud
                      advertisingcloud
                      0
                      4
                      109

                    • To 301 or not to 301?
                      seorocket
                      seorocket
                      0
                      3
                      91

                    • 301 Redirect
                      KaneJamison
                      KaneJamison
                      0
                      8
                      408

                    • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
                      Chris-CA
                      Chris-CA
                      0
                      5
                      456

                    • 301 for old domain to new domain - Joomla plugin or cpanel?
                      blacey
                      blacey
                      0
                      5
                      1.9k

                    • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
                      Room214
                      Room214
                      0
                      7
                      1.1k

                    • Joomla 301 redirects
                      ClaireH-184886
                      ClaireH-184886
                      0
                      3
                      988

                    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