Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Http://www.xxxx.com does not re-direct to http://xxx.com
-
When typing in my website URL www.earthsaverequipment.com successfully re-directs to earthsaverequipment.com as specified in robot.
However if you type http://www.earthsaverequipment.com it brings up a 404 error
Is this a potential issue? if so is there a way to fix it? thanks
-
I'm pretty sure it doesnt redirect twice. I double checked it with httpFox. It simply redirects only once.
If you want to see for yourself:
(https://addons.mozilla.org/en-US/firefox/addon/httpfox/)
Good luck with your website!
-
That error is only occurring in Chrome so there must be some caching issue or such? Firefox and internet explorer are redirecting fine.
I am still unclear as to why http://www.earthsaverequipment.com re-directs 2 times before reaching earthsaverequipment.com
-
Hi Alexander,
If you are the only one getting this issue another possibility might be that you have had a previously permanently redirect the other way around and your browser has cached this info.
I hope this is not the cast, as it very difficult to fix on a public site.
K
-
Sorry i meant the htaccess. I am not sure why it would be re-directing twice.. hmmm I have it set to re-direct using the Joomla sh404SEF plugin, so maybe there is an issue there. http://web-sniffer.net/ i do see the correct re-direct.
Will be adding the sitemap today. Site just went live a couple days ago and ironing out some obvious kinks First experience full building and publishing a site on my own so... yea.. headache
Appreciate the input!
-
I literally watched it change twice in the address bar.
-
As far as I can see the redirect points to http://earthsaverequipment.com/, so multiple redirects is probably not the issue. Very strange though!?
-
I don't get a 404 error either but I do notice something strange happening.
As I watch the address bar, first I see what I put in: http://www.earthsaverequipment.com
Then it changes to www.earthsaverequipment.com
before finally settling on earthsaverequipment.com once the page fully loads.
I think there are too many redirects in there. What exactly are you trying to achieve? And also, redirects aren't supposed to happen from the robots.txt file, but rather, the .htaccess file.
Too many http requests can slow down the load time of your site, thereby hurting your SEO.
-
I'm not having any issues testing our your URL on my end. Both URLs there seem to redirect properly to the earthsaverequipment.com address.
Are you sure you didn't simply make a typo?
-
I do not get a 404 error when i'm going to http://www.earthsaverequipment.com. Also a redirect is not handled through your robots.txt. This file is used to specify which locations a robot is allowed to enter.
You can use http://web-sniffer.net/ to see what header a URL returns, and you will see that your website returns a 301 redirect, as it should.
The robots.txt file can also be used to specifiy the location of your sitemap, which it currently doesn't. I suggest you add this information.
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
-
Moz bar not working on https://www.fitness-china.com/gym-equipment-names-pictures-prices
Moz bar not working on our website about gym equipment names https://www.fitness-china.com/gym-equipment-names-pictures-prices How long fix it?
On-Page Optimization | | ahislop5740 -
How To Avoid Redirect Chains When Switching From http to https
I have been working on on-page SEO which has involved switching from http to https, and renaming URLs. I am running in to issues with redirect chains. Here is a scenario: Old URL: http://bwisecontractors.ca/products/decks-and-deck-covers/ New URL: https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ Since I already created the redirect addressing the redirecting from http to https for the root domain: (http://bwisecontractors.ca to https://bwisecontractors.ca), should the redirect for the above be http://bwisecontractors.ca/products/decks-and-deck-covers/ to https://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ , or should it be http://bwisecontractors.ca/products/decks-and-deck-covers/ to http://bwisecontractors.ca/renos-additions/sunrooms-patio-covers/ (and the root domain redirect will take care of going from http to https)
On-Page Optimization | | BWiseContractors0 -
Why are http and https pages showing different domain/page authorities?
My website www.aquatell.com was recently moved to the Shopify platform. We chose to use the http domain, because we didn't want to change too much, too quickly by moving to https. Only our shopping cart is using https protocol. We noticed however, that https versions of our non-cart pages were being indexed, so we created canonical tags to point the https version of a page to the http version. What's got me puzzled though, is when I use open site explorer to look at domain/page authority values, I get different scores for the http vs. https version. And the https version is always better. Example: http://www.aquatell.com DA = 21 and https://www.aquatell.com DA = 27. Can somebody please help me make sense of this? Thanks,
On-Page Optimization | | Aquatell1 -
How to reduce http requests on magento
I have looked everywhere how reduce http requests on magento. couldn't find it, everyone talks about best practices but not actual answers how to implement this.
On-Page Optimization | | Mikaai1 -
Alt text / internal linking
Hi everyone A question about best practice when linking from pictures on our homepage - hirespace.com We have an option of using divs with background images (nicer in terms of design) but it means that we can't use anchor text or alt text to show Google what these internal links are about. The other option is to use images which do not allow us as much flexibility in terms of CSS but would allow us to use alt text. There is also an opinion that we should have separate text links at the bottom of the homepage to get the anchor page in. What is best practice in this situation - is alt text worth sacrificing some CSS flexibility for? How important is anchor/alt text for internal linking? Thanks guys.
On-Page Optimization | | HireSpace0 -
How do i block an entire category/directory with robots.txt?
Anyone has any idea how to block an entire product category, including all the products in that category using the robots.txt file? I'm using woocommerce in wordpress and i'd like to prevent bots from crawling every single one of products urls for now. The confusing part right now is that i have several different url structures linking to every single one of my products for example www.mystore.com/all-products, www.mystore.com/product-category, etc etc. I'm not really sure how i'd type it into the robots.txt file, or where to place the file. any help would be appreciated thanks
On-Page Optimization | | bricerhodes0 -
WordPress and category/subcategory landing pages
Hey, Here's my situation. I'm building a WordPress blog for product reviews of a certain niche. Current category setup is 4 main categories with 4-8 subcategories each. Each subcategory has a unique description that will help it become a landing page for certain keywords, after which it lists the posts from that subcategory. The posts will always be assigned to a sub-category, never to a main category. My issue is what to do with the main categories. They're fairly general so they're not really targeting any keywords, and don't have any unique descriptions attached to them. I was thinking of choosing between three options on designing the main category pages: List the subcategories + normal posts loop that bring the latest posts from the subcategories (may create a lot of duplicate content since the subcategory pages are also listing their posts) List only the subcategories (+ maybe just the latest post from each subcategory) Don't link the main categories at all, instead only use them to create dropdowns for the subcategories So, what would you choose, and why?
On-Page Optimization | | mihaiaperghis0 -
Does Google index dynamically generated content/headers, etc.?
To avoid dupe content, we are moving away from a model where we have 30,000 pages, each with a separate URL that looks like /prices/<product-name>/<city><state>, often with dupe content because the product overlaps from city to city, and it's hard to keep 30,000 pages unique, where sometimes the only distinction is the price & the city/state.</state></city></product-name> We are moving to a model with around 300 unique pages, where some of the info that used to be in the url will move to the page itself (headers, etc.) to cut down on dupe content on those unique 300 pages. My question is this. If we have 300 unique-content pages with unique URL's, and we then put some dynamic info (year, city, state) into the page itself, will Google index this dynamic content? The question behind this one is, how do we continue to rank for searches for that product in the city-state being searched without having that info in the URL? Any best practices we should know about?
On-Page Optimization | | editabletext0