WordPress.org

Forums

Front page displays: category or other external page (4 posts)

  1. dsmunro
    Member
    Posted 7 years ago #

    Is there a way of selecting a category or an external page as the front page?

    At the moment I have a page on my site created by fgallery so it is not a page I can select as my front page in wp-admin reading options. So is there a way of manually entering this address to act as the front page?

    thanks in advance

    david

  2. hmccorkle
    Member
    Posted 7 years ago #

    david, perhaps you can set up an htaccess redirect to send the visitor who tries to access yoursite.com/ to yoursite.com/welcome.htm

    for example, i want to visit http://www.blacksmithsblog.com. the owner, having installed WP in the root of their public html folder, instead wants me to go to another page FIRST, then to the blog.

    that's what you'd use the htaccess for.

    it's fairly simple in most cases, depending on if you're using cpanel or if you're hard coding your .htaccess file

  3. dsmunro
    Member
    Posted 7 years ago #

    It's usefull to know you can do that with .htaccess, thanks I think that's half of it solved.

    The thing is, I don't want people to goto the front page of the blog (as it is) afterwards.

    At the moment I have 4 links: page-1, page-2, category-1 and category-2. I dont want to have a page available to the public with posts from both categories on it.

    Any ideas?

  4. dsmunro
    Member
    Posted 7 years ago #

    I tried redirecting via .htaccess using this:
    Redirect 301 /index.php http://www.artmunro.com/category/updates/

    and also this:
    Redirect 301 / http://www.artmunro.com/category/updates/

    But it doesn't want to work, I get this error: 'redirection limit for this url exceeded..'

    I'm guessing it is creating a loop or something, you probably can't redirect a website to a directory within itself.

    I guess I could get .htaccess to point to index.html and redirect via that. Not sure if that is ideal though as people would still be able to access index.php

Topic Closed

This topic has been closed to new replies.

About this Topic