Pretty Permalinks Not Working
-
I am on wordpress 4.3 , IIS 7 Windows Hosting and I am using this plugin on http://directory.trademyad.com , its working fine when I am using the default permalink structure.
When I change the structure to custom (%postname%) then the individual listings page is showing error.It was suggested on wordpress codex to change the web.config file to :-
<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”WordPress Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>I did the same when I was using custom permalinks structure
Please look into this matter.
https://wordpress.org/plugins/ldd-directory-lite/
Earlier the Url ( Custom Permalinks ) was –
http://directory.trademyad.com/business-listings/listofallproperties-com/
Business-listings is my Post Type Slug
After Changing to Default it becomeshttp://directory.trademyad.com/?directory_listings=listofallproperties-com
The topic ‘Pretty Permalinks Not Working’ is closed to new replies.