The 2nd page of posts on my site is giving me a 404.
http://www.manifestvegan.com/page/2/
The rest of the page seems to be working fine.
Don't know what would cause this. Can anyone point me in the right direction?
Thanks
The 2nd page of posts on my site is giving me a 404.
http://www.manifestvegan.com/page/2/
The rest of the page seems to be working fine.
Don't know what would cause this. Can anyone point me in the right direction?
Thanks
so if i change my permalink structure to default that resolves the issue... but I cannot do this as all the links to my site will no longer work. i need to keep my permalinks as /%year%/%monthnum%/%postname%/
anyone know what would cause this?
this is turning into a diary.
is anyone out there?
would appreciate some advice...
Diary...hehe.
This could be a mod_rewrite issue which is not your fault but your server's fault.
This is where it gets weird.
Your post URLs work fine which leads me to beleive that mod_rewrite is on...
Try asking your server:
Do you have 'mod_rewrite' enabled? Thank you.
Same problem with me BUT ONE Thing is very important ...
its only with MAIN PAGE.
if we click on our categories page and then click on « Previous Entries
its work A ONE AND GOOD.
@plz.help.me
thanks for the response. i have been looking around the forum and notice some topics speak of .htaccess with regard to this type of error... i look in my .htaccess and see:
<IfModule mod_rewrite.c>
RewriteEngine On
not sure about my server.. may have to give em a call. what answer am I looking for though? should my server have mod_rewrite enabled?
THANKS AGAIN!
@taqskt - not sure i follow...?
Here are the other issues i have been dealing with recently... maybe this will provide some context.
http://wordpress.org/support/topic/350327?replies=5
http://wordpress.org/support/topic/350313?replies=3
thanks for your help.
Hello again,
Just because your .htaccess says that, it does not mean 'mod_rewrite' is on, it basically is saying:
Hey! If mod_rewrite is allowed on this server, turn it on so this redirect code will work. Thanks.
Just in a more complex way :D. I am going to read your links.
I saw the links however it says you solved it...
and yes, it should definitely have mod_rewrite enabled.
I recently got mine enabled.
thanks plz.help.me ill look into the mod_rewrite with my webhost to be sure, but this website has been running fine. it doesnt seem like they would have recently turned mod_rewrite off recently to cause this issue....
yeah, i figured out the other two issues. i just gave the links thinking maybe something i did then caused this issue... background i guess.
anyone else have any ideas?
i am already try to enable the rewriterule with .htaccess but its not working. help us
I AM ALSO TRY THIS CODE
RewriteCond %{HTTP_HOST} !^domain.com [NC]
RewriteCond %{HTTP_HOST} ^(www.)?([^.]+).domain.com [NC]
RewriteRule ^$ /fake_subdomain.php?page=tag&tag=%2 [L]
ITS NOT WORKING
ONE OF CODE WHICH I FOUND THROUGH SEARCH CHECK IF IT WORK WITH YOUR PROJECT.
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.weathat_com/$1 [R=301,L]
RewriteEngine On
RewriteBase /Several things to try:
Update your permalinks via Administration > Settings > Permalinks.
If that doesn't work, deactivate all plugins and change to the WordPress Default theme.
@taqskt
http://codex.wordpress.org/Using_Permalinks This is helping me understand this a bit better
@MichaelH
Update your permalinks via Administration > Settings > Permalinks.
Is there a specific action that 'updates' permalinks? I have already changed to the default and the problem goes away -- but this is not an option because I dont want to break links that exist on the web.
If that doesn't work, deactivate all plugins and change to the WordPress Default theme.
...and then bring them all back on and everything will be fine? I cant switch to the default.
@taqskt
Same problem with me BUT ONE Thing is very important ...
its only with MAIN PAGE.
if we click on our categories page and then click on « Previous Entries
its work A ONE AND GOOD.
Yeah - I notice that mine is doing that too - only i looked at the monthly archives - it is only the main page. I misunderstood what you wrote the first time I read it.
If custom permalinks work but you're getting 404's on some pages, then that's usually an indication that the theme's template for displaying that given page (be it an archive page, tag page, post page, or whatever) is not correctly coded for "paging" the results..
That's a template issue, not a permalink one..
@t31os_
This is a recent malfunction that didnt start before I caused then fixed these(reposted from above): http://wordpress.org/support/topic/350327?replies=5 http://wordpress.org/support/topic/350313?replies=3
The only page I see this happen on is the main page when you click the older posts link at the bottom http://www.manifestvegan.com/
Is there anything in the page.php that would cause the page http://www.manifestvegan.com/page/2/ not to work? If not, do you know where this is generally referenced in themes?
Thanks!
page.php does not contain code that handles posts ..
It handles pages.. posts are handled by index.php , tags.php , archive.php , category.php , and so on.. ..depending on what you're requesting.
Generally index.php or home.php are the 2 most common files that handle content on the main/front/home page..
@t31os_
page.php does not contain code that handles posts ..
It handles pages..
I sort of figured that - The reason i ask about page.php is (1) because the page that is not working is /page/2/ and (2) i messed with this file trying to do something else.
Does page.php deal with the /page/2/ page?
Thanks
No /page/2 refers to /?paged=2 (it's the pretty version) ...
Can you open your theme's index.php for me, then have a look for a line with the following...
query_posts(
they'll be more code accompanying, but if you can copy that particular line (if you find it) here for me, i'll help you fix the problem.
@t31os_
there is no query_posts( in the index.php but this part is the first to mention the older posts link...
<?php get_header() ?>
<div id="container">
<div id="content">
<div id="nav-above" class="navigation">
<?php if(function_exists('wp_pagenavi')) { ?>
<?php wp_pagenavi(); ?>
<?php } else { ?>
<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'thematic')) ?></div>
<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">»</span>', 'thematic')) ?></div>
could there be a problem in wp_pagenavi()?
Thanks!
Possibly, are you using it though, it's not included with WordPress, but some theme designers do account for it in their code (like above), since it's a simple addition.
Under Admin > Settings > Reading, have you configured either "Front page" or "Posts page" (or both)..
Also can you tell me which files exist in your theme folder (just .php files is fine - a screenshot is sufficient if you find this easiest then typing a list(if there's alot)) ...
Once i know the above i'll have a better idea which file handles your main page. Something is definately setting the query and failing to include the $paged parameter.. your page does nothing when being passed the paged paramter, as long as that happens you won't get "previous" or "next" links working..
Good news though, your permalinks are definately working... ;)
@t31os_
ok. wordpress forum randomly logged me out then wouldnt let me in for a day, so i am not sure you will see this. if you are out there let me know and i will provide what you asked for.
thanks!
Or, If anyone else may know where this change can be made please let me know...
I'm always here... :) ... somewhere... :)
excellent. I appreciate the help. ive been looking for it... but no luck yet. (I am using the thematic theme.)
Under Admin > Settings > Reading, have you configured either "Front page" or "Posts page" (or both)..
nothing configured
Also can you tell me which files exist in your theme folder (just .php files is fine - a screenshot is sufficient if you find this easiest then typing a list(if there's alot)) ...
all the phps:
404
archive
archives
atachment
author
category
comments
footer
functions
header
index
links
page
search
sidebar-index-bottom
sidebar-index-insert
sidebar-index-top
sidebar-page-bottom
sidebar-page-top
sidebar-single-bottom
sidebar-single-insert
sidebar-single-top
sidebar-subsidiary
sidebar
single
thanks.
nothing configured
i mean front page shows latest posts
Have you made changes to the index file? Or any files really...
Are you using the latest version of the theme, i have it installed myself (thematic), and i don't have these problems..
Have you made changes to the index file? Or any files really...
the files i have messed up/with are these:
http://wordpress.org/support/topic/350327?replies=5
http://wordpress.org/support/topic/350313?replies=3
i noticed the current 2nd page 404 issue when i was working on the page.php issue above. they all seemed to arise at the same time.
the thematic version is VERSION: 0.9
not sure if that is current
thanks
Sorry for delay, i have to sleep at some time.. :)
Are you not using a child theme with thematic?
The first post, doesn't seem to relate to theme files (edit-pages is a core file).
I'm not sure how page.php could have any connection to a paging problem with "posts" ..
What are you editting the files with, the theme editor or your own program?..
It's important your editor handles the files correctly, else you end up encoding the file in the wrong format and/or odd characters can be introduced amongst other things.
Notepad++ is a totally free app and works under the major operating systems.
I'm not sure what to suggest at this point. What you like me to login to the site and take a look at the files? .. should only take a few minutes .. and would speed up the process ..
Alternative would be to zip the theme and provide a link so i can download and look directly at any changes you've made.
This topic has been closed to new replies.