Jump to content

Can I modify this WordPress plugin?


presario1

Recommended Posts

Hi,

I am a complete newbie when comes to coding. I'd appreciate very much the help.

There's this WordPress plugin where you cloak your links (the plugin here --> http://bit.ly/13AYpUF).

It redirects the link using this model: websitename.com/go/username

I want the name in the link instead of "go" to be "list" -- like this : websitename.com/list/username

(p.s. instead of the name "list" I may choose a different one.)

I tried myself to replace within the code the name "go" with "list", but after doing this, when clicking the link it showed a 404 error page.

Thank you VERY much! smile.gif

Link to comment
https://forums.phpfreaks.com/topic/275439-can-i-modify-this-wordpress-plugin/
Share on other sites

  • 3 weeks later...

By looking at the plugin, changing the original code to this should work fine.

'rewrite' => array( 'slug' => 'list', 'with_front' => false )

 

 

Did you follow the step of saving the permalink structure?

 

Navigate to Settings > Permalinks and save them. Yes, just click save. Trust me.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.