Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » Running WordPress » Installing & running WordPress »

Mystery URL and WordPress structure


  #1  
Old Jun 8, 2011, 11:18 PM
thetravelchronicle
 
97 posts · May 2009
One of my pages shows up as itself, but the same page also shows up with "/comment-page-1" appended to the end of the url.

Nothing with that title shows up in the Admin interface, as a comment or anything else, nor have I been able to find a post or page with that name by searching or scrolling through the database.

One, I would like to eliminate the duplication, but two, I'd like to use this to better understand the structure and interrelation of WordPress and ATO.

Can anyone suggest where this directory/file resides so that I can get rid of it?

http://www.kenyatravelchronicle.com/travel-photography/

http://www.kenyatravelchronicle.com/...omment-page-1/
  #2  
Old Jun 9, 2011, 02:54 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
It's not a directory or file. Remember all pages shown are dynamically built on request.

Set the permalinks back to the default and look again
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 9, 2011, 08:59 AM
thetravelchronicle
 
97 posts · May 2009
OK, substituting "generated page" for the terms "file" or "directory", what the heck about permalinks is requesting or creating a generated page with a URL address ending in /comment-page-1/ ?

And for what purpose if it duplicates a page already generated by a request from a usual source, i.e. a menu link? Further regarding purpose, there is no access to the page that I can find anywhere on my site, I only became aware of it while looking at "HTML suggestions" using Webmaster Tools.

I'm trying to get rid of duplicate title tags and meta descriptions and assume I can achieve that with a no-follow for /comment-page-1/, but have no idea what the implications are, or whether the simpler route would be to turn off the generation of the page itself -- somehow.
  #4  
Old Jun 9, 2011, 06:47 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
1) how do you get to the two pages via the site
2) what happens if you set the permalinks to the default - what are the url's then?

Permalinks cause WORDPRESS to add some rules to APACHE .htaccess file. The theme has nothing to do with it. You might be better served asking this question at wordpress.org.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jun 10, 2011, 02:30 AM
thetravelchronicle
 
97 posts · May 2009
A search on /comment-page-1/ at WordPress returns one relevant hit.

According to WordPress, the function comment_link() will "Create an anchored permalink to a single comment" and that URL will contain /comment-page-1/ followed by a comment #, as in /comment-page-1/#comment-20

My best guess at the moment is that by choosing the ATO option "Allow comments on "Page" pages, too?" the Webmaster Tools bot picks up both the page and the comment, finds the meta description and title tag of the page for a second time, and then we have duplicates of both.

The three things wrong with this idea is that I still don't know where or why the comment_link() function gets invoked to generate an anchored permalink, why the resulting duplicate URL doesn't show a comment #, or why only some of the pages with comments on them are showing up in the Webmaster Tools scan.

By the way, in response to your questions:

1) via my site I access the "original" pages by way of menu links. There is no access to the /comment-page-1/ version of the same page except through the comments list in the ATO admin pages - which include the comment # in the URL.

2) setting permalinks to default just substitutes a page # for the pretty permalink, it doesn't have any effect on the rest

There is no mention of comment_link() in the .htaccess file.

There is an incidence of comment_link() in the Atom Feed file feed_atom_comments.php, but deactivating the plugin Atom comes in had no effect.
  #6  
Old Jun 10, 2011, 05:02 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
There is no mention of comment_link() in the .htaccess file.
there wouldn't be, the .htaccess file is Apache configuration while 'comment_link()' is a function written t in the PHP language. two separate things.

There is no 'comment_link()' in the Atahualpa theme. Now Atahualpa does call other functions in the wordpress code and one of these could be calling comment_link().
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Complex table structure vCopia Center area post/pages 3 Apr 2, 2011 11:49 AM
[SOLVED] Mystery text box Ralph Patterson Sidebars & Widgets 3 Mar 30, 2011 06:24 PM
Different structure/layout for posts firewalker1980 Center area post/pages 0 Mar 5, 2010 08:42 AM
Mystery File in Cpanel chronicchick Atahualpa 3 Wordpress theme 1 May 10, 2009 08:24 AM


All times are GMT -6. The time now is 02:28 PM.


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