Title: simple dynamic redirection
Last modified: March 11, 2017

---

# simple dynamic redirection

 *  [Mazzo77](https://wordpress.org/support/users/mazzo77/)
 * (@mazzo77)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/simple-dynamic-redirection/)
 * hi
 * i’m in need of a small help regarding a simple dynamic redirection
 * i want to hide a URL under my site link and this link will be joined by a dynamic
   title of posts
 * for example :
 * i want to hide : [http://www.google.com](http://www.google.com) with my site:
   [http://www.mydomain.com](http://www.mydomain.com)
 * and insert it in my single.php and add a string: <php_echo_get_post_title> at
   the end of the link
 * so for example if i have a post with the title : music FUN
 * then the link will appear at the end of the topic like this
 * [http://www.mydomain.com/<php_echo_get_post_title&gt](http://www.mydomain.com/<php_echo_get_post_title&gt);,
   so the above link will redirect to
 * [http://www.google.com/music](http://www.google.com/music) FUN
 * understand ?
 * anyone can help me? thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [fad.lee](https://wordpress.org/support/users/fadlee-1/)
 * (@fadlee-1)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/simple-dynamic-redirection/#post-8905878)
 * So you want to redirect non-existing page on your WP? To google.com?
 *  Thread Starter [Mazzo77](https://wordpress.org/support/users/mazzo77/)
 * (@mazzo77)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/simple-dynamic-redirection/#post-8906281)
 * hi
 * thnx a lot for reply
 * yes, i want to redirect a special link of my domain to another one, then the 
   slug is dynamic and will be called from the post title
 * for example i want to always redirect : [http://www.mydomain.com/Dynamic_slug](http://www.mydomain.com/Dynamic_slug)
 * redirect it to : [http://www.google.com/Dynamic_slug](http://www.google.com/Dynamic_slug)
 * where “Dynamic_slug” is my post title and it’s differentiate from one to another
 * and this link will be at the bottom of my “single.php”
 * and title is called through the <php echo get_title> code
 * i mean, in single.php file i will insert the link : [http://www.mydomain.com/<php](http://www.mydomain.com/<php)
   echo get_title>
 * understand ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘simple dynamic redirection’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [Mazzo77](https://wordpress.org/support/users/mazzo77/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/simple-dynamic-redirection/#post-8906281)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
