2 home page domains causing split in link juice
-
We have 2 home page domains that are resulting in a split in links. We have mysite.com and mysite.com/index.php. The site is on Joomla and when we try and re-direct the /index.php to just mysite.com is causing an infinite loop. I have done this on other platforms with no problems - is this an issue because of Joomla?
How can we complete a 301 re-direct to consolidate our link juice to one domain url?
-
Try changing mysite.com/index.php to mysite.com directly in the database. Backup first.
-
Hi Devon,
Were you able to get this sorted out, or are you still looking for some help?
-
If that is causing an infinite loop, then you may have some other code working against the redirect you set up.
-
That is not two separate domains. Don't matter joomla it is or wordpress. You just need to redirect index.php to / serverside.
find a .htaccess file in your root folder
Options +FollowSymLinks RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.example.com/ [R=301,L]
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Does "google selected canonical" pass link juice the same as "user selected canonical"?
We are in a bit of a tricky situation since a key top-level page with lots of external links has been selected as a duplicate by Google. We do not have any canonical tag in place. Now this is fine if Google passes the link juice towards the page they have selected as canonical (an identical top-level page)- does anyone know the answer to this question? Due to various reasons, we can't put a canonical tag ourselves at this moment in time. So my question is, does a Google selected canonical work the same way and pass link juice as a user selected canonical? Thanks!
Technical SEO | | Lewald10 -
General Question: Linking Root Domains 0
Hi, we have several subpages with PA 1. We try to figure out why. The link metrics show 0 Linking root domains, but shouldnt there be at least the own domain like 1 linking root domain or are we getting it already wrong here? The subpages have following link metrics: 0 External followed Links. 8416 subdomain and 8421 Root Domain, Linking Root Domains 0, 299 Subdomain, 302 Root Domain (From Mozbar). The pages seem to be crawled. We are suspecting techincal reasons. What would be the impact of the linking root domain to the PA 1? Thank you in advance
Technical SEO | | brainfruit0 -
Changing a domain name, pages redirection
when changing a domain name, should we redirect all the pages to their new pages or only the indexed pages? Thanks
Technical SEO | | bigrat950 -
Canonical tag for Home page: with or without / at the end???
Setting up canonical tags for an old site. I really need advice on that darn backslash / at the end of the homepage URL. We have incoming links to the homepage as http://www.mysite.com (without the backslash), and as http://www.mysite.com/ (with the backslash), and as http://www.mysite.com/index.html I know that there should be 301 redirects to just one version, but I need to know more about the canonical tags... Which should the canonical tag be??? (without the backslash) or (with the backslash) Thanks for your help! 🙂
Technical SEO | | GregB1230 -
302 redirect and NO DATA as HTTP Status in Top Pages in SEOMOZ Link Analysis
I recently performed a link analysis using SEOMOZ and my home page (top page) indicates that there is a 302 status. Is this bad? Also, 2 other key landing pages have [NO STATUS] as the http status and [NO DATA] for the page title. Could anyone offer insight into what might be happening here, and whether or not it's something that is potentially hurting us? Thanks for your help!
Technical SEO | | dstepchew0 -
Page Rank 7 - Domain Authority of 6 (How does this happen)
Iv never seen this before, but what do you guys make of this? http://www.becitywise.com/ According to Google, its a PR7 website. SEOMOZ are reporting a DA of 6 (1 link to the domain) http://www.prchecker.info/check_page_rank.php Any thoughts as to how or why Google have assigned such a high PR? According to Whois, the domain was registered on 16/07/12 so its brand new... The funny thing is, many people purchase links based on the Page Rank, so this guy must be making a fortune. (the Friends links I assume are all paid links) Greg
Technical SEO | | AndreVanKets0 -
Why would a link shown on OSE appear differently than the page containing the link?
I recently traded links with a site that I will call www.example.com When I used open site explorer to check the link it came back with a different page authority as www.example.com/index.htm yet the link does appear on the www.example.com page. Why would this be?
Technical SEO | | casper4340 -
How to optimize achor text links on ecommerce category page
A category page on an e-commerce sites, containing a list of the products within the category, usually shows the product image above the product text link. If both image and anchor text link to the product page, this would mean that the image is counted as the link in terms of ranking value. What would be the best way to make the anchor text count in stead of the image? I guess some ways would be: 1. Not making the product image a link
Technical SEO | | DeptAgency
2. Using some kind of link masking / redirecting technique for the image
3. Employing a technical trick to make the anchor text link come first in the code readable by search engines. What would be the easiest way to solve this issue? Or do you believe it's not worth bothering?0