Content duplication issue with dynamic URLs

This issue is not necessarily with wordpress, rather Google allows you to exclude specific url parameters. So you should exclude the session_id parameter, and possible others… have a look around the Craw->url parameters section of you webmaster account. There are a number of different options, depending on what the roles of your parameters are. https://www.google.com/webmasters/tools/crawl-url-parameters?

Avoid the removal of “https:” from URLs

It was caused by CloudFlare https (which doesn’t set the $_SERVER[‘HTTPS’] variable), I solved it by forcing: $_SERVER[‘HTTPS’] = ‘on’; in the webserver configuration. After doing so I could also disable the CloudFlare Flexible SSL plugin, and get a little performance gain.

How to handle this URL Structure. Keep getting “page not found”

The problem is that anytime you try and go to a post such as: http://example.com/test/articles/example-slug/ ↑ ↑ | â”” attempts to match “articles” as name/pagename query variable â”” matches post_type “test” WordPress is trying to match /test/articles, as in articles being a post of post_type === test. Instead you need to add a custom rewrite … Read more

My php header() function is not working [closed]

I figured it out. Hours and hours of banging my head against a wall and it turns out all this needed was one simple line: ob_clean(); Somewhere in some included file there’s probably one line of whitespace that is screwing things up. ob_clean() will work for now. Thanks for the effort everyone who helped!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)