Site logo

Archived topic

Copyright Link creates invalid url

3 replies · Started by Steve M on December 22, 2014

Viewing posts 1–4 of 4

I have Wordpress setup on a server in a sub-directory.

In the Settings/General screen I have:

WordPress Address (URL): http://www.domain.com/domain
Site Address (URL): http://www.domain.com

The site works fine and all urls show as http://www.domain.com and not like this:

http://www.domain.com/domain

However, when I use the Copyright function with a hyperlink it creates and invalid url.

My text is:

Copyright %copy% %current_year% Domain. All rights reserved.

It creates a url like this:

http://www.domain.com/www.domain.com

Any ideas or recommendations?

Thanks

Steve

Hi Steve,

Try adding http:// to the beginning of your href.

Without it, the browser assumes the URL is a part of the site you're currently on.

Let me know :)

Ah that did it! Thanks Tom!

You're welcome :)

This archived topic is closed to new replies.