0

I noticed that links to my site from search engines don't work. Google links me to https://www.site.comcontent/page-title-1. I am using Pathauto and Clean URLs. The slash is missing at the end of the domain. Is there something obvious I have misconfigured? I can navigate around my site just fine once I am there.

Edit: originally mis-typed the problem - note https instead of http.

2
  • Do you have the metatag or global redirect modules add a canonical url metatag to your page?
    – Shawn Conn
    Jun 4, 2015 at 21:28
  • @ShawnConn No, I have neither of those modules enabled. Jun 4, 2015 at 21:39

3 Answers 3

2

This ended up being a problem introduced with the freshly installed SSL cert and redirecting to https, in combination with using Clean URLs. Turns out there is documentation on configuring Clean URLs and HTTPS with Apache.

1
  • SSL cert? Is it kind of module that changes the URL's?
    – user16289
    Jun 9, 2015 at 0:26
0

Go to the edit page of the node and check for the url of the node. There are chances that you have overridden the path of the node.

So instead of using pattern from path auto you might have manually added that url.

I actually am curious to know the reason.

0

Something is causing search engines to think those are valid URLs. Google/Bing are pretty vigilant about not display 404 links to users, so they are getting those bad URLs from somewhere. The solution probably isn't Drupal-centric unless it's supplying these bad URLs to search engines.

Try using search engine tools like Google Webmaster Tools & Bing Webmaster Tools to find the source. You should also look at the XML Sitemap module to supply search engines your valid URLs and a module like Metatag & Global Redirect to make sure your site is sending out canonical URL sources that will be used in search results.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.