Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Custom permalinks fix WordPress

  • SOLVED

I've installed a "custom permalinks" plugin on [[LINK href="http://churchilltheband.com"]]Churchilltheband.com[[/LINK]], but it isn't working. When I change the permalink [[LINK href="https://www.evernote.com/shard/s9/sh/53f0d566-59ae-4fef-8ada-5be9aff8e8a7/3fd86121e5e7dc67ef82f952b2ad794f"]]here[[/LINK]], it becomes a dead link.

The same thing happens when I try to change the permalink settings from "Default" to "Post Name" in my dashboard [[LINK href="https://www.evernote.com/shard/s9/sh/2ddcf25d-9093-496b-bf9c-54e4c713b2df/ee348a739037860133ac95d103f4b361"]]here[[/LINK]].

I just want to have full control over my permalinks.

What .php pages do I need to share here to get some help?
[[LINK href="https://www.evernote.com/shard/s9/sh/ea202ea9-368f-4496-903d-56895f6fe7a6/0fe124641470f16046d1af031c770a00"]]Here's[[/LINK]] what my file structure looks like in FTP:

Or maybe I can give private access to the admin through a direct message?

Thanks in advance...

Answers (2)

2013-01-06

Dbranes answers:

Hi, if you have "Custom permalinks" version 7.15 installed you could try 7.14 instead

[[LINK href="http://downloads.wordpress.org/plugin/custom-permalinks.0.7.14.zip"]]http://downloads.wordpress.org/plugin/custom-permalinks.0.7.14.zip[[/LINK]]

I think version 7.15 has problems with the template redirect.

ps: this plugin is only verified to be compatible up to wp version up to 3.3.2


Ant Lively comments:

Hi Dbarnes.. Thanks for this.

I think I want to explore some other options first if this plugin is only verified to be compatible up to 3.3.2. We are currently using 3.5.

I mentioned that the "Post Name" setting in my dashboard produces dead links as well. Is that maybe where the problem is originating? And would that be a larger / more complicated problem that would require a bigger prize?

2013-01-06

Naveen Chand answers:

Sometimes wordpress does not recognize the changes made to permalinks by plugins because they are cached. You may have to flush the cache to store the new permalink structures. Add this function to your functions.php and visit the permalink page once and just click save. You will be better-off if you deactivate the plugin before you add this function. Here is the little function to flush the rewrite:


function flush_myrewrites(){
//Ensure the $wp_rewrite global is loaded
global $wp_rewrite;
//Call flush_rules() as a method of the $wp_rewrite object
$wp_rewrite->flush_rules();
}
add_action('init','flush_myrewrites');


Hope this helps.


Ant Lively comments:

Hi Naveen. Thanks for the suggestion. Unfortunately it didn't work :(

As I mentioned to Dbarnes above, I'm wondering if the fact that the "Post Name" setting in my dashboard also produces dead links indicates a different problem? Maybe the Custom Permalinks can't work because of that issue?

If so, any suggestions? Or would that be a larger / more complicated problem that would require a bigger prize?