[wp-hackers] Interesting Permalink Issue

Jeffrey Nolte jnolte at getmoxied.net
Thu Aug 23 16:12:39 UTC 2012


The issue was partially related to wp_nav_menu() exporting the incorrect permalinks.  Overall the permalinks are now working with the help from Otto.

On Aug 23, 2012, at 3:39 AM, Almog Baku wrote:

> Try to check your plugins.. Disable them all.
> 
> And wich 404 do you get? With the wordpress style?
> 
> בתאריך יום רביעי, 22 באוגוסט 2012, Otto כתב:
> 
>> Dunno. Not enough information to say. Check that the content is there,
>> perhaps?
>> 
>> -Otto
>> 
>> 
>> On Wed, Aug 22, 2012 at 2:11 PM, Jeffrey Nolte <jnolte at getmoxied.net<javascript:;>>
>> wrote:
>>> Thank you Otto, That fixed the permalink issue but unfortunately I am
>> still getting 404's on some of the requested content.  Any insight?
>>> 
>>> Thanks again,
>>> 
>>> Jeff
>>> On Aug 22, 2012, at 2:33 PM, Otto wrote:
>>> 
>>>> On Wed, Aug 22, 2012 at 12:05 PM, Jeffrey Nolte <jnolte at getmoxied.net<javascript:;>>
>> wrote:
>>>>> Something I forgot to note is that we are using NGINX for server.  I
>> will look into the equivalent of these settings in NGINX.
>>>> 
>>>> On nginx, I always add this line of code somewhere (usually in a
>>>> plugin) to force the rewrites to not include the index.php file:
>>>> 
>>>> add_filter( 'got_rewrite', '__return_true' );
>>>> 
>>>> Next, because WordPress doesn't create nginx config files natively,
>>>> you'll need to do it yourself. These rules in the .conf file will do
>>>> the job:
>>>> 
>>>> if (!-e $request_filename) {
>>>> rewrite ^/files/(.*)$ /wp-includes/ms-files.php?file=$1 last;
>>>> rewrite ^.*$ /index.php last;
>>>> }
>>>> 
>>>> You can leave off the ms-files one if you're not using a multi-site
>> install.
>>>> 
>>>> -Otto
>>>> _______________________________________________
>>>> wp-hackers mailing list
>>>> wp-hackers at lists.automattic.com <javascript:;>
>>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>> 
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com <javascript:;>
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com <javascript:;>
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list