Next page link wont work on home page
-
The Next Page link at bottom of:
https://climates.allergynursing.com doesn’t work. However when I temporarily changed in admin panel to:
https://allergynursing.com/climates it worked fine.What do I change to get WP to look for next page in the subdomain set up through cpanel?
Thank you for helping.
Lois
-
Make sure that both of the URLs in Options/General are set to https://climates.allergynursing.com , then go to Options/permalinks and re-generate your permalink structure by hitting the update button.
Thanks, macmanx. I did as you suggested, making sure both url’s are for the subdomain and updating permalinks, doesn’t seem to have changed anything.
Are the permissions for your
.htaccess
file set to 666 (CHMOD 666)? If they are not, do so now and re-generate your permalink structure again by hitting the update button in Options/Permalinks. Also, do you have any.htaccess
rules outside of the# BEGIN WordPress
and# END WordPress
tags? If so, would you please post them here.Yes chmod is set to 666.
The following is listed outside the WP tags:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /climates/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ – [S=35]
RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1 [QSA,L]
RewriteRule ^(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1 [QSA,L]
RewriteRule ^page/?([0-9]{1,})/?$ /climates/index.php?&paged=$1 [QSA,L]
RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?&feed=$1&withcomments=1 [QSA,L]
RewriteRule ^comments/page/?([0-9]{1,})/?$ /climates/index.php?&paged=$1 [QSA,L]
RewriteRule ^search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?s=$1&feed=$2 [QSA,L]
RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?s=$1&feed=$2 [QSA,L]
RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /climates/index.php?s=$1&paged=$2 [QSA,L]
RewriteRule ^search/(.+)/?$ /climates/index.php?s=$1 [QSA,L]
RewriteRule ^climate/categorias/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^climate/categorias/(.+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?category_name=$1&feed=$2 [QSA,L]
RewriteRule ^climate/categorias/(.+)/page/?([0-9]{1,})/?$ /climates/index.php?category_name=$1&paged=$2 [QSA,L]
RewriteRule ^climate/categorias/(.+)/?$ /climates/index.php?category_name=$1 [QSA,L]
RewriteRule ^archives/author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?author_name=$1&feed=$2 [QSA,L]
RewriteRule ^archives/author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?author_name=$1&feed=$2 [QSA,L]
RewriteRule ^archives/author/([^/]+)/page/?([0-9]{1,})/?$ /climates/index.php?author_name=$1&paged=$2 [QSA,L]
RewriteRule ^archives/author/([^/]+)/?$ /climates/index.php?author_name=$1 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /climates/index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /climates/index.php?year=$1&monthnum=$2&day=$3 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&monthnum=$2&feed=$3 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /climates/index.php?year=$1&monthnum=$2&paged=$3 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/([0-9]{1,2})/?$ /climates/index.php?year=$1&monthnum=$2 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&feed=$2 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?year=$1&feed=$2 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/page/?([0-9]{1,})/?$ /climates/index.php?year=$1&paged=$2 [QSA,L]
RewriteRule ^archives/date/([0-9]{4})/?$ /climates/index.php?year=$1 [QSA,L]
RewriteRule ^archives/([0-9]+)/trackback/?$ /climates/index.php?p=$1&tb=1 [QSA,L]
RewriteRule ^archives/([0-9]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?p=$1&feed=$2 [QSA,L]
RewriteRule ^archives/([0-9]+)/(feed|rdf|rss|rss2|atom)/?$ /climates/index.php?p=$1&feed=$2 [QSA,L]
RewriteRule ^archives/([0-9]+)/page/?([0-9]{1,})/?$ /climates/index.php?p=$1&paged=$2 [QSA,L]
RewriteRule ^archives/([0-9]+)(/[0-9]+)?/?$ /climates/index.php?p=$1&page=$2 [QSA,L]
</IfModule>Odd … Those are WP rewrite rules, but all of the WP rewrite rules should be inside the
# BEGIN WordPress
and# END WordPress
tags, not outside. What happens if you delete those rules and then re-generate your permalink structure. Make a backup copy of your existing.htaccess
file first.I think you figured it out, Macmanx! Thanks!
I deleted those outside files and have not yet re-generated permalinks, but the next page and rss seem to work fine.
I’ll plan to update the permalinks just in case something needs re-writing, but thought you may like to see the results of deleting those files before I update them. I have no idea how those files got there.
Excellent, great news! Let us know if anything breaks after you re-generate the permalinks.
I regenerated permalinks and everything seems fine. Double checked the htaccess after regenerating them and no files outside the WP tags.
thanks again, and please let moshu know that we got it fixed also, he was helping me in another thread when we were thinking it might be a subdomain problem. I really appreciate all of you.
Lois
Excellent! I’m glad that it worked out. If you don’t mind, please mark this topic as “resolved” by selecting it from the pull-down menu at the top.
done!
- The topic ‘Next page link wont work on home page’ is closed to new replies.