Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m looking for a solution for the same thing. Thanks guys for your help in advance! ??

    Here’s how I would do this if I ever wanted to:

    1. Install the Page Links To plugin
    2. Create a new blank page (call it “Home” or something) and add https://mypage.com/pagename to the “Page Links To” field at the bottom of the edit screen.
    3. Go to my Settings and choose the new blank page I created (Home) as my static home page

    Then, although “Home” is actually set as my static home page, Home redirects to https://mypage.com/pagename

    smart one, Curtiss, just one question: do you know if WordPress prevents you from doing the same thing on htaccess side? i mean, if i do not setup a page for start page but apply a htaccess redirection, it does not seem to do anything (like if it would completely disregard that part of the code).

    note: i used the code in this article, but tried others too to include within the <IfModule> tags on the htaccess file in the root folder of my wordpress site.

    That article explains how to do the opposite of what you’re asking to do.

    It sets up your server to use https://example.com/ as the URL even when the files/pages you’re displaying are actually found inside of https://example.com/subfolder.

    Also, modifying the .htaccess file is generally the last resort when dealing with WordPress, as WP can be extremely reliant on that file and any mistakes or configuration issues in .htaccess can send WP into somewhat of a tailspin.

    cheers, mate ??

    Thread Starter dziungles

    (@dziungles)

    That was extremely helpful. Thanks a lot ??

    Thread Starter dziungles

    (@dziungles)

    Hello, I did this thing and now I have a problem.

    I made blank “home” page as a static page and redirected it with plugin to “desired_keywords” page. So now when I open https://www.mysite.com I am automatically redirected to https://www.mysite.com/desired_keywords and I see the full URL in address bar. This is OK, this is what I want.

    But the problem is that after this redirect, google dropped the full URL and now it only shows https://www.mysite.com in the search results instead of the full URL https://www.mysite.com/desired_keywords. And this is a problem, because I use keywords in full URL and now I lost this possibility.

    Any ideas how to fix this problem?

    The Page Links To plugin did not do the job for me, but since I already had the “Redirection” plugin: https://urbangiraffe.com/plugins/redirection/

    I tried a couple things, and it looks like this worked: I deleted the blank Home page, then I went to Redirection and I redirected: https://mydomain.com to: http:mydomain.com/Static_page_I_want_to_see_the_Full_URL_In/

    It looks like its working so far. If you want to take a look, it’s at:

    laser-book.com

    OK, I have an update. A couple of important things:

    1. Settings > static page radio button chosen > but no page selected.
    2. Redirection plugin took what I put in, and changed it to:

    “Source URL” : /
    “Target URL” : https://mydomain.com/page_I_want_to_see_the_Full_URL_In

    Everything appears to be working fine, and I see the complete URL in the address bar.

    Regarding Google, it’s a mystery why they prefer the domain only rather than the full URL sometimes, but they just do. ::-)

    The switch doesn’t seem to effect Google rankings. One just replaces the other in the same spot, from what I’ve seen.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to keep wordpress static homepage full url ?’ is closed to new replies.