Change home page link to a category? (7 posts)

  1. pandaj
    Posted 6 years ago #

    Hi there.

    Basically, I have a WordPress site, let's call it mysite.com.

    I have Wp-Pagenavi at the bottom to go to older entries, and when the page numbers are clicked the URL changed to 'mysite.com/page/2' (3,4,5 etc).

    However, this does nothing but refresh the page (keeping the new URL in the address bar).

    I think this is because, I need the root of my site to ACTUALLY be 'mysite.com/category/name/', but I want it to appear in the address bar as 'mysite.com' and i want the Page Navigation buttons to appear to just link to 'mysite.com/page/*'

    So, is there a way that I can add/hide the category name bit?: mysite.com(/category/name/)

    What would be the best way to do this? If it could actually all be done with changing the name to a category, and to get things to work so that 'mysite.com/page*' would insert/hide '/category/name' in the middle then that would be awesome.

  2. pandaj
    Posted 6 years ago #

    Not sure what to do really...

  3. Shane G.
    Posted 6 years ago #


    Set your desired permalink and add this code in htaccess;

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress


    Shane G.

  4. pandaj
    Posted 6 years ago #

    So how would I fit the '/category/video' part into that sorry?

    Would it be easier/possible to use the 'Page Links To' plugin?

    (someone had a similar problem here i think: http://wordpress.org/support/topic/278989?replies=17)

    thanks so much

  5. pandaj
    Posted 6 years ago #

    I can't really get anything to work

  6. pandaj
    Posted 6 years ago #


  7. pandaj
    Posted 6 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.