Question

I'm hosting 2 domains on a single shared hosting account. Let's say I have 2 domains xyz.com and abc.com

The contents of abc.com are placed in public_html/abc.com directory.

In my index.php of the domain abc.com I.e. in public_html/abc.com/index.php

I'm using an anchor tag.

<a title=”Author: pqr on Google+” href=”https://plus.google.com/u/0/01010101010?rel=author” target=”_blank” rel=”author”>Click here</a>

but when I click "Click here" I am redirected to www.abc.com/https://plus.google.com/u/0/01010101010?rel=author

How do I remove www.abc.com from www.abc.com/https://plus.google.com/u/0/01010101010?rel=author

Was it helpful?

Solution

Single quotes work well.

 <a title='Author: pqr on Google+' href='https://plus.google.com/u/0/01010101010?rel=author' target='_blank' rel='author'>Click here</a>

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top