Results 1 to 5 of 5

Thread: Pagination error on home page (only)

  1. #1
    Thread Starter
    Senior Member samnabz's Avatar
    Join Date
    May 2013
    Location
    Australia
    Posts
    205
    Thanks
    4
    Thanked 71 Times in 41 Posts

    Pagination error on home page (only)

    I posted this in an old thread (here), but since it has been marked as 'SOLVED' I assume no one really looks at them anymore. I am having an issue with my home page pagination links.

    I have added the rewrite links to the .htaccess file as meloniq suggested in the other thread, but that does not make any difference. Here is my .htaccess file content below:

    Code:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteRule ^page/(.*) ads/page/$1 [R=301,L]
    RewriteRule ^page/(.*)/ ads/page/$1/ [R=301,L]
    </IfModule>
    # END WordPress
    
    #Redirect www to non-www
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    Website URL: http://tinyurl.com/kz2ktfx - you will notice that if you click on any of the pagination links, the URL does not change. And if you hover over the links, note that the URL is /page/2 when it actually needs to be either /ads/page/2 OR /home/page/2 (either will work).

    Note: In case this information is required, my home page file is called "Home" (slug = home) and it is set as the static home page in the settings. However, in saying that, I have also tried the following which also didn't work:

    Code:
    RewriteRule ^page/(.*) home/page/$1 [R=301,L]
    RewriteRule ^page/(.*)/ home/page/$1/ [R=301,L]
    I'm using WP v3.5.1 / CP v3.3 - any help is greatly appreciated.

    Thank you.

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  3. #3
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  4. #4
    Thread Starter
    Senior Member samnabz's Avatar
    Join Date
    May 2013
    Location
    Australia
    Posts
    205
    Thanks
    4
    Thanked 71 Times in 41 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Jomark Pagination doesn't work properly in Home Page
    By dumindu89 in forum Clipper General Discussion
    Replies: 23
    Last Post: July 9th, 2014, 01:13 PM
  2. Pagination Not Working on home page
    By lane in forum Report Vantage Bugs (Legacy)
    Replies: 4
    Last Post: September 15th, 2012, 12:43 AM
  3. [SOLVED] Pagination Problem – Link Back to Page 1 (Home Page) from Another Page Not Working
    By hassledhoff in forum Report ClassiPress Bugs
    Replies: 19
    Last Post: August 25th, 2012, 10:04 PM
  4. Home page pagination is not working properly after wp 3.4 update
    By knagarajan in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: July 2nd, 2012, 01:31 PM
  5. Replies: 1
    Last Post: February 29th, 2012, 08:27 AM