Ok so the problem was that i was using “www.example.com” when i am supposed to be using “http://www.example.com”.
It seems like many of the links on my site are being prefixed like originally mentioned. Is there a solution for this? My users can not use the forgotten password link because of this and there are several other links that are also broken due to this.
Hey,
When you are adding a link you should always be using http:// at the beginning. If this isn’t an issue of adding a link then you may need to re save your permalinks in the permalinks page.
What plugin is adding the forgot password link?
Kadence Themes
Hi
Thanks for the response. The forgot password link is being generated by WP-Members. I inserted the “http://” in front of the login page link in the WP-Members plugin settings and that seemed to fix it.
But there still places where inserting the “http://” does not fix the problem. For example when using css
“content: url(http://www.example.com);”
This will get prefixed with the directory of the childtheme like so
“http://www.mydomain.com/wp-content/themes/virtuechildtheme/http://www.example.com”
The theme i used previously did not cause this issue. This problem only arrised once i switched over to the virtue theme.
Thanks again for your help.
Hey,
There isn’t’ anything in the theme that can or could effect how css is read by a browser. Can you post a link to an example of this?
Kadence Themes
Good day
Thanks again for helping. I replicated the problem in the link below:
http://clanmadhatters.co.za/forums/forum/new-members/
The icon next to the sticky post will show an error. in the browser console it will show an error on the page as this:
http://clanmadhatters.co.za/wp-content/themes/virtuechildtheme/www.icons.iconarchive.com/icons/janik-baumgartner/woocons/32/Note-Sticky-icon.png Failed to load resource: the server responded with a status of 404 (Not Found)
This is the css used:
#bbpress-forums ul.sticky li.bbp-topic-title a.bbp-topic-permalink::before, #bbpress-forums ul.super-sticky li.bbp-topic-title a.bbp-topic-permalink::before { content: url(www.icons.iconarchive.com/icons/janik-baumgartner/woocons/32/Note-Sticky-icon.png) !important; float: left !important; width: 29px !important; height: 29px !important; background-repeat: no-repeat !important; margin-right: 5px !important; padding-top: 3px !important; }
I’m confused, didn’t I point out that you can’t use www without http://
Else the browser doesn’t think your trying to link to a different domain. You have to use http:// if your using a absoltute url.
Also even if you had the right http:// it still isn’t the write link because you don’t use www on a subdomain.. for example click this:
http://www.icons.iconarchive.com/icons/janik-baumgartner/woocons/32/Note-Sticky-icon.png
See how it doesn’t work.. the correct link is:
http://icons.iconarchive.com/icons/janik-baumgartner/woocons/32/Note-Sticky-icon.png
Kadence Themes
Ok will keep that in mind
Thank you.