• I just added permalinks to my pages and have a small problem. On the main page, index, I am unable to get to the next page of posts. When I click on next page it takes refreshes but remains on the main index page.

    I have tried dang near every single fix posted here and in the codex. The only one that got me close was changing SERVER to POST in get_pagenum_link of the template-function-links.php file. This worked for the main page but on individual categories it made the next page go to the main pages next page. I am currently only showing 4 post per page so I tried the fix about switching to 10, no luck. I also tried all the delete .htaccess fixes that have been posted including the one in the codex. None of these worked.

    There is one thing I have notice. On my categories the next page link is something like this.

    https://erikvossman.netfirms.com/nfblog/category/using-netfiles-and-wordpress/page/2/

    however on my main page it is

    https://erikvossman.netfirms.com/nfblog/index.shtml/page/2/

    when I did the template-functions-links.php fix the main page link changed to:
    https://erikvossman.netfirms.com/nfblog/page/2/

    and it worked. But as mentioned all next page links changed to this.

    Does anyone know a way I can rid of index.shtml on my main page next link, this seems to be screwing everything up.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You have an index.shtml here:
    https://erikvossman.netfirms.com/index.shtml

    Somehow for me there are too many URIs:
    https://erikvossman.netfirms.com/nfblog/
    https://erikvossman.netfirms.com/index.shtml
    https://erikvossman.com/

    I am wondering what do you have in the two URI fields in the Options > General?

    Thread Starter evossman

    (@evossman)

    I was actually just playing around with this
    Wordpress URI=/nfblog
    blog URI = https://www.erikvossman.com/nfblog

    Let me explain my folder structure as well. Within my www folder on my server I have a file called index.shtml and I have a folder called nfblog. nfblog is where netfirms installed wordpress. I am not sure why the index.shtml file is outside of it or what that one does. My domain forward for erikvossman.com is just / which takes it to the www folder. Then my guess is index.shtml takes it to wordpress which is designated by the wordpress URI above or nfblog. I am not sure why this is only a problem on my main page next and previous links. All other pages are fine.

    also in my .htaccess file the RewriteBase is set to /nfblog/. I tried/nfblog/index.php but that just throws the index.php before the index.shtml.

    I am going to keep trying everything possible but any help would be over appreciated.

    No, you cannot explain it, because as strange as it is this address
    https://erikvossman.netfirms.com/index.shtml
    also shows your blog (together with the other two I listed above).
    Never trust hosts to install stuff for you ??
    Install it for yourself.

    And you still didn’t answer my question about the Options.

    Thread Starter evossman

    (@evossman)

    the questoin about options is in my last reply

    WordPress address (URI) = /nfblog
    Blog Address (URI) = https://www.erikvossman.com/nfblog

    nfblog is the folder where my wordpress was installed for erikvossman.com

    not sure what other options question you were spreaking of.

    Thread Starter evossman

    (@evossman)

    also I do realize that mydomain/index.shtml also shows my main page. I did follow upgrade.php and updated my permalinks. I also erased htaccess, deleted htaccess and change the rewrite base to /nfblog/index.php/

    none of those worked. I can’t find anywhere within template-functions-links.php why index.shtml is being added after nfblog/ with the next page call.

    Thread Starter evossman

    (@evossman)

    Also, this was my first hosting account ever. Netfirms loads it onto the first you setup automatically. Is there a way to load WP in another folder then somehow transfer my theme and posts to that folder? I think they really screwed things up because if you looked at my page there is no permalinks option, I have to navigate to it via file manager, and the .htaccess file wasn’t created in the right place.

    Anyway, let me know, I have been unable to find this anywhere, the transfer of posts.

    Thanks for all your help so far.

    I installed wordpress myself, and I found that changing the structure to use permalinks caused the identical problems you’re describing. I erased the permalinks and deleted the mods from the htaccess file and everything went back to normal. It seems to me that permalinks aren’t currently compatible with having “categories” or “archives” or “next” pages. Wish I could help!

    permalinks aren’t currently compatible with having “categories” or “archives” or “next” pages

    That’s BS. Some odd server setting might prevent permalinks from working properly (or maybe you don’t have the required settings for it), but generally the permalinks work well.

    Thread Starter evossman

    (@evossman)

    I agree, there has to be some way to these things to work. I have read tons of posts abouproblems with permalinks and one that is really similar to mine.

    I am still looing and still believe it has something to do with the index.hstml. I tried to place the index.shtml file into my folder nfblog folder then redirect everything there and that didn’t work either.

    Still going but any help would be great.
    Question: Do we think permalinks even matters for any of that search engine stuff. Moshu I take it you are the one that left the comment on my blog, (still have to moderate) that it doesn’t.

    Anyway, hope someone can help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Next Page Doesn’t Work on Main Page’ is closed to new replies.