Title: PHP Linking issue (Archives)
Last modified: August 20, 2016

---

# PHP Linking issue (Archives)

 *  [aclight](https://wordpress.org/support/users/aclight/)
 * (@aclight)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/php-linking-issue-archives/)
 * For some reason, the plugin “Custom Post Type Archive” links incorrectly – instead
   of posting [http://www.example.com/?m=201102&post-type=presentations](http://www.example.com/?m=201102&post-type=presentations),
   it posts the url like so:
 * test.example.com/:/test.example.com/?m=201102&post-type=presentations
 * The weird part is, when you hover over the link in the Custom Post Type Archive,
   it shows the correct path; it just doesn’t direct properly…so I’m sure it has
   something to do with PHP but I tried tweaking the code and nothing’s working.
   Any help would be greatly appreciated! Thanks.

The topic ‘PHP Linking issue (Archives)’ is closed to new replies.

## Tags

 * [custom post type archive](https://wordpress.org/support/topic-tag/custom-post-type-archive/)
 * [link](https://wordpress.org/support/topic-tag/link/)
 * [links](https://wordpress.org/support/topic-tag/links/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [aclight](https://wordpress.org/support/users/aclight/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/php-linking-issue-archives/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
