Viewing 15 replies - 1 through 15 (of 15 total)
  • There is a description in the codex at https://codex.www.ads-software.com/Using_Permalinks

    Take a look at ‘Paged Navigation Doesn’t Work’ at that page.

    Thread Starter thornomad

    (@thornomad)

    Hi –

    I did the suggestions in the codex (emptying the .htaccess file then re-establishing permalinks and deleting it entirely and then recreating it in wordpress and I even deleted it and then edited it manually adding the code that wordpress has generated but it still isn’t working. I will include what I am using here in my .htaccess file — I don’t know if it will help or not.

    Does the .htaccess file have to remain editable always to the public in order for this to work ? Thanks.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [S=49]
    RewriteRule ^(about)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
    RewriteRule ^(about)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(about)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(about)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
    RewriteRule ^(about)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^(contribute)/trackback/?$ /index.php?pagename=$1&tb=1 [QSA,L]
    RewriteRule ^(contribute)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(contribute)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
    RewriteRule ^(contribute)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
    RewriteRule ^(contribute)(/[0-9]+)?/?$ /index.php?pagename=$1&page=$2 [QSA,L]
    RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1 [QSA,L]
    RewriteRule ^(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1 [QSA,L]
    RewriteRule ^page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]
    RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
    RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
    RewriteRule ^comments/page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]
    RewriteRule ^search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA,L]
    RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA,L]
    RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /index.php?s=$1&paged=$2 [QSA,L]
    RewriteRule ^search/(.+)/?$ /index.php?s=$1 [QSA,L]
    RewriteRule ^category/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^category/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^category/(.+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&paged=$2 [QSA,L]
    RewriteRule ^category/(.+)/?$ /index.php?category_name=$1 [QSA,L]
    RewriteRule ^author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA,L]
    RewriteRule ^author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA,L]
    RewriteRule ^author/([^/]+)/page/?([0-9]{1,})/?$ /index.php?author_name=$1&paged=$2 [QSA,L]
    RewriteRule ^author/([^/]+)/?$ /index.php?author_name=$1 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2&day=$3 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&paged=$3 [QSA,L]
    RewriteRule ^([0-9]{4})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2 [QSA,L]
    RewriteRule ^([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA,L]
    RewriteRule ^([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA,L]
    RewriteRule ^([0-9]{4})/page/?([0-9]{1,})/?$ /index.php?year=$1&paged=$2 [QSA,L]
    RewriteRule ^([0-9]{4})/?$ /index.php?year=$1 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/trackback/?$ /index.php?category_name=$1&name=$2&tb=1 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&name=$2&feed=$3 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&name=$2&feed=$3 [QSA,L]
    RewriteRule ^(.+)/([^/]+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&name=$2&paged=$3 [QSA,L]
    RewriteRule ^(.+)/([^/]+)(/[0-9]+)?/?$ /index.php?category_name=$1&name=$2&page=$3 [QSA,L]
    RewriteRule ^(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA,L]
    RewriteRule ^(.+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&paged=$2 [QSA,L]
    RewriteRule ^(.+)/?$ /index.php?category_name=$1 [QSA,L]
    </IfModule>

    Thread Starter thornomad

    (@thornomad)

    I did some more snooping to solve the permalink <!--nextpage--> problem and found this post; it didn’t apply directly but I thought I would try it.

    I replaced all the (.+) with ([_0-9a-z-]+) on the bottom part of the .htaccess file. And, thus far, it would appear as if everything is working. I have no idea what it does, but I must have covered whatever wasn’t working.

    I hope it doesn’t screw anything else up; but will find out soon enough.

    D

    I had a similar problem and went through every step located in this guide but nothing worked until I started disabling all of my plugins and found that the nice archive plugin was causing the inability to change pages. Try disabling it (if you even have it or it’s active) and see if it fixes your problem.

    I have been having some major problems getting my permalinks to work too. I did get the permalinks to work for regular posts, but it doesn’t work for “Pages” that I created. It looks like the links are working fine, but the pages arn’t there. Any advise?

    https://www.article-network.com/weblog/

    jinkang

    (@jinkang)

    FYI, I just solved my problem. Similar to above, ‘Permalink Redirect plugin’ was causing an error in my case.

    Thanks.

    michel_tiger

    (@michel_tiger)

    After lots of time to find a smart solution on Mac OSX 10.4 (tiger) with only modifying the /etc/httpd/users/USERNAME.conf (here michel) for permalinks in user’s sites – here the solution (I don’t like to modify main httpd.conf) – (see notes at the end)

    <Directory "/Users/michel/Sites/">
    Options Indexes MultiViews +FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /~michel/wp2
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [L]
    </IfModule>
    </Directory>

    Notes:
    RewriteEngine don’t work in the .htaccess = must be written in the USERNAME.conf
    RewriteBase must like /~USERNAME/FOLDEROFWP
    RewriteRule don’t contain here a folder (as suggested in wp-admin).

    the url is here to see wp and permalinks – 127.0.0.1/~michel/wp2/

    enjoy!

    I am having the same problem as ebernst at my site: https://www.fundyfilm.ca/six/news/

    I’m certain it isn’t a plugin problem and I have cleared my .htaccess file a couple times to no effect. Any ideas?

    I’m not sure exactly how to go about that…

    <CODE>I replaced all the (.+) with ([_0-9a-z-]+) on the bottom part of the .htaccess file. And, thus far, it would appear as if everything is working. I have no idea what it does, but I must have covered whatever wasn’t working. </CODE>

    This works for me as long as there are no parent categories, but anything structured like “domain.com/general/bluewidgets/my_title” breaks, unfortunately. Is there a plugin to create working multiple pages for people using a category/title permalink structure?

    bump? Still hoping hopefully that someone knows how to make “nextpage” work with the /category/postname/ permalink structure.

    I am bumping this one again because I’d give my right arm to make nextpage work with “/category/postname/”. Maybe someone has figured it out by now. Help!

    Still looking for a fix on this one…

    I think the most common hosting have this same problems, and again, I think the solution is what michel_tiger was mentioned.

    RewriteEngine don’t work in the .htaccess

    So we must have own .conf for this to getting it work. I wrote the mod_rewrite-ing rule in my httpd.conf, and it works.

    I dont know if this will help you but I recently struggled with getting my old custom permalinks working. After quite a bit of trial and error, I discovered a way that works for me.

    Im not sure of the greater implications, so there are no guarantees, but like I said it worked for me:

    https://www.village-idiot.org/archives/2007/01/07/wordpress-custom-permalinks-and-trackback-404-issues/

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘permalink nextpage doesn’t work’ is closed to new replies.