301 and joomla
-
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,
-
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.
-
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,
-
If it's not a 301 (or 302), it might be viewed as duplicate content if the first page is already indexed.
-
yes it does but what is the potential issue ?
-
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?
-
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,
-
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.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Unsolved Temporary redirect from 302 to 301 for PNG File?
#302HTTP #temporaryredirect
Technical SEO | | Damian_Ed 0
Hi everyone, Recently I have faced a crawl issue with my media images on website. For example this page url https://intreface.com/wp-content/uploads/2022/12/Horion-screen-side-2.png has 302 HTTP Status and the recommendation is to change it 301. I have read the article on temporary redirections here:
https://mza.bundledseo.com/learn/seo/redirection?_ga=2.45324708.1293586627.1702571936-916254120.1702571936
but its not written here how to redirect in my HTML 1 image url not the landing page.
Screenshot 2023-12-15 at 11.02.40.png
I have messaged to MOZ Support but they recommended to go for the MOZ Community!
Screenshot 2023-12-15 at 11.06.02.png Could you assist me wit this issue please? I can reach HTTML of the necessary page and change what I need for permanent redirection but firstly I need to understand how to do that correctly.0 -
301 vs 302
Hello everyone! I'm working with a site right now that is currently formatted as subdomain.domain.net. The old version of the site was formatted as domain.net, with domain.com and several other variants redirecting to the current format, subdomain.domain.net. All of these redirects are 302, and I'm wondering if I should have all these changed to 301. Many of our old backlinks go to the old format of domain.net and i know the juice isn't being passed through, but i was wondering if there is any reason why you may want a 302 over a 301 in this case? Any insight would be appreciated. Thanks!
Technical SEO | | KathleenDC0 -
Should I use a canonical tag or 301 with Wordpress posts?
Hi all, I'm trying to determine if canonical or 301 is a better way of handling an issue on my site. The Background I've got a Wordpress website where pages are in-depth reference articles and the posts are for short news blurbs. When I produce a new resource page, I also make a short post telling readers about the new resource. I use Yoast's Wordpress SEO plug in. Sometimes, Google will rank the 200 word post higher than the 2000 word resource page. I suspect that is because of the order in which they were crawled by Google, but I do not know for sure. The Question To make sure that the resource page is seen as the most important location on the site for the topic, should I use the canonical section in the Yoast plugin on the post to point to the page? Or should I wait, and after a few days (when the news blurb is off of the first page) just 301 the post to the page? Are there any link juice considerations when using the canonical option? Thanks for the help! Richard
Technical SEO | | RichardInFlorida0 -
Matt Cutts explains: 301 linkjuice loss is a Myth!!
Hey Guys, Finally got an answer i was looking for about 301's and link juice (pagerank) loss. Matt Cutts posted the following video on Youtube yesterday confirming there is no linkjuice (pagerank) loss from a 301 redirect. Check out Matt Cutts video and discuss the concequences and tactics here 🙂 http://www.youtube.com/watch?feature=player_embedded&v=Filv4pP-1nw watch?feature=player_embedded&v=Filv4pP-1nw
Technical SEO | | PrizeWize1 -
301 or a 404
Just had a discussion with a collegue about a page on our own website. We have some cases which are outdated. These pages receive some visitors but they arrive there when they search for the clients brand name, so for us they are irelevant. What's the best way to handle these kind of pages? Is a 301-redirect to the showcase overview the way to go or do we make it a 404 and include the showcase overview in this 404?
Technical SEO | | nvs.nim0 -
Trailing slash 301 redirect code
Hi, I have code for redirecting trailing slash to non-trailing slash, which works fine: RewriteCond %{HTTP_HOST} !^.yourdomain.co.uk$ [NC]RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L] (got code from http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html) But I cant find a code for redirecting to the trailing slash version anywhere, and I cant modify the above code myself. Can someone help resolve this issue please, or point me to a resource. Thanks very much James
Technical SEO | | jamesjackson0 -
Do 301 redirects pass page rank quickly
Hi I have been asked to carry out a site audit for a potential client. The site has that many issues I don't where to start in explaining them however, there is one question we are debating and would like to get a second opinion on it. The site I am auditing used to have a homepage rank 7. The site has currently had a redesign (new template with new URLs) and now the root domain 301 redirects to a sub folder two levels deep (not ideal I know!). This happened about a month ago and we are still getting N/A for toolbar page rank. The question is, does Google page rank transfer quicker than normal due to the redirects? or do we still have to wait on the next Google Page Rank update? Thanks in advance Gavelect
Technical SEO | | Equatorites0 -
Why is a 301 redirected url still getting indexed?
We recently fixed a redirect issue in a website, and although it appears that the redirection is working fine, the url in question keeps on getting crawled, indexed and cached by google. The redirect was done a month ago, and google shows cached version of it, even for a couple of days ago. Manual checking shows that its being redirected, and also a couple of online tools i checked report a 301 redirect. Do you have any idea why this could be happening? The website I'm talking about is www.hotelmajestic.gr and its being redirected to www.hotel-majestic.gr
Technical SEO | | dim_d0