Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   %author-linked% and All-in-one-SEO (http://forum.bytesforall.com/showthread.php?t=203)

artiflo Feb 6, 2009 02:41 AM

%author-linked% and All-in-one-SEO
 
Hi,

I use All-in-one-SEO and Atahualpa 3 %author-linked% but when I try to click on %author-linked% I have a page not found error.

For exemple : http://www.myblog.net/author/Firstname lastname/

How I can fix that ?

thanks :)

Flynn Feb 6, 2009 04:57 AM

Post or PM a URL please. There's probably a space somewhere in an URL or something like that

Flynn Feb 6, 2009 05:24 AM

There's a bug with full author names I think. Could you please find in functions/postinfo.php, line 50

PHP Code:

$author_linked '<a href="' $author_url '">' $author_name '</a>'

and replace with

PHP Code:

$author_linked '<a href="' get_the_author_url(). '">' $author_name '</a>'

and see if that works (and let me know)?

artiflo Feb 6, 2009 05:31 AM

I change but the new link is http://www.myblog.net/ instead of http://www.myblog.net/author/lastName firstname/

Flynn Feb 6, 2009 05:47 AM

This one should work? postinfo.php line 48, replace

PHP Code:

$author_url get_author_posts_url($post_author_id$author_name); 

with
PHP Code:

$author_url get_author_posts_url($post_author_id); 

and leave / change back line 50 to how it was before:

PHP Code:

$author_linked '<a href="' $author_url '">' $author_name '</a>'

On the resulting page there might be something like "Archive for '' Category"... looking into that now

artiflo Feb 6, 2009 05:50 AM

yes that works.

now when I click in %author-linked% I have http://www.myblog.net/author/nickname.

Can I have First name et lastname instead of nickname ?

Thanks a lot.

Flynn Feb 6, 2009 06:00 AM

Then you'd have to change the author's login name to something that is in line with the nicename but without spaces. Like John.Doe, John-Doe, JohnDoe or John_Doe then. The nicename would be "John Doe", the login name would be "John-Doe" or whatever you want to have appear in the URL. See Site Admin -> Users.

What you cannot have is a link to /.../John Doe/ (with a space). The permalink is pointing to the login name because that is going to be something without spaces or weird characters.

And re: "Archive for '' Category" - that's only happening with the Page2Cat plugin it seems so you're not affected. Fixing that too now

Robinwoods Dec 16, 2009 04:49 AM

Yes, I experienced that problem as many times. The author name in Url the link is not correct? How to I rectify these problem?

juggledad Dec 22, 2009 03:56 AM

Robinwoods, please be more specific about what YOUR issue is- details - examples - url showing issue - what verswions of things are you using.

pinah Jan 24, 2010 07:55 PM

any idea why does my author page address look like this?

http://duniaastronomi.com/author/hanieftrihantoro-2/

there is only one user use hanieftrihantoro as usernam in my site. i've changed the "nickname" and the "display name publicly as" name, the display name is changed but it still go to the same address.

i use atahualpa ver 3.2 and wp 2.9.1

juggledad Jan 25, 2010 05:19 AM

What is your permalink (dashboard->settings->permalinks) set to?

pinah Feb 1, 2010 07:32 PM

i am sorry for a late reply because i have disable it after the first try.

my permalink is
http://duniaastronomi.com/2010/02/sample-post/

-now i have another problem since upgrading to 2.9.1: my posts doesn't show comments and comment form, doh-


All times are GMT -6. The time now is 09:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.