Problem www/non-www domain rewrite
-
Hello,
I've made a site for a client about 1 year ago. The rankings are quite okay, but the home page suffers from a penalty I think.
I found out via OSE that PageAuthority strangely is higher on the 301-ed page
www.myanmar-rundreisen.de - PA 32
myanmar-rundreisen.de/ - PA 33I don't understand what is happening here as I am using the usual htaccess 301-redirect:
Rewrite domain.com -> www.domain.com
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www.myanmar-rundreisen.de [NC]
RewriteRule (.*) http://www.myanmar-rundreisen.de/$1 [L,R=301]which is working fine with other domains ...
I tried also (last line)
RewriteRule (.*) http://www.myanmar-rundreisen.de/$1 [L,R=301]
So thanks to anyone who can share an idea on that ...
Guenter
-
Yes. Google Webmaster Tools know about www since long ...
-
I think that's is impossible that you see change in opensiteexplorer early.
First you must logged in webmaster tools of google e decide if you use your domain with
www or without.
After you must wait the the search engine understand that this is changed.
Ciao
Maurizio
-
Hi Maurizio
thanks for this code version - I changed the htaccess rewrite to your version.
htaccess does what is expected ...
No change yet in opensiteexplorer results with that htaccess, but may be after some hours ...
-
only so?
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1
[R=301,L]Ciao
Maurizio
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
-
Is repurposing an old sub domain better than creating a new sub domain?
We have a good sub domain like** art.ourwebsite.com** which currently sells custom canvas art. We have owned the domain since 2013 but it has only been live for the past few weeks. We want to redesign & repurpose the page to continue to sell custom canvas art but will eventually include other merchandise like mugs, tshirts, etc which wouldn't be custom. Would it be best to keep art.ourwebsite.com since is a shorter/more memorible & older sub domain or would it be best to update the name to something that encompasses our new products? Our marketing team has suggested yourart.ourwebsite.com
Technical SEO | | sb10301 -
Strange problem with basic html anchor tag linking to my domain
I have some old valuable followed links from high ranking domains and I noticed from moz reports they are reporting 404.Visually they looked fne but when I clicked on those they indeed were generating 404. When I researched further they are defined as My domain.com Notice there is extra space between "/" and the closing quote. It turns out it is sending "www.mydomain.com/ " to browsers. Any ideas How to solve this? If I should put a perm redirect in apache, how do I deal with these "%C2%A0" characters. It seems the issue is happening at more than one remote domain.
Technical SEO | | Maayboli0 -
Domain Authority why is change
Hey seomoz friends!
Technical SEO | | petrospan
I have a question and if you have some links to read about it, bring it on!! What variables changes that measurement?0 -
Correct Redirect method for switching pages from .html to /pretty urls/
I have a customer that has all his site files as .html extensions and i'm going to rebuild this site into a wordpress site for easier management, regarding the new permalink structure, should i just do a 301 redirect on this?
Technical SEO | | tgr0ss0 -
Www or not www base url
Here is the situation. Developer custom coded a magento commerce shop for a seo client and is having problems adding www to the URL without breaking the site. They wont be able to get this completed until a couple months down the road. We are starting monthly SEO this June. Most directories and websites link to the www version of a site not the non www. What should I expect since we are ranking for the non-www and linking to the www version. In web master tools i'm telling google to display the URL as www.
Technical SEO | | waqid0 -
Snippet problem
Hi there Today I had the following question from a client Why my pages are only listed with a title (but no snippet) in the search results. What could be the possible reason? Can anyone help me to answer him? Thanks
Technical SEO | | nyanainc0 -
Redirect non-www if using canonical url?
I have setup my website to use canonical urls on each page to point to the page i wish Google to refer to. At the moment, my non-www domain name is not redirected to www domain. Is this required if i have setup the canonical urls? This is the tag i have on my index.php page rel="canonical" href="http://www.mydomain.com.au" /> If i browse to http://mydomain.com.au should the link juice pass to http://www.armourbackups.com.au? Will this solve duplicate content problems? Thanks
Technical SEO | | blakadz0 -
URL rewriting causing problems
Hi I am having problems with my URL rewriting to create seo friendly / user friendly URL's. I hope you follow me as I try to explain what is happening... Since the creation of my rewrite rule I am getting lots of errors in my SEOMOZ report and Google WMT reports due to duplicate content, titles, description etc For example for a product detail, it takes the page and instead of a URL parameter it creates a user friendly url of mydomain.com/games-playstation-vita-psp/B0054QAS However in the google index there is also the following friendly URL which is the same page - which I would like to remove domain.com/games-playstation-vita/B0054QAS The key to the rewrite on the above URLs is the /B0054QAS appended at the end - this tells the script which product to load, the details preceeding this could be in effect rubbish i.e. domain.com/a-load-of-rubbish/B0054QAS and it would still bring back the same page as above. What is the best way of resolving the duplicate URLs that are currently in the google index which is causing problems The same issue is causing a quite serious a 5XX error on one of the generated URLs http://www.mydomain.com/retailersname/1 - , if I click on the link the link does work - it takes you to the retailers site, but again it is the number appended at the end that is the key - the retailersname is just there for user friendly search reasons How can I block this or remove it from the results? Hope you are still with me and can shed some light on these issues please. Many Thanks
Technical SEO | | ocelot0