Google does not show the correct URL [closed] - url

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Hi I have my own URL http://www.manelsoft.com When Search by google it does not show the correct URL and google shows another URL as http://mail.dreamfordarfur.org/ but when click on this link it shows the correct address.
I added this URL to google webmaster tool few months ago and few days ago it shows an error message saying google can't accedd robots.txt on your site. Then I fixed it and added the robots.txt file. But the problem is still exists. Please anyone can help me to solve this problem?

You say that when you click on http://mail.dreamfordarfur.org/ you see the "correct" address. However, I still see mail.dreamfordarfur.org in the address bar of my browser. To me, your full site appears to be shown.
dreamfordorful.org and manelsoft.com appear to hosted on the same server:
;; ANSWER SECTION:
mail.dreamfordarfur.org. 14215 IN CNAME dreamfordarfur.org.
dreamfordarfur.org. 14215 IN A 173.237.136.37
;; ANSWER SECTION:
www.manelsoft.com. 14186 IN CNAME manelsoft.com.
manelsoft.com. 14186 IN A 173.237.136.37
dreamfordarfur.org is registered using private DNS registration, so I can't tell who owns it. It appears to be a spam site pushing weight loss drugs, so you don't want to be associated with it.
The problem is that the webserver you are using is misconfigured. Your site is either set to the default site that shows up for any unrecognized host name, or the virtual host for mail.dreamfordarfur.org is pointing to the directory that hosts your manelsoft.com site.
If you have control over your web server, you should correct its configuration.
If you don't have control over this web server and are just using a brain dead hosting company, there are still some things you could do besides asking them to fix the web server.
You should put a canonical tag in each of your pages that shows what the correct url of that page should be. For example, your home page should have the following in the <head> section:
<link rel="canonical" href="http://www.manelsoft.com/"/>
Another thing you could do is change some of your navigation to absolute links. If you change the code for your menu to this:
<ul class="menu">
<li><a class="active" href="http://www.manelsoft.com/">Home Page</a></li>
<li>Web Development</li>
<li>Desktop Apps</li>
<li>About Us</li>
<li class="last-item">Contact Us</li>
</ul>
It will direct web crawlers back to your real site every time they follow one of the main links on your page, even if they find your website at an incorrect url.

I would change your robots file to read
User-Agent: *
Allow: /
This will allow Google in the next time it visits your site. This may take a few days to happen though.

Related

Mautic email links getting replaced leading to broken links [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I tried adding a url to to my Mautic emails. They are getting replaced by the following links which appears to be broken and is triggering Gmail spam filters.
http://url9156.motivesmedia.in/ls/click?upn=r1I3730w6uT5Y-2F1VS0EcEa6mVXyfIdORD1s4GHTFFGmFiirbW6nwIfkY6YGDQ4R-2B53sf0qOqcp1sMdeFmWbCPQ9IR2WbGVz7om2qClGMZ3H2jb-2BMYi10Cs4PIMVw-2BVCIVhIYDnmhf3sVkz9mxgcGALJQPWRFJm8-2FscN0sIbzITKqzKvFR3gAIUBXTDUsgN-2BVo6BYeB40YHYHS6soAu-2BendJzCPiH4ZdolH7v-2BxflDJtXqlHyjQlS5rtC-2Bdez3HbprER9j29g43oQGbQI7kr2cmf4y6Wb0MP-2BOZcmLc1j6SPxz9pOW0raMmyRInuXvrPM3CkgXC5DXqCDBcuVm3bVnaO8FLQpv1n590vO2sY2r9Lw7-2FyLTP9T2D-2FjXGzHD8vbRcmpQxXOg0ae-2BrEJ2RcZrA-3D-3D8LJs_JZHjo7Iyk6KmIbqvM4N7ab34zxuAK4n5HtR9OHOpxkngg7afD-2FZ2jVRmLFUmgoUskyBbE3Bi-2F9OO534waDayFbPUopg6tOQCst7vXZtbzcRBkET0dtqJ9gpbZap6lV8kJwSB6A3uktLZOKUYH5yxhy7cXkbbHf06zILRskCpPoSUZRIZRAZe5h-2Fgq8-2B2t-2BUA2n1YgKKrhMwmz61v0nfrra-2B50gwmSykieNdRVWRxFeE-3D
The original url is a google drive file. The problem is that when I add a link in my email it always ends up in the spam and when the recipient clicks the link, it's showing a site not found error (Please click the above replaced url to understand what I'm trying to say). When I don't add any links, it ends up in the inbox without any problem.
I have installed mautic on a subdomain mautic.mydomain.com and the root url is given as mautic.mydomain.com (I've tried changing the root url to mydomain.com and clearing the cache but that didn't help.)
Here's a screenshot showing the broken links.
screenshot of broken links in email-tester
There are no log errors being shown.
Please tell me why this is happening and any solution to this problem. Thanks in advance.
Link Tracking Config
Link Tracking in Mautic properly working depends on a few things:
Your hosting configuration
Use of third-party Queues like RabbitMQ or Elasticbeanstalk
If using LAMP, appropriate .htaccess file.
If using LEMP, appropriate nginx.conf.
Because the setup for infrastructure so widely varies, it is difficult to troubleshoot your question without more details.
Spam Score
Mautic will automatically replace your links with a link through the Mautic platform in order to track clicks.
If you want to decrease your spam score, you should look into the following:
Mautic should be on the same domain you are sending emails from... otherwise it will always look spammy.
Set up SPF / DKIM On your domain.
Reduce the number of links in your email. Too many and it can get a higher spam score.

Switching from blogspot to custom domain [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a blog on blogspot with url say myblog.blogspot.com. Now its getting around 30,000 page view in a month. I want to change the blog url as myblog.com.
But, I worry that the amount of traffic I have gained till now, will become nil because of new url. Google page rank and alexa rank will go to nil.
So, should I change the domain of my blog or not?
Maybe this Link will help you: How do I use a custom domain
It s a simple forward, so your rankings will not go to nil.
Your original Blogspot address will automatically forward to your new domain. That way, any existing links or bookmarks to your site will still work.
When you migrate from a sub-domain of blogspot to your own domain you must set up proper redirects. The redirects should be the permanent (301) type, not the temporary (302) variety). Permalinks should redirect directly to corresponding permalinks:
http://myblog.blogspot.com/ -> http://myblog.com/
http://myblog.blogspot.com/this-is-a-blog-post -> http://myblog.com/this-is-a-blog-post
You should also make sure you change all your internal links to make sure they don't mention your old sub-domain. If you control any external links, you should change those. You might even consider asking some webmasters to change the external links that point to your blog.
Even if you do the redirects correctly, there is a good chance that you will lose Google traffic for some time. The last time I tried a move from a sub-domain to a full domain (several years ago), I lost about 75% of my Google referrals for about 8 months. After 8 months, Google seemed to trust my new domain again and my traffic came right back.
Google has a change of address tool as part of webmaster tools. It is limited to use on "full-domains" and it won't work in your case because you are starting out on a sub-domain. Google has a help document that goes along with it which you may still find useful.

How can I make Google cache delete old webpages and start to index new ones [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 months ago.
Improve this question
I have a problem concerning Google cache my old content URLs while I created a new website
I have an old website where the old webpages are dead now and created a new website with new webpages.
Because I have old content so when people search on Google for old content the old URLs appear in the search results (as it was cached) instead of the new ones which should be appearing (but not indexed yet), this is because the old content is already indexed by Google and the new ones are not indexed yet.
While when people search of new content the new URLs appear. So for the new content there is no problem, but the problem I have is with the old content.
For that reason above, now I created a new pages with the old URL names to redirect to the new page with the new URL when people search for old content.
My question is what I did to solve this will help the old URLs to disappear from Google cached pages and start to index the OLD content with new URLs instead or should I keep with page not found?
Here's an example of the case I have:
When I search for old content this URL appear in search results --
www.example.com/Sectionnewsdetail.aspx?id=10132
which is deleted and land on page not found
So I created a webpage with the old name
Sectionnewsdetail.aspx to redirect to the new content page --
http://www.example.com/Content/SectionNews.aspx?NewsID=13855
whenever any one click on the old URL on Google my solution redirects him to the new page
So which case will help Google cache forget the old URLs and index the new URLs.
Keeping page not found or the solution I did as explained above?
Try submitting your site again. But It could still take a week or two.
The easiest way could be adding the cross-domain rel="canonical" link element in your old website. Google Tutorial
There are situations where it's not easily possible to set up
redirects. This could be the case when you need to move your website
from a server that does not feature server-side redirects. In a
situation like this, you can use the rel="canonical" link element
across domains to specify the exact URL of whichever domain is
preferred for indexing. While the rel="canonical" link element is seen
as a hint and not an absolute directive, we do try to follow it where
possible.

Google search returns blank page [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
When I do a google search for any string it is retuning a blank page. The html source of the returned page looks like this.
<html>
<body>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.google.com/search?hl=en&q=test+search&meta=&safe=active">
</body>
</html>
i.e. there is nothing at all returned to the browser.
But, when I search using google's IP address in the address bar (rather than typing google.com), the search returns required results. (doesn't return blank page anymore).
Why is this strange behavior happening? I am dead certain that it is not blocked at firewall as other users in the network with same access rights as mine are able to work normally with google. And neither is it any setting in the browser.
And it looks to me as if the search request when I search using domain name (google.com) doesn't reach google server at all.
Conceded that it is not a programatical question and though I am able to search using google's IP adress, the issue when using domain name remains an unanswered puzzle to me.
What could be the reason for this rather strange behavior?
Someone's probably hijacked the google.com address on your PC. Try a ping of google.com and see if the address resolves to the same IP as you think it should. Otherwise, they may have hijacked your browser (such as a BHO under IE).
In any case, you're right, this isn't really programming-related.
EDIT: I've just typed that source into a HTML file on the hard drive and changed the 0 to a 5. It successfully refreshes me to Google after 5 seconds which is what I'd expect yours to do.
But, this sort of page-initiated meta-refresh can be disabled in some browsers. For example, if you bring up "Tools" menu, "Internet options", "Security" tab in IE6, you can disable meta-refresh (under "Miscellaneous").
This may be worth looking into, and it depends on the browser you're using. Try typing this exact content into a file x.html and double-clicking on it:
<html><body>
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://xxx">
</body></html>
It should complain about not being able to find xxx. If not, then your browser has somehow disabled meta-refresh (in which case, tell us the browser you're using).
Have a look here to see how this is meant to work.
What is happenning is that google.com is soft-redirecting you to www.google.co.in, and your browser may have chosen to ignore this redirect.
Can you access www.google.co.in (notice the Indian domain) from your broswer?
You may want to check your antivirus, popup-blocker settings, or reinstall your browser.
A different browser on your PC may work correctly with www.google.com.
Ask your network admin about your problem. It will work best.

Where should the link on the company's logo go? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm wondering if the link on the company logo, which usually goes the home page, should be:
http://www.example.com
http://www.example.com/index.html (or other index file)
/index.html (or other index file)
/ (just the root)
Does Google care or are there other rules?
A or D.
Hard coding the full path in removes flexibility - let the web server or the app config handle what the default is.
(iirc google doesn't care any more than it would for any other link)
Well, I would imagine that for simplicity's sake, it should just go to http://www.example.com. including index.html would make it dependant on the implementation of the home page being in index.html, which may not always be the case. Also, if you go off to some subdomain, you probably don't want to be redirected to the subdomain's homepage when clicking on the company logo, which as far as I've ever encountered, should always take you back to the main company home page.
In my humblest of opinions and giving credit to my understanding to TBL, the URL should be identifying a resource and not so much the technical means by which it is generated: so I would argue against including 'index.html' in the link. After all, you're trying to point to the site at that address, and the fact that it's currently HTML (or that DirectoryIndex is set to 'index' on the apache server) is an implementation detail.
That leaves http://example.com and / to consider. I'm somewhat indifferent between the two. Is it possible the domain name where the current content is being served from will change? If it does, do I want to link to example.com or to the current domain? That's what I would be thinking about in deciding between the two.
If you're really trying to achieve proper SEO, I would think that you would rather have a logo or banner (something that's on every page to identify the website, not the page) be set as the background of a div instead of using <img>. I usually reserve <img> for images particular to the content on a specific page. This allows you to set the alt attribute as well which helps with SEO. As for the link, it really shouldn't matter to Google. I'm sure they've handled this on their end.
ok simply put
a never link to http://www.example.com/index.html
as later you might use http://www.example.com/index.php if you change hosting or site design
equally never link to http://www.example.com as this is not a url and your browser must repair it
when linking from other company sites via logo link to http://www.example.com/
note the / as this is the actual url for {default page in first folder}
or internally on same site just link to "/" as this also means {default page in first folder on this site} which will keep your links working if company name changes
also ensure that http://example.com/ 301 redirects to http://www.example.com/
{and dosn't server identical content}
and if many links are already to http://www.example.com/index.html
first fix all you can
second move index.html to index.htm
then 301 redirect /index.html to http://www.example.com/
thus ensuring everyone eventually notices the http://www.example.com/index.html is gone
without loosing hits or PR
I would and do go to /
My PHP/xHTML looks like this
Home
Relative URLs (C and D) would be resolved by clients (Google included) to absolute URLs (to B and A respectively) and therefore treated the same as their absolute counterparts. If your A permanently redirects to B, or B to A, then Google will also treat this as one resource. Google will score A+B+C+D as one page.
Whichever one URL the others eventually resolve or redirect to will be considered the 'canonical' URL.
The words contained in your canonical URL are important. As in the URLs of questions here on stackoverflow, the words should relate to the content. Therefore what you need to decide is whether or not you want the words 'index' and 'html' in the URL. I believe best practice for home pages is to have http://www.example.com/index.html permanently redirect to http://www.example.com/ .
Of course, content is still king, and all of this is just minor tweaking compared to adding quality content.
I think you should set it to ~/
IIS / ASP.NET will translate that to your root automatically.
i.e. http://www.example.com
This is perfect for testing locally too. On your local machine it will point to http://127.0.0.1/whateverYourPathIs, and when its deployed live, it will correctly point to http://www.example.com

Resources