Shawn Hyde has been developing and marketing creative custom websites for just over 13 years. If you're looking for a unique and creative website or effective internet marketing strategy, I would be happy to help you out.
You can contact me via my Contact Form or by phone at 507 536-9557.
Connect with Shawn Hyde on these Social Networks:
This method can be used to fix duplicate content errors and make it so google only indexes one version of your urls, which will prevent you from getting a negative modifiers.
In order to do this you have two options.
If you plan to use both methods be sure to use only lower case for your canonical tags or you will end up with problems.
Update the if error section to retry after waiting for 1000ms, then attempt the request again, for example replace:
with
Here is a neat little trick you can use to target Safari and make it behave while fixing cross browser layouts. This method will allow you to keep a page valid and it will allow you to only target Safari.
First thing you want to do is use javascript to inject a css file for all browsers that support webkit with this code:
Now, like I stated above this will target all browsers that currently support webkit and add support for it in the future so you cannot rely on only this. So now you need to create the css file and add some code that is Safari specific by using the double # method. Some people will ask, why not just include the double # to begin with? And the simple answer is that it will cause your CSS not to validate.
Here is the example css code that will target only Safari
Enjoy!