Need Help from a Wordpress Pro

7 replies
I have a blog where i set a static front page.

What i want is to set the wordpress main URL/frontpage to automatically displaying as

www .mysite.com/some-keyword-here.php

I cannot set a custom permalink for a static frontpage (it seems that this is always "home") ....and i dont know whether a 301 redirect in .htaccess would be the right way to do it.

So.what i want:

User comes to site www .mysite.com and URL switches immediately to mysite.com/some-keyword.here.php instead

Basically the same thing like for my other pages where i can specify custom permalinks..but for the front page. The URL should never be "empty", www .mysite.com should always be rewritten to www .mysite.com/some-keyword-here.php
#pro #wordpress
  • Profile picture of the author Colin Theriot
    I guess you couldn't change that from settings>general as to where you want your blog to appear, huh?

    I haven't run into that one - customizing the actual homepage URL that way. I'm not sure wordpress could handle that special case without some intervention. Maybe if you didn't set your "home" page up via the wordpress settings, and did an is_home() call on the main index template to php redirect to your specified page?
    Signature

    Fair warning: It's possible I'm arguing with you because I have nothing better to do.
    Join my free copywriting group on Facebook: http://CultOfCopy.com

    {{ DiscussionBoard.errors[1710693].message }}
  • Profile picture of the author JayXtreme
    The simplest way it to use a plugin for WP called:

    Page Links To (<-- Googlez it!)

    I could give you the code for .htaccess and .php re-direct.. but the plugin is easier for ya

    Peace

    Jay
    Signature

    Bare Murkage.........

    {{ DiscussionBoard.errors[1710694].message }}
    • Profile picture of the author Colin Theriot
      Originally Posted by JayXtreme View Post

      The simplest way it to use a plugin for WP called:

      Page Links To (<-- Googlez it!)

      I could give you the code for .htaccess and .php re-direct.. but the plugin is easier for ya

      Peace

      Jay
      I thought of that plugin, but you'd have to create a page to set as the homepage, then set it to redirect to what you want as your true homepage - seems messy. I'm leaning towards thinking just doing it at the htaccess level would be best if you've got to have the .php appear on the URL.

      Any particular reason you're trying to keep the filename in the root URL instead of just doing it typical "every site in the world" style?
      Signature

      Fair warning: It's possible I'm arguing with you because I have nothing better to do.
      Join my free copywriting group on Facebook: http://CultOfCopy.com

      {{ DiscussionBoard.errors[1710789].message }}
  • Profile picture of the author mawhitney
    I'm currently working on a WordPress blog as well. My site is set up to look like:
    http : // domainname .com / blogname /

    Here's how I set it up:
    -Open cPanel
    -Find and open Fantastico
    -In Fantastico, click on WordPress
    -Then click new installation
    -It will read "install on domain" - choose one of your domains
    -Under that reads "install in directory" - this is where you type the blog name
    -Then create an admin name and password and choose your email and site name
    -Finally, click install WordPress

    I hope that helps and works for you. Good Luck.
    {{ DiscussionBoard.errors[1710735].message }}
  • Profile picture of the author Success
    I am trying to do something similar but I want my WP installed in /blog/ folder.

    http://www.warriorforum.com/main-int...-homepage.html

    Any pro can help?
    Signature

    .

    {{ DiscussionBoard.errors[1866581].message }}
  • Profile picture of the author Success
    Thanks, but it's different from what I am trying to do.

    The method you suggested is correct and it's the common method of setting a static page for homepage.

    But this is what I am trying to do.

    - For some setups, I want to install WP on domain.com/blog/

    - on domain.com/index.php I am calling the WP index page.

    - I want a static page on domain.com/index.php with the same WP theme.

    - But I want the latest posts page on domain.com/blog/index.php to remain the same.

    If I use the method you mentioned, both domain.com/index.php and domain.com/blog/index.php will be the same.

    I have searched around and is surprised not many people are asking about this, though many do install WP in blog folder.

    There is a method that can do what I want on the surface. That is to install WP on root and change the Permalink to include the /blog/ part.

    But for my case, I want WP to be installed in /blog/ folder.

    I can easily copy the html of my WP theme, edit it and cut and paste it as domain.com/index.php but I am trying to find out if there is a better way of doing it within WP interface.
    Signature

    .

    {{ DiscussionBoard.errors[1867150].message }}

Trending Topics