Title: Permalink
Last modified: August 19, 2016

---

# Permalink

 *  Resolved [soltanamir1](https://wordpress.org/support/users/soltanamir1/)
 * (@soltanamir1)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/)
 * Hi everyone,
 * I have a best which displays our products, and I have little section called “
   Related Products” at the bottom of the listed product. Refer to the following
   link: [http://www.terraworldltd.com/storage/932.html](http://www.terraworldltd.com/storage/932.html)
 * My problem is that the links in the Related products section uses the “/?p=N”
   structure, which the actual permalink structure is “/%category%/%post_id%.html”.
   This issue only happenes in the “Related Products” section. Based on my research
   there is a problem with the coding of this section, which is the following:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * I have to change the coding somehow that it uses the permalink structure of my
   website. But I have a trouble figuring it out. I really really appreciate it 
   if you can help me with this.

Viewing 10 replies - 16 through 25 (of 25 total)

[←](https://wordpress.org/support/topic/permalink-19/?output_format=md) [1](https://wordpress.org/support/topic/permalink-19/?output_format=md)
2

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888758)
 * Found the answer myself:
 * > Theme Name: eShop
   >  Theme URI: [http://premiumthemes.net](http://premiumthemes.net)
   > Description: Developed by Bhavesh Radadiya. Version: 1.2 Author: Templatic 
   > Author URI: [http://premiumthemes.net](http://premiumthemes.net)
 * You might want to look for theme-specific support via [http://templatic.com/forums/](http://templatic.com/forums/)
 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888759)
 * I was about to say, since this is a problem with an established theme/plugin,
   at this point you should go to that theme/plugin author for support. But I was
   beaten to the punch.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888760)
 * Sorry. I’ve got a beta theme available for download for the eShop plugin, so 
   when I saw mention of eshop, I needed to make sure it wasn’t related to my theme.
 *  Thread Starter [soltanamir1](https://wordpress.org/support/users/soltanamir1/)
 * (@soltanamir1)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888761)
 * yeah I’ve already been to the forum, but they ask for Login and Password, which
   I need to pay in order to have access.
 * But thank you for putting the effort. I really appreciate your time.
 * God bless you.
 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888762)
 * I had no problem being beaten to the punch – it was helpful, and I thought all
   along he had been referring to your eShop plugin. But I was wrong.
 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888763)
 * Wish you good resolution to your situation
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888764)
 * I think there are now 2 eShop themes out there plus the eStore theme.The former
   have nothing to do with the eShop plugin whilst the latter one uses customisations
   that we can’t support. :-/
 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888765)
 * You might have to start calling your plugin The Original eShop
 *  Thread Starter [soltanamir1](https://wordpress.org/support/users/soltanamir1/)
 * (@soltanamir1)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888769)
 * Hey ,
 * just wanted to let you know I resolved the problem. In the Related products code
   stated above, I basically removed the if statement of if($image_array[0]!=” &&
   file_exists($imagepath)) and everything worked fine. Thank you for your efforts.
 * Related Products code:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888770)
 * just be aware that change could cause errors in certain future circumstances 
   if the desired images don’t exist. most likely the if statement is in there for
   a reason

Viewing 10 replies - 16 through 25 (of 25 total)

[←](https://wordpress.org/support/topic/permalink-19/?output_format=md) [1](https://wordpress.org/support/topic/permalink-19/?output_format=md)
2

The topic ‘Permalink’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 25 replies
 * 3 participants
 * Last reply from: [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/permalink-19/page/2/#post-1888770)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
